From owner-freebsd-stable Thu Apr 22 20:25: 6 1999 Delivered-To: freebsd-stable@freebsd.org Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (Postfix) with ESMTP id 46ADA154C2 for ; Thu, 22 Apr 1999 20:25:02 -0700 (PDT) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id AAA04172; Fri, 23 Apr 1999 00:22:29 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199904230322.AAA04172@roma.coe.ufrj.br> Subject: Re: nmbclusters=4096 doesn't increase mbufs In-Reply-To: <199904222256.SAA12478@easeway.com> from "mwlucas@exceptionet.com" at "Apr 22, 1999 6:56:43 pm" To: mwlucas@exceptionet.com Date: Fri, 23 Apr 1999 00:22:29 -0300 (EST) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG #define quoting(mwlucas@exceptionet.com) // We have a 2.2.8-stable box running IPFilter. This box keeps runninng out // of mbufs very quickly. // // We have a kernel (full config below) that includes the following lines: // // maxusers 256 // options "NMBCLUSTERS=4096" // // This should give us a whole heap of mbufs. // // A netstat -m, however, shows us: // // scooby# netstat -m // 136 mbufs in use: // 130 mbufs allocated to data // 1 mbufs allocated to packet headers // 4 mbufs allocated to protocol control blocks // 1 mbufs allocated to socket names and addresses // 128/132 mbuf clusters in use // 281 Kbytes allocated to network (97% in use) // 0 requests for memory denied // 0 requests for memory delayed // 0 calls to protocol drain routines Are you sure you did reboot with this kernel ? Even if options NMBCLUSTERS was wrong (and this is not the case), the default for 256 users is 512 + MAXUSERS * 16 = 4608 Jonny -- João Carlos Mendes Luís jonny@jonny.eng.br To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message