Skip site navigation (1)Skip section navigation (2)
Date:      08 May 1998 12:53:56 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        Chris Fanning <cfanning@jingoro.prevmed.sunysb.edu>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: MBUFs and IPFW revisited
Message-ID:  <xzp90odvxrv.fsf@skejdbrimir.ifi.uio.no>
In-Reply-To: Chris Fanning's message of "Thu, 7 May 1998 15:49:03 %2B0000 (GMT)"
References:  <199805071549.PAA05805@jingoro.prevmed.sunysb.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Fanning <cfanning@jingoro.prevmed.sunysb.edu> writes:
> options "NMBCLUSTERS=1024"

As DG pointed out, the Fine Documentation (otherwise known as Source
Code, or /usr/src/sys/conf/param.c) is a good place to look for
information on mbufs. Carfeul reading of the aforementioned file
uncovers the fact that the default value for NMBCLUSTERS is (512 +
MAXUSERS * 16). This means that unless you had MAXUSERS set to
something below 32, setting NMBCLUSTERS to 1024 may not have had the
effect you intended, since 512 + 32 * 16 = 1024.

I have plenty of RAM to blow on my home -stable box, so I have
MAXUSERS set to 64 and NMBCLUSTERS set to 8192.

-- 
Noone else has a .sig like this one.

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?xzp90odvxrv.fsf>