From owner-freebsd-net Sun Aug 27 11:37:17 2000 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B978537B43C for ; Sun, 27 Aug 2000 11:37:10 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7RIb9N09861; Sun, 27 Aug 2000 11:37:09 -0700 (PDT) Date: Sun, 27 Aug 2000 11:37:09 -0700 From: Alfred Perlstein To: Ping Yuan Cc: freebsd-net@FreeBSD.ORG Subject: Re: Setting buffer size. Message-ID: <20000827113709.C1209@fw.wintelcom.net> References: <20000827174129.15742.qmail@web1607.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000827174129.15742.qmail@web1607.mail.yahoo.com>; from yuanpinghh@yahoo.com on Sun, Aug 27, 2000 at 10:41:29AM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Ping Yuan [000827 10:34] wrote: > Hi, > > I am now using Freebsd 3.2 as a router. I noticed that > when the router was busy, more packets would be > dropped. What I want to do is to have a larger buffer > size, then, less packets will be dropped. > > It seems freeBSD should have a configuration of its > total buffer size. Can you point me to this code? > > Thanks in advance, See "man loader" kern.ipc.nmbclusters Set the number of mbuf clusters to be allocated. The value cannot be set below the default determined when the kernel was compiled. Modifies NMBCLUSTERS. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message