On Thu, 2003-10-16 at 15:02, Max Clark wrote:
> Hi all,
> I am testing xfs on one of my systems and I am curious about some tunning
> Given that my filesystem is 1.5TB
> The average filesize will be 750MB of binary data
Thats not a lot of files in a filesystem....
Since you are going over 1 Tbyte, make sure you use -i size=512
this will make inodes 512 bytes, and have the affect of keeping
inode numbers under 32 bits.
After this is comes down to how you will be doing I/O to the
filesystem, and what underlying hardware it is made of and
do you have speed requirements.
You can specify stripe alignment on the mkfs command line, for
some configurations it will work it out automatically. The file
system uses this as a hint to the how to initially lay out
the filesystem, and what are good boundaries to start extents
on. The mkfs man page talks about this.
After that, the only one which might be worth mentioning is using
version 2 logs if you are running on top of software raid5. You
want to stripe align the log to avoid non-aligned writes from
blowing the raid5 stripe cache away.
I would recommend doing some experiments before you commit yourself
to a layout.
> What tunning options should I use when I create the filesystem, and when I
> mount the filesystem?
> Thanks in advance,
> Max Clark <maxc at beast.clarksys.com>
> My Blog http://www.clarksys.com
> >> spamtrap: spam@xxxxxxxxxxxx - do NOT ever send email to this address <<
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx