From owner-freebsd-stable Sun Sep 30 8:44:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 721A737B40F for ; Sun, 30 Sep 2001 08:44:29 -0700 (PDT) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f8UFeMR22574; Sun, 30 Sep 2001 11:40:22 -0400 (EDT) Message-ID: <3BB73E1C.E1DF2CBC@iowna.com> Date: Sun, 30 Sep 2001 11:45:32 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-RC i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Harding Cc: stable@FreeBSD.ORG Subject: Re: dirpref gives massive performance boost References: <20010928141246.A15515@xor.obsecurity.org> <20010930125511.B9899133B4@netcom1.netcom.com> <3BB72F99.4090405@rshb.com.ru> <20010930152404.581A8133C1@netcom1.netcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Mike Harding wrote: > > Um - what about my question? Is the newfs necessary? Repartitioning, > backup, and restore also require a backup medium, etc. The dirpref is a policy that determines how data is written to the disk, so it will be faster when read back. If you simply start using it, without newfsing the disk, you will only see performance improvements on data that is written after it was implemented (assuming there is enough free space on the disk to write the data according to the optimum layout) Redoing the partition will allow the new dirpref math to lay out the whole disk in a more optimum manner, giving across the boards performance improvements. So, no, newfs is not necessary, but depending on your usage of the disk, the improvement may not be very noticable. -- "Where's the robot to pat you on the back?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message