From owner-cvs-sys Thu Sep 25 09:36:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA26814 for cvs-sys-outgoing; Thu, 25 Sep 1997 09:36:48 -0700 (PDT) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA26785; Thu, 25 Sep 1997 09:36:34 -0700 (PDT) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id CAA00930; Fri, 26 Sep 1997 02:36:30 +1000 From: Darren Reed Message-Id: <199709251636.CAA00930@plum.cyber.com.au> Subject: Re: cvs commit: src/sys/kern vfs_subr.c To: phk@FreeBSD.ORG (Poul-Henning Kamp) Date: Fri, 26 Sep 1997 02:36:30 +1000 (EST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG In-Reply-To: <199709251618.JAA22355@freefall.freebsd.org> from "Poul-Henning Kamp" at Sep 25, 97 09:18:00 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Poul-Henning Kamp, sie wrote > > phk 1997/09/25 09:18:00 PDT > > Modified files: > sys/kern vfs_subr.c > Log: > Reduce the target number of vnodes on the freelist from desiredvnodes > (usually a couple of thousand) to 25. The measured impact on cache-hits > doesn't justify spending memory this way: > > Target number of free vnodes versus namecache hit rate in % during a > make world: > 10 98.5316 > 200 98.5479 > 500 98.5546 > 1000 98.5709 > 3000 98.6006 > 4000 98.6126 Is this always a good measure of a file system ? Sure, there maybe other reasons to do it, but to me, "make world" doesn't exactly exhibit random file system behaviour or anything but intensive use of certain parts, in a certain order for a set amount of time. All in all a very limited behaviour pattern which will cache well, as opposed to (say) 200 users connecting to a news server. I'd be more interested in some other results, if they're available...? Darren