[CentOS] Silly question - Anything faster than rm?

Les Mikesell lesmikesell at gmail.com
Sun Sep 30 16:58:44 UTC 2007


Alain Spineux wrote:
> Some hint :
> 
> - use a partition dedicated for that, that you can format every time
> you need to reset it.
> - try other filesystem. Some filesystem are faster for delete operations.
> - try to change the journaling during the delete operations. If you
> use ext3, I'm thinking about something like:

If you are going to change the way you store the files, just break them 
up into subdirectories that each only hold a few thousand files. That 
makes the lookups and other operations much faster.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the CentOS mailing list