Date: Thu, 17 Aug 2000 13:40:44 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: Xiaowei Yang <yxw@mit.edu> Cc: freebsd-net@freebsd.org Subject: Re: how to set nmbufs Message-ID: <Pine.BSF.4.21.0008171339370.17282-100000@achilles.silby.com> In-Reply-To: <200008171440.KAA17967@cordelia.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Aug 2000, Xiaowei Yang wrote: > Greetings, everyone, > > I am doing some simulation that needs to allocate as many nmbufs as > possible. I could not figure out how to set nmbufs to be the maximum > value allowd by my physical memory. I tired to mannual set it to be a > huge number, for example, 128MB/128B=1M (I have 196M memory) and used > netstat -m to monitor the real allocated nmbufs. However, when it > reached some value lower that a 1M, a kernel page fault happened. Use options NMBCLUSTERS in your kernel config file to set it. See LINT/NOTES for usage examples. The number of nmbufs will be 4x what you set this value to. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" 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.4.21.0008171339370.17282-100000>