From owner-freebsd-stable Sat Jun 29 16:39:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67F7037B400 for ; Sat, 29 Jun 2002 16:39:13 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D910D43E06 for ; Sat, 29 Jun 2002 16:39:12 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id ; Sat, 29 Jun 2002 19:39:12 -0400 Message-ID: From: Don Bowman To: "'freebsd-stable@freebsd.org'" Subject: number mbufs / cluster Date: Sat, 29 Jun 2002 19:39:03 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have an application where there is lots of connections, but packet sizes aren't that large. I'm running into the problem where I need an enormous amount of clusters, but the number of mbufs needed isn't as big: $ netstat -m 141164/141200/512000 mbufs in use (current/peak/max): 141163 mbufs allocated to data 1 mbufs allocated to fragment reassembly queue headers 127997/128000/128000 mbuf clusters in use (current/peak/max) 291300 Kbytes allocated to network (10% of mb_map in use) 121192 requests for memory denied 7 requests for memory delayed 0 calls to protocol drain routines bash-2.05a# All mbuf clusters exhausted, please see tuning(7). Is there a way to change the number of mbufs allocated per cluster? Is this a good thing to do for an application like this? As you can see, I've got quite a bit of memory allocated to the network here, and I can't really spare any more. --don To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message