Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 14:41:46 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alessandro de Manzano <ale@unixmania.net>
Cc:        Sean Chittenden <sean@chittenden.org>, Kris Kennaway <kris@obsecurity.org>, stable@FreeBSD.org
Subject:   Re: dirpref gives massive performance boost
Message-ID:  <20010928144146.A16221@xor.obsecurity.org>
In-Reply-To: <20010928233800.B29391@libero.sunshine.ale>; from ale@unixmania.net on Fri, Sep 28, 2001 at 11:38:00PM %2B0200
References:  <20010928141246.A15515@xor.obsecurity.org> <20010928232009.A29187@libero.sunshine.ale> <20010928142611.A15946@xor.obsecurity.org> <20010928143016.H29974@rand.tgd.net> <20010928233800.B29391@libero.sunshine.ale>

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

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

On Fri, Sep 28, 2001 at 11:38:00PM +0200, Alessandro de Manzano wrote:
> On Fri, Sep 28, 2001 at 02:30:16PM -0700, Sean Chittenden wrote:
>=20
> > > Well, you need to wipe the disk so that when you restore it can lay
> > > things out optimally from the start.
> >=20
> > But turning on soft-updates should be sufficient to get these performan=
ce=20
> > boosts from this point on, correct?  -sc
>=20
> AFAIK SU is not related to the physical layout of data on disk, this is
> the work of UFS_DIRHASH.

No, that's something different.

# Directory hashing improves the speed of operations on very large
# directories at the expense of some memory.
# Warning: this is experimental code!
options         UFS_DIRHASH

The changes to dirpref are an improved on-disk layout policy for
directories (and files?)  It's enabled by default because there's no
downside.

Kris

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7tO6aWry0BWjoQKURAggJAJ9sZPI/w/SL1XeeVn4q6RMGAX2JTwCeLNqu
/6Vqz/tySKfiksW6rlfYtMw=
=mnFq
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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