From: David Chinner <dgc@sgi.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: timotheus <timotheus@tstotts.net>, linux-xfs@oss.sgi.com
Subject: Re: tuning XFS for tiny files
Date: Thu, 19 Jul 2007 23:14:01 +1000 [thread overview]
Message-ID: <20070719131401.GW31489@sgi.com> (raw)
In-Reply-To: <p73wswwwm1o.fsf@bingen.suse.de>
On Thu, Jul 19, 2007 at 03:38:43PM +0200, Andi Kleen wrote:
> timotheus <timotheus@tstotts.net> writes:
>
> > Hi. Is there a way to tune XFS filesystem parameters to better address
> > the usage pattern of 10000s of tiny files in directories such as:
> > maildir directory
> > mh mail directory
> > ccache directory
> >
> > My understanding is that XFS will always be much slower than reiserfs
> > with respect to deleting 10000s files; but that XFS might be possible to
> > tune toward more rapid read access of 10000s of tiny files.
>
> -d agcount=1 at mkfs time might help (unless you have a lot of CPUs)
Yeah, might help, but it's not good for being able to repair the
filesystem - repair will be unable to find a secondary superblock
to compare the primary against and abort.....
-d agcount is only good for science experiments, not production
systems ;)
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
next prev parent reply other threads:[~2007-07-19 13:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 17:15 tuning XFS for tiny files timotheus
2007-07-18 20:52 ` Eric Sandeen
2007-07-19 23:05 ` Nathan Scott
2007-07-19 13:38 ` Andi Kleen
2007-07-19 13:14 ` David Chinner [this message]
2007-07-19 13:54 ` Andi Kleen
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=20070719131401.GW31489@sgi.com \
--to=dgc@sgi.com \
--cc=andi@firstfloor.org \
--cc=linux-xfs@oss.sgi.com \
--cc=timotheus@tstotts.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.