Re: xfs tuning for a 830 GB partition (mkfs.xfs options)

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

 



On Wed, Dec 08, 2010 at 08:32:28PM +0100, Abel Coto wrote:
> I want to create a 830 GB partition, to mount as /home in my Centos 5.4
> workstation.
> 
> Actually i have /home not mounted ,so i would have to create the new
> partition in the lvm,format it and use rsync to copy /home directory to it.
> 
> for a 830 GB partition that i will use to save my data in general and also
> 3d / CG projects and renders once finished them what agcount value should be
> used. I have read that mkfs default option creates 1 allocation group each
> 4G , so i understand that for a 830 GB partition agcount should be 208.
> 
> It is this correct ?

No, you've read something that is at least 5 years out of date. Just
use the defaults - they are already optimised for best performance
in most circumstances.

> I have read that too much allocation groups are bad , but i don't now if 416
> are  too much for a 830 GB partition (and shoukd use 208 to 300) or not.

Any more than 4 AGs on a single spindle is bad for performance. AGs
can be up to 1TB in size, so you're going to get 4 as the default
for your 830GB partition.

> I will mount the partition with logbufs=8. (i use a 128m journal and
> logbufs=8 to improve a bit deleting performance). I will perhaps use noatime
> too ,but i have to see if my backup app, uses atime or not.

logbufs=8 is the default. Also, the default atime option is relatime
which has pretty much zero compareeed to noatime, so once again just
use the defaults.

> for this partition , that will handle mostly big files (500 MB to 2-3 GB at
> least) what mkfs.xfs options should i use ?

The defaults.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
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