Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!uunet!in2.uu.net!news.TACONIC.NET!usenet From: Bill Kish <kish@browncow.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to increase # of kernel mbufs? Date: Mon, 11 Nov 1996 21:52:06 -0500 Organization: Brown Cow Engineering Inc Lines: 40 Message-ID: <3287E656.41C6@browncow.com> References: <564pa1$ggr@muenchen.photogrammetrie.de> NNTP-Posting-Host: co_anx_p9.taconic.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22) To: Gerhard Mehldau <mehldau@photogrammetrie.de> Gerhard Mehldau wrote: > > Hello world, > > as the subject says: how do I increase the number of kernel mbufs? > > I have looked around the kernel files, and found a parameter called > NMBCLUSTERS, which (unless defined directly) is computed as a function > of MAXUSERS. Since I'm new to kernel hacking, I'd like some > confirmation that I'm on the right track before proceeding... > I was just looking into the same thing. It appears that 4.4 BSD and FreeBSD do not maintain a seperate mbuf pool like some other Unix's. Mbufs are just malloc()'d out of the kernel heap and free()'d when m_free() is called. (The cluster mbufs are different as you found). I wonder if there would be anything to be gained by having the mbufs allocated out of a private pool? -BK -- ---------------------------------------------------------------------- Brown Cow Engineering, Inc Unix internals development, Distributed Systems, Scalable servers Tel: (518) 789-4181 Email: kish@browncow.com ----------------------------------------------------------------------