public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Nathan Scott <nscott@aconex.com>
To: Eric Sandeen <sandeen@sandeen.net>, timotheus <timotheus@tstotts.net>
Cc: linux-xfs@oss.sgi.com
Subject: Re: tuning XFS for tiny files
Date: Fri, 20 Jul 2007 09:05:08 +1000	[thread overview]
Message-ID: <1184886308.16678.44.camel@edge.yarra.acx> (raw)
In-Reply-To: <469E7D70.9030606@sandeen.net>

On Wed, 2007-07-18 at 15:52 -0500, Eric Sandeen wrote:
> 
> > 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.
> > 
> > Regards,
> > -timotheus
> 
> Do you have a way to benchmark your load?
> 
> logv2 at mkfs time, and throwing in larger logbufs & logbsize as mount
> options might help.

For these kinds of workloads, you may have some joy using a mkfs run
with smaller blocksize (down to 512 bytes) and also larger directory
blocksize (up to 64k).  (e.g. mkfs.xfs -bsize=512 -nsize=16k ...)

cheers.

--
Nathan

  reply	other threads:[~2007-07-19 23:05 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 [this message]
2007-07-19 13:38 ` Andi Kleen
2007-07-19 13:14   ` David Chinner
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=1184886308.16678.44.camel@edge.yarra.acx \
    --to=nscott@aconex.com \
    --cc=linux-xfs@oss.sgi.com \
    --cc=sandeen@sandeen.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox