Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 20:09:23 -0700
From:      "Chad R. Larson" <chad@DCFinc.com>
To:        "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc:        "Chad R. Larson" <chad@DCFinc.com>, Rasputin <rasputin@submonkey.net>, Garance A Drosihn <drosih@rpi.edu>, Doug Poland <doug@polands.org>, stable@FreeBSD.ORG
Subject:   Re: dirpref gives massive performance boost
Message-ID:  <20011018200923.A1948@freeway.dcfinc.com>
In-Reply-To: <01c701c157fa$d8449ba0$fe0c4042@inethouston.net>; from dwcjr@inethouston.net on Thu, Oct 18, 2001 at 12:32:22PM -0500
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> <p05101005b7f4bb89498e@[128.113.24.47]> <01c101c157f9$87868da0$fe0c4042@inethouston.net> <20011018103048.B545@freeway.dcfinc.com> <01c701c157fa$d8449ba0$fe0c4042@inethouston.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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