From owner-freebsd-stable Tue Nov 13 3:18:45 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailout2.informatik.tu-muenchen.de (mailout2.informatik.tu-muenchen.de [131.159.254.8]) by hub.freebsd.org (Postfix) with ESMTP id 3BB6637B416 for ; Tue, 13 Nov 2001 03:18:39 -0800 (PST) Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by mailout2.informatik.tu-muenchen.de (Postfix) with ESMTP id 07FB38123; Tue, 13 Nov 2001 12:18:38 +0100 (MET) Received: from atrbg11.informatik.tu-muenchen.de (atrbg11.informatik.tu-muenchen.de [131.159.24.91]) by tuminfo2.informatik.tu-muenchen.de (Postfix) with ESMTP id 4C3F010AC1; Tue, 13 Nov 2001 12:18:34 +0100 (MET) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id 8EC44136E3; Tue, 13 Nov 2001 12:18:37 +0100 (CET) Date: Tue, 13 Nov 2001 12:18:37 +0100 From: Daniel Lang To: Bill Moran Cc: freebsd-stable@FreeBSD.ORG Subject: Re: dirpref benefit on virtual disks Message-ID: <20011113121837.A34946@atrbg11.informatik.tu-muenchen.de> References: <20011112152726.A10505@atrbg11.informatik.tu-muenchen.de> <3BF013B8.8070009@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BF013B8.8070009@potentialtech.com>; from wmoran@potentialtech.com on Mon, Nov 12, 2001 at 01:23:52PM -0500 X-Geek: GCS/CC d-- s: a- C++$ UBS++++$ P+++$ L- E-(---) W+++(--) N++ o K w--- O? M? V? PS+(++) PE--(+) Y+ PGP+ t++ 5+++ X R+(-) tv+ b+ DI++ D++ G++ e+++ h---(-) r++>+++ y+ 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 Hi, Bill Moran wrote on Mon, Nov 12, 2001 at 01:23:52PM -0500: [..] > That being said, I don't _know_. It would be interesting to test > it. Since you're already considering recreating directories, why > not do a test to see if it's worth it? Just take a directory tree [..] I just did it. I've copied the FreeBSD mirror (which should be complicated enough) onto a free partition, and then ran a find on the original location and then on the new one. The find command was: find . -print > /dev/null the result seemed convincing old dirpref: 2.97s user 67.45s system 6% cpu 17:36.22 total new dirpref: 2.09s user 5.94s system 5% cpu 2:39.32 total But I cannot rule our side-effects. The system is not quiet, and the array with the old code is much more busy than the spare one, which is not busy at all. Anyway, I will recreate the tree on the busy array und do the test again. Thanks so far, Daniel -- IRCnet: Mr-Spock - Burn them to ashes, then burn the ashes. - *Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message