Re: altering defaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/3/11 10:33 AM, prad wrote:
> i'm new to xfs (courtesy of most helpful and encouraging commentary by
> stan hoeppner!) and i've seen some advice which says to make the 
> block size     -> 512
> directory size -> 4096
> 
> on the other hand, i've also come across webpages which say don't mess
> around! keep the defaults as they are unless you are absolutely sure
> that changing it suits your purpose and know why.

Yup.  See "Q: I want to tune my XFS filesystems for <something> "
http://xfs.org/index.php/XFS_FAQ#Q:_I_want_to_tune_my_XFS_filesystems_for_.3Csomething.3E

> my question is for the data storage area on a web/email server. we're
> mainly going to have small files there and the email part will have only
> temporary files for the most part since people will download (ie pop).
> 
> it makes sense to make the block size = 512, but i wonder if it really
> matters noticeably. the server is not a heavily visited one and only on
> very rare occasions will we get around 50000 hits/day - most of the time
> we're looking at under 10000 and that is with all the domains combined.

If space efficiency is a consideration then smaller blocksizes might
be useful.  Not so much for hits per day, but for how many files you expect
to store at any one time; you'll waste ((blocksize / 2) * nr files) on average.

-Eric

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux