segal96

Disk speed and utilization

Jul 12th, 2020 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. // quest test of disk write speed
  2. dd if=/dev/zero of=diskbench bs=1M count=1024 conv=fdatasync
  3.  
  4. // see how busy your disk is
  5. atop
  6. iotop -oPa
  7. iostat
  8.  
  9. // make atop capture utilization continuously
  10. systemctl enable --now atop-rotate.timer
  11. systemctl status atop-rotate.timer
  12. // configuration is at /etc/sysconfig/atop
  13.  
  14. // test sequential read speed
  15. ioping -RL <device>
  16.  
  17. // test disk seek rate
  18. ioping -R <device>
  19.  
  20. // disk latency (tests device hosting current directory)
  21. ioping .
  22.  
  23. // disk read and write test (tests device hosting current directory)
  24. fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75
Add Comment
Please, Sign In to add comment