From owner-freebsd-performance@FreeBSD.ORG Fri May 15 11:29:47 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F3C2106566C for ; Fri, 15 May 2009 11:29:47 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id CB6658FC0A for ; Fri, 15 May 2009 11:29:46 +0000 (UTC) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M4vbk-00010o-OV for freebsd-performance@freebsd.org; Fri, 15 May 2009 11:29:44 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2009 11:29:44 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 May 2009 11:29:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: Ivan Voras Date: Fri, 15 May 2009 13:29:28 +0200 Lines: 42 Message-ID: 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9CA6E9D26429C28EACEB558E" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: <1241622146.16418.128.camel@ompc.insign.local> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: filesystem: 12h to delete 32GB of data X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 11:29:47 -0000 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--