[ltp] hdparm settings?

Charles E Taylor IV linux-thinkpad@linux-thinkpad.org
Fri, 18 Feb 2005 10:47:57 -0500


On Fri, 18 Feb 2005 16:32:30 +0100
Eric Van Buggenhaut <eric@sindominio.net> wrote:

> That's pretty nice: with a 60GB disk at 7200RPM on my T42 I only get:
> 
> atto:/home/eric[0]# hdparm -t /dev/hda
> 
> /dev/hda:
>  Timing buffered disk reads:   38 MB in  3.02 seconds =  12.58 MB/sec
> atto:/home/eric[0]# hdparm  /dev/hda
> 
> /dev/hda:
>  multcount    =  0 (off)
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 65535/16/63, sectors = 60011642880, start = 0

Okay, that's REALLY slow ... for a 7200 RPM drive on a T42?  My 40GB 5400
RPM drive is set up this way:

# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 16383/255/63, sectors = 40007761920, start = 0

and gives this performance:

# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  104 MB in  3.02 seconds =  34.41 MB/sec

Is your measurement taken when the system is quiet, or is updatedb running
in the background or something? :)

-- 
--------------------------------------------------------------------
*  Charles Taylor <tomalek@mindspring.com>
*  Chemistry instructor / Mad scientist / Linux enthusiast!
--------------------------------------------------------------------
*  Web: http://home.mindspring.com/~charletiv/
--------------------------------------------------------------------