xfs
[Top] [All Lists]

Re: XFS, RAID-5, 3ware

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: XFS, RAID-5, 3ware
From: Gaspar Bakos <gbakos@xxxxxxxxxxxxxxx>
Date: Mon, 23 May 2005 22:46:13 -0400 (EDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <c4cbdce7bad01d946ce6fa0c57872567.ANY@xxxxxxxxxxxxxxxxxxxxx>
References: <Pine.SOL.4.58.0505191735250.26773@xxxxxxxxxxxxxxxxxxxxx> <c4cbdce7bad01d946ce6fa0c57872567.ANY@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: gbakos@xxxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi, Chris,

RE:
> > mkfs.xfs -f -b size=4k -d su=256k,sw=7 -i size=1k -l size=128m,su=256k \
> >     /dev/sdc1 -L "big"
> -isize=512 would be fine
> -lversion=2 maybe
> >    size: how to determine the optimal size?
> page-size

Here you refer to the kernel page-size?

> 512-bytes is the minimum you can get away with to spread inodes out
> evenly over a volume larger than 2TB

Ok, I see.

> > 4. -l
> >    size:
> >      The default value for my setup turns out to be
> >            log      =internal log           bsize=4096   blocks=32768, 
> > version=1
> >                     =                       sectsz=512   sunit=0 blks
> >      This corresponds to size=128m
>
> >     su: should be set to the stripe size of the RAID-5 array for
> >     optimal performance?
>
> yes, i think if you specify it for the data and use v2 logs it will
> get this right though?

Indeed. I didn't know this, but it is a nice feature.

Basically, the following are equivalent:

mkfs.xfs -f -b size=4k -d su=256k,sw=7 -i size=1k -l version=2
/dev/sdc1 -L "big"

or

mkfs.xfs -f -b size=4k -d su=256k,sw=7 -i size=1k -l size=128m,su=256
/dev/sdc1 -L "big"

> i think i would try a few things out and see how it goes.  i don't

What tests do you think of?
bonnie++?

Cheers,
Gaspar


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