Re: namei caching of newly created files?

Alfred Perlstein <[email protected]> Thu, 20 Jan 2005 13:18:42 -0800
Newsgroups gmane.os.netbsd.devel.performance,gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
* David Laight <[email protected]> [050120 13:03] wrote:
> > A lot of systems are using "filesystem as a database" semantics
> > and just expect something like:
> > 
> >   user/key -> data
> > 
> > to scale indefinitely.
> 
> I know a company that hit the inode reference count limit, 32766 (or
> maybe 65534) subdirectories of a single directory!
> 
> I suspect that a linear search may actually be the fastest form
> of lookup for 'normal' directories - ie those smaller than a block.

I'd agree with that guess.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: [email protected] cell: 408-480-4684