filesystem: 12h to delete 32GB of data

Olivier Mueller om-lists-bsd at omx.ch
Wed May 6 15:02:35 UTC 2009


On Wed, 2009-05-06 at 16:15 +0300, Arkadi Shishlov wrote:
> Its probably "dirhash' that is not enabled or its cache is too small for the task.

$ sysctl -a |grep dirha
  UFS dirhash  1262   286K       -  9715683  16,32,64,128,256,512,1024,2048,4096
vfs.ufs.dirhash_docheck: 0
vfs.ufs.dirhash_mem: 2087495
vfs.ufs.dirhash_maxmem: 2097152
vfs.ufs.dirhash_minsize: 2560

So it's active, but probably too small as you suggest. Can I update this
value "on the fly" or does it require a reboot (+ settings in
loader.conf) ? 

regards,
Olivier




More information about the freebsd-performance mailing list