xfs
[Top] [All Lists]

Re: sunit, swidth question - mkfs.xfs tuning

To: Joshua Schmidlkofer <joshua@xxxxxxxxxxx>
Subject: Re: sunit, swidth question - mkfs.xfs tuning
From: Christian Guggenberger <christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Dec 2003 00:15:04 +0100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1071012200.32237.175.camel@xxxxxxxxxxxxxxxxxxx>
References: <1071012200.32237.175.camel@xxxxxxxxxxxxxxxxxxx>
Reply-to: christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi,

On Wed, 2003-12-10 at 00:23, Joshua Schmidlkofer wrote:
> Howdy,
>   WOO HOOO!! On 2.4 inclusion, BTW. (good going!)
> 
> An old e-mail from Christian Guggenberger recommends swidth be (n-1)
> disks for RAID5.  Is that correct?  I have a 66GB volume so I was
> looking at:
> 
well, the (n-1)*sunit=swidth thing was suggested by Steve some long 
time (sorry I can't find the original message in the archives) - and
that's what I'm using here on several Raid5 setups.

> Mylex AcceleRAID 170, 6 disks in a RAID 5. (4GB system memory)
> 
> mkfs.xfs -d su=64k,sw=5 -l size=32m,sunit=64k -L "data"  /dev/...
> 

it looks right for the data-section, but sunit=64k is way too large for
the logsection. 
(the syntax is wrong, too - should be sunit=128, (or su=64k) as sunit is
given in multplies of 512-byte block units) 

see http://marc.theaimsgroup.com/?l=linux-xfs&m=104419883023845&w=2 for
more info.


Christian




<Prev in Thread] Current Thread [Next in Thread>