[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SCSI or IDE



On Mon, Nov 25, 2002 at 06:13:47PM +0100, Toni Mueller wrote:
> 
> Hi,
> 
> On Sun, Nov 24, 2002 at 10:35:37AM -0800, Jeremy Zawodny wrote:
> > On Sun, Nov 24, 2002 at 06:56:34PM +0100, ????? ????? wrote:
> > > About performance - IDE still uses a lot of the CPU
> > now that most servers are far faster than that, we're talking about
> > what, 1% or maybe 2% of the CPU?
> 
> on my 700 MHz workstation I see up to 30% used by disk I/O.

you are almost certainly not using UDMA... 

The stock debian kernel still defaults to DMA off because there is some
hardware out there that has problems with it.

Install hwtools, hdparm and run;

hdparm /dev/hda
hdparm -tT /dev/hda

to see your current settings and benchmark the performance. Then run;

hdparm m16 -c1 -u1 -d1 /dev/hda
hdparm -tT /dev/hda

to change to dma mode and measure the new performance. The important option
is the '-d1', and '-u1' can be risky on some hardware so you might want to
omit it.

Once you've found your prefered settings, edit /etc/init.d/hwtools to set it
up for you every time you reboot.

-- 
----------------------------------------------------------------------
ABO: finger abo@minkirri.apana.org.au for more info, including pgp key
----------------------------------------------------------------------



Reply to: