[Dirvish] dirvish-expire very slow

Richard dirvish at rain4us.net
Fri Jan 16 00:44:28 UTC 2009


Eric Searcy wrote:
> Arjan Schrijver wrote:
>   
>> Hi list,
>> Is anyone experiencing this same problem?
>> <snip> after the backup we 
>> start dirvish-expire, which takes about 6 hours, and sometimes even up 
>> to 10 hours or more.
>> Is this normal? It seems to me that analyzing directory names and then 
>> deleting them shouldn't take this amount of time.
>> Can anyone explain this to me?
>>     
>
> No, it isn't normal.  Another idea is that if you have directories that
> have *lots* of files (thousands) not nested in other directories and are
> using ext3 without -O dir_index, running rm's can take a long time
> because it iterates at O(n) time.  

Switching from reiserfs to ext3 gave me a BIG performance boost in 
dirvish-expire.  Reiserfs is VERY SLOW to expire files in my experience. 
(yet another reason for me to avoid using reiserfs with Dirvish)

-- 
Richard


More information about the Dirvish mailing list