Contributed by Peter N. M. Hansteen on from the Hash for FFS sake dept.
rsadowski@
),
OpenBSD developer and prolific blogger,
has been looking into file system performance optimizations on our favorite
operating system, and is now sharing his tips and tricks in
FFS optimizations with dirhash on his blog.
He leads in with a TL;DR:
tl;drConsider playing with
sysctl vfs.ffs.dirhash_maxmem
to increase the maximum dirhash cache.
That said, it is worth your time to read the whole thing!