*BSD News Article 95184


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news-peer.gsl.net!hammer.uoregon.edu!netnews.nwnet.net!nwnet.net!not-for-mail
From: aad@nwnet.net (Anthony Talltree)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Increasing VNODES
Date: 12 May 1997 14:52:55 -0700
Organization: NorthWestNet, Bellevue, WA, USA, Earth
Lines: 14
Message-ID: <5l83fn$p0@lovecraft.nwnet.net>
References: <5l7kc1$gq$1@news.theriver.com>
Reply-To: aad@nwnet.net
NNTP-Posting-Host: lovecraft.nwnet.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6860

>According to a discussion on news.software.nntp increasing VNODES
>may help boost news server performance.  Anyone know the correct way
>to do this? In param.c NVODE looks like a likely variable, but it seems to be 
>derived solely from MAXUSERS (which I already have set to 256) rather than 
>being able to be set independently.

/usr/sbin/sysctl -w kern.maxvnodes=30000

I'd be concerned about this starving other uses of kmem, though.  BSDI seems
to share a pool of kernel memory among vnodes, mbufs, and so forth -- they
contend for it.

Some recommend increasing NMBCLUSTERS and KMAPENTRIES, but I've had stability
problems doing that.