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
|