[ltp] hdparm params for 7k60 drive
Steve Barr
linux-thinkpad@linux-thinkpad.org
Tue, 23 Dec 2003 19:57:07 -0500
Brad Langhorst wrote:
> thought these settings might save somebody some time when setting up
> this drive (7200rpm travelstar)
> hdparm -v /dev/hda
> /dev/hda:
> multcount = 1 (on)
> IO_support = 1 (32-bit)
> unmaskirq = 1 (on)
> using_dma = 1 (on)
> keepsettings = 1 (on)
> readonly = 0 (off)
> readahead = 256 (on)
> geometry = 16383/255/63, sectors = 117210240, start = 0
>
> hdparm -c 1 -d 1 -m 1 -u 1 /dev/hda
>
> which yields these results
>
> hdparm -T /dev/hda
> /dev/hda:
> Timing buffer-cache reads: 1416 MB in 2.00 seconds = 706.34 MB/sec
>
> hdparm -t /dev/hda
> /dev/hda:
> Timing buffered disk reads: 112 MB in 3.03 seconds = 36.93 MB/sec
Thanks for posting; I wouldn't have played around with this otherwise.
For some reason I could not set readahead to 256:
/dev/hda:
setting fs readahead to 256
BLKRASET failed: Invalid argument
So I set it to 192:
readahead = 192 (on)
With these results:
hdparm -tT /dev/hda
/dev/hda:
Timing buffer-cache reads: 1616 MB in 2.01 seconds = 803.98 MB/sec
Timing buffered disk reads: 112 MB in 3.00 seconds = 37.33 MB/sec
Perhaps there is an even better setting waiting to be discovered...
I'm running RH9 on a T40p in case that matters.
Thanks again,
Steve
--
http://www.stevebarr.com
"Your lips should remain unmoved."
All 100% my own opinions.