From owner-freebsd-questions Sun Apr 19 22:08:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA25459 for freebsd-questions-outgoing; Sun, 19 Apr 1998 22:08:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25377 for ; Mon, 20 Apr 1998 05:07:45 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id WAA08786; Sun, 19 Apr 1998 22:07:37 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Sun, 19 Apr 1998 22:07:37 -0700 (PDT) From: Doug White Reply-To: Doug White To: Mike Tancsa cc: questions@FreeBSD.ORG Subject: Re: routers, kernel parameters and bizarro netstat -m output In-Reply-To: <3.0.2.32.19980419193531.0251a100@sentex.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 19 Apr 1998, Mike Tancsa wrote: > > Can anyone reccomend any kernel parameter tweaks for a FreeBSD 2.2-STABLE > box that will act as a multi port router ? (3 fxp interfaces). The machine > will only running gated with OSPF interally for now, and fairly soon BGP > when our second upstream comes online. > > Is it better to manually increase some network related parameters, or just > do it by increasing MAXUSERS ? If you're handling lots of TCP connections (which routers generally don't), then you want to use some options to increase the number of mbufs. But I don't think you need to for a router. > The machine I am readying gives some numbers at initial bootup that are a > little confusing. Why for example would a machine that has yet to do > anything really, come up with value like this > > temp-iolite# netstat -m > 199 mbufs in use: > 194 mbufs allocated to data > 1 mbufs allocated to packet headers > 3 mbufs allocated to protocol control blocks > 1 mbufs allocated to socket names and addresses > 192/206 mbuf clusters in use ^^^^^^^ Okay, I could be wrong. DavidG, got a hint? Check the mail archives for hints (they're down at the moment). > I did a search through some 400 postings in Dejanews for the terms kernel > and router and tried to search http://www.freebsd.org/search.html, but the > mail archives seem to be offline. Argh, the archive rebuild exploded again. jmb? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message