no-spam at people.net.au
Sun Nov 9 22:50:34 PST 2008
On Sun, 9 Nov 2008 22:46:18 Matthew Seaman wrote:
> Jeremy Chadwick wrote:
> > I don't want to change the topic of discussion, but I *highly* recommend
> > you ***stop*** whatever it is you're doing that is creating such a
> > directory structure. Software which has to iterate through that
> > directory using opendir() and readdir() will get slower and slower as
> > time goes on.
> With the implementation of UFS_DIRHASH the practical limit on the
> size of directories is now a great deal larger. In particular
> the slow down caused by linear search through the contents has been
> eliminated. See ffs(7). 10,000 files or sub-directories, whist
> not a particularly elegant setup, is actually not unworkable
Well that's certainly been my experience so far. Still, I now know we will run
into problems when we hit the 32,768 limit, so I'll start designing something
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081110/c26830bb/attachment.pgp
More information about the freebsd-questions