Quickest way to delete many small files

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

 



On Wed, 12 Jun 2013 10:48:33 -0400
Jeff Darcy <jdarcy at redhat.com> wrote:

> http://linuxnote.net/jianingy/en/linux/a-fast-way-to-remove-huge-number-of-files.html
> 
> tl;dr The rsync method is likely to be faster because of readdir batching.  In 
> fact, the results from that article are likely to be even more applicable to 
> any distributed filesystem where readdir is even more expensive.  This 
> difference is completely orthogonal to the difference between deleting files 
> through a client mountpoint or directly on the brick, with or without renaming 
> first.

That's a funny paper :-)
Maybe some GNUs should have read it when implementing "rm" ;-)

-- 
Regards,
Stephan



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux