Subject: Re: namei caching of newly created files?
To: Havard Eidnes <>
From: Steven M. Bellovin <>
List: tech-kern
Date: 01/20/2005 13:09:18
In message <>, Havard Eidnes writes=
>> Is the performance of manipulating a single direcory with
>> 45,000 entries even something we care about?  Who would ever
>> put 45,000 files into a single directory?  Who would even put
>> 100 files into a directory if getting a directory listing takes
>> two or more screens just to display?
>Yes, I think we care or should care.
>Think MH folder system or Maildir setup, and add in users who
>have an ever increasing number of messages in their folders.
>That's not exactly an uncommon usage scenario, at least in my

Indeed.  Your note was message 9136 in my Mail/netbsd directory.  I =

just did a 'folder -pack', so I really have that many messages -- files =

-- in it.  =

		--Prof. Steven M. Bellovin,