Date: Wed, 30 Dec 1998 19:43:04 -0500 (EST) From: Bill Fumerola <billf@jade.chc-chimes.com> To: "Joseph M. Scott" <jmscott@ainet.com> Cc: questions@FreeBSD.ORG Subject: Re: mbufs, allocated memory and the like Message-ID: <Pine.BSF.3.96.981230193232.24185A-100000@jade.chc-chimes.com> In-Reply-To: <Pine.GSU.4.05.9812301617100.9275-100000@www.ainet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 30 Dec 1998, Joseph M. Scott wrote: > I believe that the 96% in use refers to the number of mbufs > actually allocated, 209. It will then allocate more as they are needed up > until it hits the max, 8192 in this case. > I really like the output of netstat -m on 3.0 much better than on > 2.2.x, since it displays the max mbuf's also. Okay. Excellent. That makes a LOT more sense. > > > 0 requests for memory denied > > 0 requests for memory delayed > > 0 calls to protocol drain routines > > > > Is the 96% in use something I should be worrying about? What kernel > > options should I set higher. > > If my assumption above is correct ( by all means some one > straighten me out quickly if I'm not ) then it's not a problem and nothing > to worry about since you are not even close to your max. > > > > > 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 :-) > ./conf/param.c:#define NMBCLUSTERS (512 + MAXUSERS * 16) bash-2.01$ bc bc 1.03 (Nov 2, 1994) Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 512 + 128 * 16 2560 I'm raising it, unless the order of operations is different then I think. Thanks for your help, - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp - - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@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?Pine.BSF.3.96.981230193232.24185A-100000>