public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Emmanuel Florac <eflorac@intellique.com>
To: Andrei Deftu <andreideftu@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Slow delete
Date: Mon, 5 Jul 2010 17:13:38 +0200	[thread overview]
Message-ID: <20100705171338.3bb38e1d@harpe.intellique.com> (raw)
In-Reply-To: <AANLkTinPmhJRD3CDdsHtkLFzYd2jF9ee7gPqgO6XBSfl@mail.gmail.com>

Le Mon, 5 Jul 2010 17:27:44 +0300
Andrei Deftu <andreideftu@gmail.com> écrivait:

> As many people have pointed out, xfs is very slow when deleting a
> large number of files. Does anyone has a technical answer to this
> problem? Also, I am interested to know if there is a way to
> temporarily speed up the delete process, regardless of all the other
> parameters.

Using the "nobarrier" mount option (when applicable/advisable)
considerably speeds up metadata operations.
Another possibility is to use a ramdisk (or /dev/null) as a log device
though it could be... dangerous :)

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

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

       reply	other threads:[~2010-07-05 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTinPmhJRD3CDdsHtkLFzYd2jF9ee7gPqgO6XBSfl@mail.gmail.com>
2010-07-05 15:13 ` Emmanuel Florac [this message]
2010-07-05 15:33   ` Slow delete Andrei Deftu
2010-07-05 18:21     ` Peter Grandi
2010-07-05 18:54   ` Christoph Hellwig
2010-07-05 23:34 ` Dave Chinner
2010-07-12 12:17   ` Michael Monnerie
2010-07-19 18:54     ` Alex Elder
2010-07-20 11:04       ` Michael Monnerie
2010-07-20 17:09         ` Stan Hoeppner
2010-07-20 23:18         ` 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=20100705171338.3bb38e1d@harpe.intellique.com \
    --to=eflorac@intellique.com \
    --cc=andreideftu@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