Skip to content

Instantly share code, notes, and snippets.

@SamyCoenen
Last active February 2, 2017 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamyCoenen/11067126071248c7e41756e6a9fb2931 to your computer and use it in GitHub Desktop.
Save SamyCoenen/11067126071248c7e41756e6a9fb2931 to your computer and use it in GitHub Desktop.
Linux disk read write benchmark
# show disks
lsblk
# Read Test
sudo hdparm -Tt /dev/sdb
# Write Test
dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k; rm -f /tmp/output
# Gui Benchmark
gnome-disks
# select disk and do benchmark
# Monitor IO usage
iotop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment