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

Re: Any problem with having 100,000 files



"J. Scott Edwards" <sedwards@xmission.com> writes:

> They would be spread out over a several directories.  For curiosity, what
> is the limit in one directory?  If I had 5,000 files in one directory,
> what kind of things would be slow?

5000 won't be even moticeable. I have directories with 50000 files in them
and the lookup slowdown is barely noticeable. Of course that depends on your
application. If you do many lookups and start thrashing the name cache, you're
in trouble, but most applications will have good cache behavior (which is
the whole point of caches).

//art