From owner-cvs-all Thu Mar 21 19:10:59 2002 Delivered-To: cvs-all@freebsd.org Received: from patrocles.silby.com (d135.as15.nwbl0.wi.voyager.net [169.207.136.73]) by hub.freebsd.org (Postfix) with ESMTP id 9BB4337B419; Thu, 21 Mar 2002 19:10:52 -0800 (PST) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.2/8.12.2) with ESMTP id g2M9905d004346; Fri, 22 Mar 2002 03:09:00 -0600 (CST) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.2/8.12.2/Submit) with ESMTP id g2M98wkp004343; Fri, 22 Mar 2002 03:09:00 -0600 (CST) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Fri, 22 Mar 2002 03:08:58 -0600 (CST) From: Mike Silbersack To: David Malone Cc: cvs-committers@FreeBSD.org, Subject: Re: cvs commit: src/sys/ufs/ufs ufs_dirhash.c In-Reply-To: <200203202001.aa48408@salmon.maths.tcd.ie> Message-ID: <20020322030707.F3059-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 20 Mar 2002, David Malone wrote: > > > mean #probes for > > > home dir mh inbox news/cancel tmp squid2 squid3 > > > old successful 1.02 3.19 4.07 1.10 7.85 2.06 > > > new successful 1.04 1.32 1.27 1.04 1.93 1.17 > > > > > > old unsuccessful 1.08 4.50 5.37 1.17 10.76 2.69 > > > new unsuccessful 1.08 1.73 1.64 1.17 2.89 1.37 > > > What do the numbers look like w/o DIRHASH? I'm curious... > > The closest thing I could produce to a direct comparison would be > the number of blocks fetched from the buffer cache. For a successful > lookup this is (dirsize/2) and for an unsuccessful lookup (dirsize). > For the table above: > > home dir mh inbox news/cancel tmp squid2 squid3 > unsuccessful 47 58 3987 24 8 13 > successful 23.5 29 1993.5 12 4 6.5 Hmph. Here I thought you were increasing performance enormously, and it turns out that the "old" DIRHASH is still far better than the baseline. Oh well... :) Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message