Subject: Re: UltraDMA performance.
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Andrea Franceschini <andrea@cs.tin.it>
List: port-i386
Date: 12/28/2000 19:18:30
Manuel Bouyer wrote:
> 
> On Wed, Dec 27, 2000 at 07:18:34PM +0100, Andrea Franceschini wrote:
> > I tried using softdep as a mount parameter and i get better performance
> > only during write phase.
> >
> > I want to know the exact parameters to give in kernel config.
> >
> > Actually,I use the following:
> >
> > flags 0x01 for wdc0 controller
> 
> Only needed if your controller is not known from pciide.

Without  these settings i was not able to obtain speed over 4MB/s

> 
> >
> > and
> >
> > flags 0x0cf0 for drives.
> >
> > this should means :
> >
> > 0xc = Use Ultra DMA mode 4 (i suppose that mode 4 stand for UltraDMA 66)
> > 0xf = Disable DMA
> > 0x0 = Disable PIO Modes
> >
> > Is it correct? (in order to use UDMA 66)
> 
> You don't need these flags. They're there only in case of hardware problems,
> to force a lower mode, or avoid downgrades. If you hardware is rigth, things
> should just work.
> 

So i must argue that pciide on NEtBSD is slower than FreeBSD?

And if my controller is bogus what are the correct settings to use with
it?


> --
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
> --