Re: very large directories

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Mar 01 2000 - 10:09:29 EST


Hi,

On Tue, 29 Feb 2000 18:30:50 +0100, Lars Marowsky-Bree <lmb@kernel.org>
said:

> On 2000-02-29T17:04:32,
> Jan Bobrowski <jb@wizard.ae.krakow.pl> said:

>> If there's enough RAM for directory cache, the directory size is
>> irrelevant.

> It is still a linear search.

No, dcache searches are hashed. The hash tables are sized dynamically
at boot. OK, individual hash buckets are searched linearly but it's a
far cry from doing a linear search over the whole directory.

--Stephen

-
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/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:09 EST