From: Dave Chinner <david@fromorbit.com>
To: Abel Coto <whitewolf573@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: xfs tuning for a 830 GB partition (mkfs.xfs options)
Date: Thu, 9 Dec 2010 12:05:31 +1100 [thread overview]
Message-ID: <20101209010531.GE32766@dastard> (raw)
In-Reply-To: <AANLkTimkZB20eqywSPvwh00gcXWcr4_Eqm5u40P6RqaJ@mail.gmail.com>
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-12-09 1:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 19:32 xfs tuning for a 830 GB partition (mkfs.xfs options) Abel Coto
2010-12-08 22:14 ` Stan Hoeppner
[not found] ` <AANLkTi=qkM9c5ukdJj7Hqhj8XMWSOGNENLEG9_Uz_DBT@mail.gmail.com>
2010-12-09 0:27 ` Stan Hoeppner
2010-12-09 1:05 ` Dave Chinner [this message]
2010-12-09 1:34 ` Dave Chinner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101209010531.GE32766@dastard \
--to=david@fromorbit.com \
--cc=whitewolf573@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox