Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Dec 1998 18:35:58 -0600
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        "Joseph M. Scott" <jmscott@ainet.com>
Cc:        Bill Fumerola <billf@jade.chc-chimes.com>, questions@FreeBSD.ORG
Subject:   Re: mbufs, allocated memory and the like 
Message-ID:  <199812310035.SAA02373@portage.winternet.com>
In-Reply-To: Your message of "Wed, 30 Dec 1998 16:22:07 PST." <Pine.GSU.4.05.9812301617100.9275-100000@www.ainet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


> > Is the 96% in use something I should be worrying about? What kernel
> > options should I set higher.
> >
> > maxusers is 128
> > NMBCLUSTERS is 8192 (obviously, from the data above)
> 
> 	Somewhere I recall that the calculation for NMBCLUSTERS uses the
> maxusers setting.  So you may actually be lowering your mbuf's by
> specifically setting it.  I don't recall exactly what the calculation is,
> it's in the source somewhere :-)

Yes it is in /sys/conf/param.c:
#define NMBCLUSTERS (512 + MAXUSERS * 16)

or you could set  NMBCLUSTERS your kernel config file:
options NMBCLUSTERS=XXXX  (see LINT)

-- 

Nathan Ahlstrom
nrahlstr@winternet.com
nrahlstr@FreeBSD.ORG
http://www.FreeBSD.ORG/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812310035.SAA02373>