From owner-freebsd-stable Fri Sep 28 14:41:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-153.dsl.lsan03.pacbell.net [63.207.60.153]) by hub.freebsd.org (Postfix) with ESMTP id 6ADA137B407 for ; Fri, 28 Sep 2001 14:41:47 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0169466D46; Fri, 28 Sep 2001 14:41:46 -0700 (PDT) Date: Fri, 28 Sep 2001 14:41:46 -0700 From: Kris Kennaway To: Alessandro de Manzano Cc: Sean Chittenden , Kris Kennaway , stable@FreeBSD.org Subject: Re: dirpref gives massive performance boost Message-ID: <20010928144146.A16221@xor.obsecurity.org> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010928233800.B29391@libero.sunshine.ale>; from ale@unixmania.net on Fri, Sep 28, 2001 at 11:38:00PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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