[Hudlug] A hdparm Tweaking Guide

Rob Shakir hudlug at mailman.lug.org.uk
Fri Sep 6 12:36:01 2002


Hi,

Thats basically because the DMA settings havent been enabled, mine was running at that speed until I tweaked it, if we had SSH at school I could show you how well its doing now :)

Aint that 60GXP died on you yet?

Shak
> 
> From: Les Burns <l.burns@btclick.com>
> Date: 06 Sep 2002 12:19:01 +0100
> To: hudlug@mailman.lug.org.uk
> Subject: Re: [Hudlug] A hdparm Tweaking Guide
> 
> 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
> 
> 
> 
> _______________________________________________
> Hudlug mailing list
> Hudlug@mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/hudlug
> 

Shak - Rob Shakir
"Testing? What's that? If it compiles, it is good, if it boots up it is perfect." - Linus Torvalds
msn - fsck@hotmail.com