[Hudlug] A hdparm Tweaking Guide

Les Burns hudlug at mailman.lug.org.uk
Fri Sep 6 12:23:01 2002


it appears I need to do some serious tweaking (just never got round to
doing this ;)) My IBM 60GXP reports:

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  0.57 seconds =224.56 MB/sec
 Timing buffered disk reads:  64 MB in 18.02 seconds =  3.55 MB/sec


3.55mb/ sec- surely not! But the sysy


On Fri, 2002-09-06 at 12:07, Rob Shakir wrote:
> A Guide to Hard Disk Tweaking
> 
> When you run the "hdparm -tT" command you can see the current I/Os from your hard drive benchmarked. 
> 
> First run hdparm -tT as root and see what scores you get, preferably post them so I can see how much difference it makes!
> 
> There are ways to improve these scores, the best being:
> 
> 32bit accessing (c)
> 
> DMA (d)
> 
> Multiple sector count (m)
> 
> 
> 
> To enable these:
> 
> 
> hdparm -c 1 -d 1 -m 16 /dev/xxx
> 
> Where /dev/xxx is your hard drive 
> 
> Another important option is the enabling of UDMA 33/66/100. 
> 
> Add the -X option, and then this number i.e. (-X 69)
> 
> 
> 
> X 33 = Multiword DMA
> 
> X 66 = ATA-33 (UDMA2)
> 
> X 68 = ATA-66 (UDMA4)
> 
> X 69 = ATA-100 (UDMA 5)
> 
> 
> 
> People have asked me about ATA-133, Im afraid I dont know how to enable this!
> 
> Now, enable the -k 1 option, to allow the settings to be kept over a reboot.
> 
> add the whole line to your /etc/rc.local/local.start (in gentoo) to allow these tweaks on bootup.
> 
> Happy tweaking! 
> 
> Shak
> 
> robshakir
> MSN:neovolt@hotmail.com
> ICQ:137870119 
> AIM: II neovolt II
> Yahoo!: robshakir
> 
> 
> _______________________________________________
> Hudlug mailing list
> Hudlug@mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/hudlug