Linux Consultant – Disk Speed

Using hdparm it’s pretty easy to find out your disk’s readLinux Consultant – Disk Speed speed. hdparm is actually an entire IDE/SATA management utility.

Firstly, ensure that you have the tool – apt-get install hdparm

Once done, quite simply use hdparm with -t or -T options to time buffered reads and cache reads respectively. Be VERY careful about other options that hdparm offers, some are very dangerous and can completely corrupt your data.

apnic03:~# hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads:  200 MB in  3.00 seconds =  66.57 MB/sec
apnic03:~# hdparm -T /dev/sda

/dev/sda:
Timing cached reads:   4372 MB in  2.00 seconds = 2187.38 MB/sec

Tags: , , , , ,

Leave a Reply