Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 21:10:05 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>, Miguel Mendez <flynn@energyhq.es.eu.org>, freebsd-questions@freebsd.org
Subject:   Re: Slow directory access with lots of files
Message-ID:  <20050118051005.GA34559@xor.obsecurity.org>
In-Reply-To: <20050118003210.GA84803@falcon.midgard.homeip.net>
References:  <41EC0D80.8090403@totem.is-a-geek.com> <20050117191343.GA79136@xor.obsecurity.org> <20050117213425.595e6856.flynn@energyhq.es.eu.org> <20050117224911.GA31567@xor.obsecurity.org> <20050118003210.GA84803@falcon.midgard.homeip.net>

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

--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 18, 2005 at 01:32:10AM +0100, Erik Trulsson wrote:
> On Mon, Jan 17, 2005 at 02:49:11PM -0800, Kris Kennaway wrote:
> > On Mon, Jan 17, 2005 at 09:34:25PM +0100, Miguel Mendez wrote:
> > > On Mon, 17 Jan 2005 11:13:43 -0800
> > > Kris Kennaway <kris@obsecurity.org> wrote:
> > >=20
> > > Hi,
> > >=20
> > > > Do you have UFS_DIRHASH in your kernel?  If you don't, or if you ad=
ded
> > > > 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 dirha=
sh
> > > does all its magic in memory, without persistant data stored on disk.
> >=20
> > 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.
>=20
> No, this time it is you who are confused.  UFS_DIRHASH does not affect
> the layout on disk at all as far as I can tell.
> You are probably confusing it with the dirpref changes that were made
> back in 2001 at approximately the same time as UFS_DIRHASH was added.

Sorry, you're right!

Kris

--9amGYk9869ThD9tj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB7JotWry0BWjoQKURAr2UAKCbGUXDHNy2euVRA0GZ4E8W1XfaXgCfX+38
gdIT3G0sbw3K87CBHzjzXSg=
=gYJY
-----END PGP SIGNATURE-----

--9amGYk9869ThD9tj--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050118051005.GA34559>