Re: filesystem performance with lots of small files

From: Claus Guttesen <kometen_at_gmail.com>
Date: Fri, 26 Aug 2005 00:39:17 +0200
> I didn't changed anything from the defaults... it looks like that:
> mhettwer_at_submaster-test$ sysctl vfs.ufs.dirhash_maxmem
> vfs.ufs.dirhash_maxmem: 2097152
> mhettwer_at_submaster-test$ sysctl vfs.ufs.dirhash_mem
> vfs.ufs.dirhash_mem: 368622

You could try the following change:

sysctl vfs.ufs.dirhash_maxmem=8388608

Did you use the GENERIC-kernel? If so, remember that witness,
invariants etc. are a part of the RELENG_6-branch. You should disable
these settings with a custom-build kernel. You may also want to read
/usr/src/UPDATING.

regards
Claus
Received on Thu Aug 25 2005 - 20:39:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC