Subject: Re: UltraDMA performance.
To: None <port-i386@netbsd.org>
From: Bang Jun-Young <bjy@mogua.org>
List: port-i386
Date: 12/30/2000 11:31:48
Andrea Franceschini wrote:
> 
> 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?

I've been having such low performance with NetBSD 1.5 and -cvs. Maximum 
transfer rate was about 2MB/s while with Linux was 8-10MB/s. My machine is
Athlon 900 with ASUS A7V and Quantum Fireball 10lct 30GB Ultra/66.

Jun-Young 

--
Bang Jun-Young <bjy@mogua.org>