Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 1997 12:46:52 +1100 (EST)
From:      andrew@ugh.net.au
To:        "Gregory, Scott, SrA, SAF/AADXT" <gregorys@af.pentagon.mil>
Cc:        The FreeBSD Questions List <questions@freebsd.org>
Subject:   RE: Mbuf allocation or lack there of 
Message-ID:  <Pine.BSF.3.96.971125124228.29340E-100000@depravitas.tuu.utas.edu.au>
In-Reply-To: <A1D69BFE912ED111A5BB00A0C95DDDDCA1F2@afp1.hq.af.mil>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Nov 1997, Gregory, Scott, SrA, SAF/AADXT wrote:

> 3.  Does the generic kernel (with max users set to 100 and maxmem set to
> 96megs) allocate more mbufs than my custom kernel with maxusers set to
> 128 and NMBCLUSTERS set to 4096?  The reason I ask this is because the
> slightly modified kernel was able to attain a maximum of 2318 mbufs
> where as the modified kernel was only able to get to 1136.

If you dont have a NMBCLUSTERS= line then they are set to (512 + MAXUSERS
* 16). nmbufs are then set to 4 times that amount.

GENERIC with 100 users would have (512 + 100 * 16) * 4 = 8448 nmbufs.
Your kernel would have 4096 * 4 = 16384 nmbufs.

I could be completely wrong....

Andrew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971125124228.29340E-100000>