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!news.maxwell.syr.edu!news-xfer.mccc.edu!news.theriver.com!roadrunner From: marcus@theriver.com (Marcus Needham) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Increasing VNODES Date: Mon, 12 May 1997 23:19:25 GMT Organization: The River Lines: 26 Message-ID: <5l88hu$2n3$1@news.theriver.com> References: <5l7kc1$gq$1@news.theriver.com> <5l83fn$p0@lovecraft.nwnet.net> NNTP-Posting-Host: roadrunner.qa-net.theriver.com X-Newsreader: News Xpress 2.01 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6863 In article <5l83fn$p0@lovecraft.nwnet.net>, aad@nwnet.net wrote: >>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. I have already increased these to: options KMAPENTRIES=2048 options NMBCLUSTERS=1024 options "KMEMSIZE=\(24*1024*1024\)" and all looks well. I guess I will creep kern.maxvnodes up and see what happens... /// Marcus Needham /// marcus@theriver.com \\\ VP & Webmaster \\\ The River, Tucson AZ USA, http://www.theriver.com/