Subject: Re: RAID tuning
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 12/19/2002 17:10:29
Manuel Bouyer writes:
> On Thu, Dec 19, 2002 at 04:39:16PM -0600, Greg Oster wrote:
> > Manuel Bouyer writes:
> > > On Thu, Dec 19, 2002 at 04:25:34PM -0600, Greg Oster wrote:
> > > > Manuel Bouyer writes:
> > > > > On Thu, Dec 19, 2002 at 03:20:02PM -0600, Greg Oster wrote:
> > > > > > [...]
> > > > > > Yes.  Note that the queue type (and size) is not stored in the comp
> onen
> > > t 
> > > > > > labels, so if you're using autoconfig, then it will automatically u
> se f
> > > ifo,
> > > > >  
> > > > > > and you won't be able to change it. (yes, that's a bug, and yes, it
> 's o
> > > n my
> > > > >  
> > > > > > TODO list, and no, there hasn't been a lot (read: any) demand to fi
> x th
> > > at
> > > > > > bug yet :-} )
> > > > > 
> > > > > So 
> > > > > 'fifo 100'
> > > > > is lost at autoconfig ?
> > > > 
> > > > Not quite... only the "fifo" part is lost.  The 100 part (or whatever y
> ou h
> > > ave 
> > > > it set to) is still used.  (Do a 'raidctl -s raid0' and look for "Queue
>  siz
> > > e").
> > > 
> > > It says:
> > > Queue size: 0 blocksize: 512, numBlocks: 17916160
> > > 
> > > I set it to 3584 (14 * 256).
> > 
> > Hmm...  It shows up as 100 on all of my boxes (cause that's what I leave mi
> ne 
> > set to...)..  Hmmm... when did you build that RAID set?  
> 
> It's mostly a 1.6 box (with some patches, but nothing that should affect
> raidframe). I built this raid about 2 weeks ago.
> It's a raid1 with 14 disks, but I see the same on 2-disks raid-1 boxes where
> I set it to 512.

Hmm...  I'll have to see if there is some built-in limit that might be 
changing it on you...  BTW: that value is per-component.. so if you wanted
256 for each of the 14 disks, you only need to use "256" :) 

Later...

Greg Oster