msgbartop
Adam Palmer MBCS CITP, Linux, PHP Programmer, MySQL Developer, Embedded Hardware, Security Consultant
Did my blog help you? Please link to me!
  dns test
 
RSS Feed
msgbarbottom

02 Oct 09 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 Comment