Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2008 18:15:43 -0500
From:      Dan <dan-freebsd-fs@ourbrains.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: (no subject)
Message-ID:  <20081119231543.GA7659@ourbrains.org>
In-Reply-To: <cd41f5860811190529y365f876bn4613d77c4164597d@mail.gmail.com>
References:  <20081119052428.GC4136@ourbrains.org> <cd41f5860811190529y365f876bn4613d77c4164597d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nick Barkas(nick.barkas@gmail.com)@2008.11.19 14:29:24 +0100:
> I'm not sure if this is what you're looking for, but FreeBSD's does
> have some provisions to avoid too much performance degradation with
> large directories. The VFS name cache will speed up look-up operations
> on specific individual files in any size directory that are repeatedly
> searched for, and it is filesystem independent. Specific to UFS2 there
> is dirhash, which was implemented by Ian Dowse and David Malone. It
> speeds up more types of operations involving large directories. They

I know. dirhash on only great until a few dozen thousand files, then it
blows out.

You might be interested in the dicussion here:

http://leaf.dragonflybsd.org/mailarchive/kernel/2008-11/msg00055.html





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081119231543.GA7659>