From owner-freebsd-stable Fri Nov 16 6:21: 5 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.254.5]) by hub.freebsd.org (Postfix) with ESMTP id 656F637B405 for ; Fri, 16 Nov 2001 06:21:02 -0800 (PST) Received: from tuminfo2.informatik.tu-muenchen.de (tuminfo2.informatik.tu-muenchen.de [131.159.0.81]) by mailout1.informatik.tu-muenchen.de (Postfix) with ESMTP id 92AD97976; Fri, 16 Nov 2001 15:20:57 +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 D727B10AC1; Fri, 16 Nov 2001 15:20:53 +0100 (MET) Received: by atrbg11.informatik.tu-muenchen.de (Postfix, from userid 20455) id 0976A1370F; Fri, 16 Nov 2001 15:20:57 +0100 (CET) Date: Fri, 16 Nov 2001 15:20:57 +0100 From: Daniel Lang To: Bill Moran Cc: freebsd-stable@FreeBSD.ORG Subject: Re: dirpref benefit on virtual disks Message-ID: <20011116152056.F44535@atrbg11.informatik.tu-muenchen.de> References: <20011112152726.A10505@atrbg11.informatik.tu-muenchen.de> <3BF013B8.8070009@potentialtech.com> <20011113121837.A34946@atrbg11.informatik.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011113121837.A34946@atrbg11.informatik.tu-muenchen.de>; from dl@leo.org on Tue, Nov 13, 2001 at 12:18:37PM +0100 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 Again, Daniel Lang wrote on Tue, Nov 13, 2001 at 12:18:37PM +0100: [..] > 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. I did that now, and still result is convincing: 2.44s user 7.35s system 5% cpu 3:04.66 total this is just slightly longer than on the quiet array, and still much faster than before. So I guess one can say it definitely improves things on virtual disks, too. I can only recommend to recreate the directories to anyone. Best regards, Daniel -- IRCnet: Mr-Spock - ceterum censeo Microsoftinem esse delendam - *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