Subject: Re: namei caching of newly created files?
To: Jason Thorpe <>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 01/22/2005 19:44:19
On Sat, Jan 22, 2005 at 03:06:28PM -0800, Jason Thorpe wrote:
> On Jan 22, 2005, at 2:26 PM, Havard Eidnes wrote:
> >>I brought FreeBSD's ufs_dirhash into my -current tree and have
> >>seen some good improvements.
> >>...
> >
> >Whee, this makes a huge difference in my tests, as you indicated
> >it would.
> Might as well check it in, then?

I dunno -- Gordon's approach seemed a lot better to me -- even if it
would really give the benefit only for new filesystems.  I also wonder
if its expanding hash wouldn't give better performance for the truly
gigantic directories where this version of the dirhash code seems to
fall down.