[ltp] hdparm settings?
Eric Van Buggenhaut
linux-thinkpad@linux-thinkpad.org
Fri, 18 Feb 2005 16:32:30 +0100
On Fri, Feb 18, 2005 at 02:25:07AM -0700, Nathan Kurz wrote:
> On Fri, Feb 18, 2005 at 03:54:35PM +0800, Senectus . wrote:
> > Do any of you guys play with your hdparm settings?
> > If so what would you consider "safe" tweaks...?
>
> I haven't done much playing with my current laptop (an X30) but I've
> done so in the past. My general conclusions (for older models using
> much older kernels) were pretty simple. I'm still going by those
> simple conclusions with pretty good results.
>
> 1) Make sure you are using DMA to transfer (-d 1)
> 2) Set the sleep spindown to what you want (-S 12 for me)
> 3) Test with 'hdparm -t /dev/hda' to confirm nothing horribly wron.
> 4) The rest will probably be autosensed correctly.
>
> This is what I currently get on the X30 with a 40 Gig drive:
> # hdparm -t /dev/hda
> /dev/hda:
> Timing buffered disk reads: 60 MB in 3.05 seconds = 19.67 MB/sec
>
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
--
"Un disco para gobernarlos a todos.
Un disco para encontrarlos y atarlos en las tinieblas.
En la tierra de Redmond donde se extienden las sombras"
Eric VAN BUGGENHAUT
eric@sindominio.net