From owner-freebsd-stable Thu Oct 18 20:12: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id A76D637B403 for ; Thu, 18 Oct 2001 20:12:04 -0700 (PDT) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id UAA02011; Thu, 18 Oct 2001 20:09:23 -0700 (MST) (envelope-from chad) Date: Thu, 18 Oct 2001 20:09:23 -0700 From: "Chad R. Larson" To: "David W. Chapman Jr." Cc: "Chad R. Larson" , Rasputin , Garance A Drosihn , Doug Poland , stable@FreeBSD.ORG Subject: Re: dirpref gives massive performance boost Message-ID: <20011018200923.A1948@freeway.dcfinc.com> References: <20010928141246.A15515@xor.obsecurity.org> <20011002212002.4034283f.steveo@eircom.net> <20011002214353.A653@student.uu.se> <20011018083713.A20403@polands.org> <20011018144850.A1943@shikima.mine.nu> <20011018105736.A43973@leviathan.inethouston.net> <01c101c157f9$87868da0$fe0c4042@inethouston.net> <20011018103048.B545@freeway.dcfinc.com> <01c701c157fa$d8449ba0$fe0c4042@inethouston.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01c701c157fa$d8449ba0$fe0c4042@inethouston.net>; from dwcjr@inethouston.net on Thu, Oct 18, 2001 at 12:32:22PM -0500 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 On Thu, Oct 18, 2001 at 12:32:22PM -0500, David W. Chapman Jr. wrote: >> If it's a UFS, and you're running a new enough kernel, it's getting >> done. Of course, it can only be smart about stuff written to the >> disk after you built the new kernel. If your disk is mostly empty, >> you're cool. If it's pretty full you should back it up, delete >> everything (newfs is the fastest way) and then restore all your >> data. >> > Well yes, but I would like to avoid all of this if it is > already using dirpref. I currently don't have enough drive > space to fully backup my 24gig stripe set. Any directories created after you installed a kernel with the new filesystem layout code will have the more optimized layout. Directories created earlier will have the layout they've always had. Since there's not a switch to turn on/off or test, there's no good way to tell how close to optimal your current disk is. You can force it to be nice by dumping and restoring it. Otherwise, I'd say the create date/time stamp compared against a calendar would give you your best guess. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.com DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message