From owner-freebsd-questions Mon Nov 24 17:47:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA24709 for questions-outgoing; Mon, 24 Nov 1997 17:47:06 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from css.tuu.utas.edu.au (css.tuu.utas.edu.au [131.217.115.65]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA24704 for ; Mon, 24 Nov 1997 17:47:02 -0800 (PST) (envelope-from andrew@ugh.net.au) From: andrew@ugh.net.au Received: from localhost (acs@localhost) by css.tuu.utas.edu.au (8.8.8/8.8.5) with SMTP id MAA29429; Tue, 25 Nov 1997 12:46:52 +1100 (EST) X-Authentication-Warning: depravitas.tuu.utas.edu.au: acs owned process doing -bs Date: Tue, 25 Nov 1997 12:46:52 +1100 (EST) To: "Gregory, Scott, SrA, SAF/AADXT" cc: The FreeBSD Questions List Subject: RE: Mbuf allocation or lack there of In-Reply-To: Message-ID: X-Meaning-of-Life: none X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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