From owner-cvs-sys Thu Sep 25 09:46:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA27701 for cvs-sys-outgoing; Thu, 25 Sep 1997 09:46:42 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.129.26]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA27674; Thu, 25 Sep 1997 09:46:32 -0700 (PDT) Received: from critter.freebsd.dk (localhost.cybercity.dk [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id SAA00524; Thu, 25 Sep 1997 18:45:44 +0200 (CEST) To: Darren Reed cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern vfs_subr.c In-reply-to: Your message of "Fri, 26 Sep 1997 02:36:30 +1000." <199709251636.CAA00930@plum.cyber.com.au> Date: Thu, 25 Sep 1997 18:45:43 +0200 Message-ID: <522.875205943@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199709251636.CAA00930@plum.cyber.com.au>, Darren Reed writes: >> 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 ? no, which is why it is a sysctl variable. I was waiting for the commit mail to reach me, so I could send out the customary explanation: I belive that I have analysed the situation very carefully. I just needed measurements to confirm my conclusions. There could be cases where this is not a good idea, I havn't been able to find any so far. If you suspect you have such a condition do this: sysctl -w debug.wantfreevnodes=0 which will revert to the previous behaviour. Please report any cases where you need to do this. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop."