filesystem: 12h to delete 32GB of data
Ivan Voras
ivoras at freebsd.org
Fri May 15 11:29:47 UTC 2009
Olivier Mueller wrote:
> 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) ?
It's a regular sysctl - you can update it on runtime. Try setting it to
8 M and only increase if it needs to be increased.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-performance/attachments/20090515/25a4ae8b/signature.pgp
More information about the freebsd-performance
mailing list