On Sat, Apr 12, 2008 at 06:19:45PM +0100, John Bland wrote:
> Matt Doidge wrote:
>> Heya squires,
>>
>> I've been fiddling with xfs and getting it running has been fairly
>> simple thanks to the work of previous gridpp pioneers in the field.
>> However it would be fairly pointless to go to the trouble of using xfs
>> without taking the trouble to optimise it. To that ends I was
>> wondering what options those folks using xfs created their filesystems
>> with- and why they did so. If this info already exists somewhere then
>> a pointer to it would be appreicated.
>
> I use something like
>
> mkfs.xfs -d su=64k,sw=14 /dev/DEVICE
>
> for a RAID6 array with 64k chunks (su=64k) and 16 drives (16 - 2 drives for
> RAID6 parity leaves 14 in the stripe, sw=14).
It's also a good idea to align the filesystem to your raid setup as
well, for example in this case the partition should start at a
multiplier of 64k*14. Otherwise while xfs tries to write a full
stripe at a time it ends up writting 2 partial ones which isn't
what you want ar all.
Cheers,
Kostas
|