From owner-freebsd-stable Sun Sep 30 5:55:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from blount.mail.mindspring.net (blount.mail.mindspring.net [207.69.200.226]) by hub.freebsd.org (Postfix) with ESMTP id 309C537B40C for ; Sun, 30 Sep 2001 05:55:17 -0700 (PDT) Received: from netcom1.netcom.com (user-38ldm63.dialup.mindspring.com [209.86.216.195]) by blount.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id IAA28868; Sun, 30 Sep 2001 08:55:13 -0400 (EDT) Received: by netcom1.netcom.com (Postfix, from userid 1000) id B9899133B4; Sun, 30 Sep 2001 05:55:11 -0700 (PDT) From: Mike Harding To: kris@obsecurity.org Cc: stable@FreeBSD.org In-reply-to: <20010928141246.A15515@xor.obsecurity.org> (message from Kris Kennaway on Fri, 28 Sep 2001 14:12:46 -0700) Subject: Re: dirpref gives massive performance boost References: <20010928141246.A15515@xor.obsecurity.org> Message-Id: <20010930125511.B9899133B4@netcom1.netcom.com> Date: Sun, 30 Sep 2001 05:55:11 -0700 (PDT) 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 Can some of this benefit be realized w/o the newfs? If I have a few directories like /usr/src, squid cache, etc, if I tar them up and then untar them, will they get the goods, or is the newfs absolutely necessary? I have a number of systems that have only one disk, and no 4.4-STABLE install CD, so obviously the newfs option with 4.4-STABLE is a little awkward... - Mike H. Date: Fri, 28 Sep 2001 14:12:46 -0700 From: Kris Kennaway Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-stable@FreeBSD.ORG List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Precedence: bulk --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, Just a note to those who have updated to 4.4-STABLE that it's well worth doing a backup + newfs + restore on all your UFS volumes. The "dirpref" UFS changes which went in after 4.4-RELEASE give a significant performance boost to common filesystem operations. For example: cvs update on my /usr/src from a local CVS repository used to take 1200 seconds, pre-dirpref. It now takes 400 seconds - that's a factor of 3 faster on a real-world benchmark. I forgot to time cvs update in ports before I newfs'ed, but I'd expect the performance gain to be even higher because the ports tree is chock full of directories. Truly impressive.. Kris --7JfCtLOvnd9MIVvH 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 iD8DBQE7tOfOWry0BWjoQKURAg8jAJ9bDV1MEpaWxGHjoqGEoEj6eemoLACg+q0a UDjGbUjLeXnYtyHkjlj2Grc= =pQoi -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message