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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig9CA6E9D26429C28EACEB558E
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 f=
or the task.
>=20
> $ 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
>=20
> So it's active, but probably too small as you suggest. Can I update thi=
s
> value "on the fly" or does it require a reboot (+ settings in
> loader.conf) ?=20

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.


--------------enig9CA6E9D26429C28EACEB558E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig9CA6E9D26429C28EACEB558E--




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