From owner-freebsd-hackers Wed Jul 9 07:15:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA16228 for hackers-outgoing; Wed, 9 Jul 1997 07:15:23 -0700 (PDT) Received: from kaori.communique.net (kaori.Communique.Net [204.27.65.55]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA16222 for ; Wed, 9 Jul 1997 07:15:19 -0700 (PDT) Received: by kaori.Communique.Net with Internet Mail Service (5.0.1457.3) id <3PASSYY9>; Wed, 9 Jul 1997 09:14:47 -0500 Message-ID: From: Raul Zighelboim To: hackers@FreeBSD.ORG Subject: RE: kern.maxvnodes and systat -v Date: Wed, 9 Jul 1997 09:14:45 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Is there a way I can increase the # of Kbytes fro buffers ? Thanks. > `buf' gives the number of Kbytes for buffers. It has nothing to do > with > kern.maxvnodes. > > The kern.maxvnodes sysctl is somewhat broken in all versions of > FreeBSD. > In all released versions, it changes a limit on the number of vnodes > but not the size of the namecache hash table. This isn't much of a > problem in practice. In some old unreleased versions, kern.maxvnodes > was readonly. In -current, changing the variable behind > kern.maxvnodes > (desirevnodes) is a no-op (desiredvnodes no longer has anything to do > with vnodes; it is only used to size the namecache hash table, and > this > table is initialized before the kern.maxvnode sysctl can be executed). > > Bruce