[Top] [All Lists]

Re: Slow delete

To: Andrei Deftu <andreideftu@xxxxxxxxx>
Subject: Re: Slow delete
From: Emmanuel Florac <eflorac@xxxxxxxxxxxxxx>
Date: Mon, 5 Jul 2010 17:13:38 +0200
Cc: xfs@xxxxxxxxxxx
In-reply-to: <AANLkTinPmhJRD3CDdsHtkLFzYd2jF9ee7gPqgO6XBSfl@xxxxxxxxxxxxxx>
Organization: Intellique
References: <AANLkTinPmhJRD3CDdsHtkLFzYd2jF9ee7gPqgO6XBSfl@xxxxxxxxxxxxxx>
Le Mon, 5 Jul 2010 17:27:44 +0300
Andrei Deftu <andreideftu@xxxxxxxxx> é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@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02

<Prev in Thread] Current Thread [Next in Thread>