Subject: Re: namei caching of newly created files?
To: Havard Eidnes <he@uninett.no>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 01/20/2005 13:09:18
In message <20050120.183744.70928231.he@uninett.no>, 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
>surroundings.

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, http://www.cs.columbia.edu/~smb