From owner-freebsd-arch Tue Jul 4 3:43:38 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 1467E37B720 for ; Tue, 4 Jul 2000 03:43:35 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id UAA02450; Tue, 4 Jul 2000 20:43:25 +1000 Date: Tue, 4 Jul 2000 20:43:21 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Alfred Perlstein Cc: arch@FreeBSD.ORG Subject: Re: HEADSUP: Re: name cache size In-Reply-To: <20000702141740.S25571@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 2 Jul 2000, Alfred Perlstein wrote: > * Sitaram Iyer [000702 14:15] wrote: > > Thus, Alfred Perlstein wrote... > > > > how can I increase the size of freebsd's name cache? > > > sysctl -w vfs.vmiodirenable=1 > > > > thanks, that worked. > > I would like to make this the default in 5.0 so the bugs (if any) can > be worked out. > > sysctl -w vfs.vmiodirenable=1 > > I'm aware of the bloat of the dirsize for the default case, and it's a > bogus argument, we need to be able to cache correctly for performance > reasons. The current default is for performance reasons. It may be the wrong space-time tradeoff for systems with enough memory, but I think this is only because caching is poorly implemented in the non-VMIO case (we discard B_MALLOC'ed blocks too soon because we don't invest enough in resources to map them). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message