Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 13:29:28 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-performance@freebsd.org
Subject:   Re: filesystem: 12h to delete 32GB of data
Message-ID:  <gujjmo$jfa$1@ger.gmane.org>
In-Reply-To: <1241622146.16418.128.camel@ompc.insign.local>
References:  <1241610888.16418.64.camel@ompc.insign.local>	<20090506084834.61600c42.wmoran@potentialtech.com>	<20090506161543.062ba223@hal9000.mebius.lv> <1241622146.16418.128.camel@ompc.insign.local>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoNUhgACgkQldnAQVacBciEEwCg1GfmEdIXJgpsUNJbJvy8IMUe
IYgAoMiro5F7Xq4XUdLC97KZvOkGkQ87
=5oyD
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gujjmo$jfa$1>