*BSD News Article 82604


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!howland.erols.net!blackbush.xlink.net!isar.de!photogrammetrie.de!newsmaster
From: mehldau@photogrammetrie.de (Gerhard Mehldau)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: How to increase # of kernel mbufs?
Date: 10 Nov 1996 14:36:49 GMT
Organization: Photogrammetrie GmbH
Lines: 28
Message-ID: <564pa1$ggr@muenchen.photogrammetrie.de>
NNTP-Posting-Host: muenchen.photogrammetrie.de
X-Newsreader: TIN [version 1.2 PL2]


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...

So, *if* this *is* the correct parameter to modify, is there an
"official" way of defining it in /usr/src/sys/i386/conf/MYKERNEL,
or do I have to do tweak the Makefile in /usr/src/sys/compile/MYKERNEL
manually?

And, if this *isn't* the right one, then which one is (and how do
I go about modifying it)?

Gerhard

P.S.: Note that I don't want to increase MAXUSERS summarily, but
      only the number of mbufs separately.

---------------------------------------------------------------------------
    Gerhard Mehldau            http://www.photogrammetrie.de
    Photogrammetrie GmbH       mailto:mehldau@photogrammetrie.de
    Anzinger Str. 5            phone: +49 (89) 43 69 2-1 64
    81671 Munich, Germany      fax:   +49 (89) 43 69 2-1 00