Re: how many files per dir possible?

Joel D. Elkins (jde@binarts.com)
Tue, 29 Jun 1999 15:25:53 -0500


On Tue, Jun 29, 1999 at 11:08:24PM +0400, Khimenko Victor wrote:
> Ok. I had run-away script and thus I had directory with 500000 files in it.
> Just ls there will work few MINUTES ! And rm -rf worked few HOURS ! You do not
> want thousands of files in one dir on current ext2fs, believe me ...
>
> P.S. What about reiserfs, BTW ?

reiserfs handles at least the 50K files/directory case MUCH better
(2 seconds to rm -rf vs >10 minutes with ext2 in my tests)
500k files - haven't tried but it has to be better than ext2fs

/jde

-- 
Joel D. Elkins
Binary Arts, Inc.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/