Guest User

Untitled

a guest
Apr 19th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. $ cat /sys/block/*/queue/scheduler
  2. noop anticipatory deadline [cfq]
  3. noop anticipatory deadline [cfq]
  4. none
  5. none
  6. none
  7. none
  8. none
  9. none
  10. none
  11. none
  12. none
  13. none
  14. none
  15. none
  16. none
  17. none
  18. none
  19. none
  20. none
  21. none
  22. none
  23. none
  24. none
  25. none
  26. none
  27. none
  28. none
  29. none
  30. none
  31. none
  32. none
  33. noop anticipatory deadline [cfq]
  34. noop anticipatory deadline [cfq]
  35.  
  36. # Now two "dd"s parallel
  37. $ ionice -c3 dd if=/dev/zero of=test1 bs=10M count=100 oflag=dsync
  38. 100+0 records in
  39. 100+0 records out
  40. 1048576000 bytes (1,0 GB) copied, 29,9719 s, 35,0 MB/s
  41.  
  42. $ ionice -c2 -n1 dd if=/dev/zero of=test2 bs=10M count=100 oflag=dsync
  43. 100+0 records in
  44. 100+0 records out
  45. 1048576000 bytes (1,0 GB) copied, 37,251 s, 28,1 MB/s
  46.  
  47. # Or also
  48. $ ionice -c3 dd if=/dev/zero of=test1 bs=14M count=1000
  49. 1000+0 records in
  50. 1000+0 records out
  51. 14680064000 bytes (15 GB) copied, 255,732 s, 57,4 MB/s
  52.  
  53. $ ionice -c2 -n1 dd if=/dev/zero of=test2 bs=14M count=1000
  54. 1000+0 records in
  55. 1000+0 records out
  56. 14680064000 bytes (15 GB) copied, 254,077 s, 57,8 MB/s
Add Comment
Please, Sign In to add comment