Test disk speed
mouse 362 · person cloud · link
Last update
2018-02-22
2018
02-22
« — »
1
2
3
4
5
6
7
8
# read speed
hdparm -t -T /dev/sda

# write speed: file on filesystem
dd if=/dev/zero of=/tmp/output conv=fdatasync bs=1M count=100; rm -f /tmp/output

# write speed on disk/partition (destructive!)
dd if=/dev/zero of=/dev/sdXY conv=fdatasync bs=1M count=100

Source: AskUbuntu