public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: xfs@oss.sgi.com
Subject: Re: xfs tuning for a 830 GB partition (mkfs.xfs options)
Date: Wed, 08 Dec 2010 16:14:05 -0600	[thread overview]
Message-ID: <4D00032D.4040000@hardwarefreak.com> (raw)
In-Reply-To: <AANLkTimkZB20eqywSPvwh00gcXWcr4_Eqm5u40P6RqaJ@mail.gmail.com>

Abel Coto put forth on 12/8/2010 1:32 PM:
> 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 that's not correct.

> so i would use for format the partition
> 
> mkfs.xfs -l lazy-count=1,version=2,size=128m -i attr=2 -d agcount=208 -L
> VolumeName <dev>

Do not do this!  If this filesystem will reside on a single physical
disk, format the partition using the XFS defaults.  agcount, and most of
the other options, exists for optimizing parallel performance on striped
RAID or SSD storage systems that have lots of IOPS performance.  These
options are _not_ for use on single disk drives.

AG count is related to number of spindles and/or IOPs throughput, not
the size of the partition.  The mkfs.xfs default for a single drive
filesystem is 4 AGs.  If you specify a value greater than 4 your
performance will suffer.  If you specify 208 AGs it may likely be little
faster than a floppy disk drive.

-- 
Stan

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

  reply	other threads:[~2010-12-08 22:12 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 [this message]
     [not found]   ` <AANLkTi=qkM9c5ukdJj7Hqhj8XMWSOGNENLEG9_Uz_DBT@mail.gmail.com>
2010-12-09  0:27     ` Stan Hoeppner
2010-12-09  1:05 ` Dave Chinner
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=4D00032D.4040000@hardwarefreak.com \
    --to=stan@hardwarefreak.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