Re: Slow delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 5, 2010 at 6:13 PM, Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> wrote:
> 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 :)

Thanks. Yes, I know about these tricks like 'nobarrier' option,
separate partition for metadata log, increased size for the log, more
log buffers or atime disabled. But I was interested more in what is
the real cause of this slowness.

Andrei

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



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux