Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 May 2009 17:02:26 +0200
From:      Olivier Mueller <om-lists-bsd@omx.ch>
To:        Arkadi Shishlov <arkadijs.sislovs@affecto.lv>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: filesystem: 12h to delete 32GB of data
Message-ID:  <1241622146.16418.128.camel@ompc.insign.local>
In-Reply-To: <20090506161543.062ba223@hal9000.mebius.lv>
References:  <1241610888.16418.64.camel@ompc.insign.local> <20090506084834.61600c42.wmoran@potentialtech.com> <20090506161543.062ba223@hal9000.mebius.lv>

next in thread | previous in thread | raw e-mail | index | archive | help
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





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