From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 22:49:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A674516A4CF for ; Mon, 17 Jan 2005 22:49:12 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F47743D6B for ; Mon, 17 Jan 2005 22:49:12 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6717951506; Mon, 17 Jan 2005 14:49:11 -0800 (PST) Date: Mon, 17 Jan 2005 14:49:11 -0800 From: Kris Kennaway To: Miguel Mendez Message-ID: <20050117224911.GA31567@xor.obsecurity.org> References: <41EC0D80.8090403@totem.is-a-geek.com> <20050117191343.GA79136@xor.obsecurity.org> <20050117213425.595e6856.flynn@energyhq.es.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20050117213425.595e6856.flynn@energyhq.es.eu.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: Slow directory access with lots of files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 22:49:12 -0000 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 17, 2005 at 09:34:25PM +0100, Miguel Mendez wrote: > On Mon, 17 Jan 2005 11:13:43 -0800 > Kris Kennaway wrote: >=20 > Hi, >=20 > > Do you have UFS_DIRHASH in your kernel? If you don't, or if you added > > it after the disk was already populated, you'll see the benefits if > > you dump, wipe and restore the disk. >=20 > Could you elaborate on that? My impression has always been that dirhash > does all its magic in memory, without persistant data stored on disk. No. It's an optimized method for laying out the data on disk. I think you're confusing it with softupdates, but that still doesn't work entirely that way. Kris --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB7EDnWry0BWjoQKURAtFYAKDjoU8mLDU716kzcVAYUR9BLRjUdwCgvuO4 Sx/49Fgd4mn/fCf2VfQLmOA= =tN3o -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+--