Sys Buddies (I.T. Folks — Helping Each Other)
September 10, 2010, 01:32:54 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Contact Login Register  

Buy PowerSquid
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Hard Drive Performance Testing  (Read 456 times)
Dave Bauer
Custom Title
Administrator
Newbie
*****
Posts: 26



View Profile
« on: March 21, 2009, 11:32:45 PM »

I have had the need to test hard drive performance in both Windows and Linux. Here is information on how you can perform hard drive performance tests in both environments.

LINUX:
   /sbin/hdparm -tT /dev/sda
 
   (sda should be whichever drive you actually wish to test)

  This measures sequential access rates. Here is an axample of output from one of my machines.

     /dev/sda1:
    Timing cached reads:   3092 MB in  2.00 seconds = 1546.54 MB/sec
    Timing buffered disk reads:  182 MB in  3.03 seconds =  60.05 MB/sec

 Here is the pertinent output from the MAN pages regarding this command:

       -T     Perform timings of cache reads for benchmark and comparison purposes.  For meaningful results,  this  opera-
              tion  should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at least
              a couple of megabytes of free memory.  This displays the speed of reading directly  from  the  Linux  buffer
              cache  without  disk access.  This measurement is essentially an indication of the throughput of the proces-
              sor, cache, and memory of the system under test.  If the -t flag is also specified, then a correction factor
              based on the outcome of -T will be incorporated into the result reported for the -t operation.

       -t     Perform  timings of device reads for benchmark and comparison purposes.  For meaningful results, this opera-
              tion should be repeated 2-3 times on an otherwise inactive system (no other active processes) with at  least
              a  couple  of  megabytes of free memory.  This displays the speed of reading through the buffer cache to the
              disk without any prior caching of data.  This measurement is an indication of how fast the drive can sustain
              sequential  data  reads  under Linux, without any filesystem overhead.  To ensure accurate measurements, the
              buffer cache is flushed during the processing of -t using the BLKFLSBUF ioctl.  If the -T flag is also spec-
              ified, then a correction factor based on the outcome of -T will be incorporated into the result reported for
              the -t operation.

There is also a utility called seeker, available for download at the bottom of the article at http://www.linuxinsight.com/how_fast_is_your_disk.html which will measure the speed of Random disk access.


WINDOWS:

There is a utility for testing hard drive performance in Windows called HD Tune. The free version, for personal use, will measure read performance and the professional version ($34.95 at the time of this writing) will measure write performance as well. It also has many other functionalities as well. I have attached a screenshot of HD Tune output.

   It can be downloaded from http://www.hdtune.com

« Last Edit: March 22, 2009, 11:15:52 AM by Dave Bauer » Logged

Some days your the bug -- Some days your the windshield
Sys Buddies (I.T. Folks — Helping Each Other)
« on: March 21, 2009, 11:32:45 PM »

 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
| Sitemap | Privacy Policy
Valid XHTML 1.0! Valid CSS!