From owner-freebsd-questions Sun Apr 19 16:48:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA11824 for freebsd-questions-outgoing; Sun, 19 Apr 1998 16:48:26 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from coal.sentex.ca (coal.sentex.ca [209.112.4.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11779 for ; Sun, 19 Apr 1998 23:48:08 GMT (envelope-from mike@sentex.net) Received: from gravel (ospf-mdt.sentex.net [205.211.164.81]) by coal.sentex.ca (8.8.8/8.8.7) with SMTP id TAA12574 for ; Sun, 19 Apr 1998 19:48:00 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <3.0.2.32.19980419193531.0251a100@sentex.net> X-Sender: mdtancsa@sentex.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Sun, 19 Apr 1998 19:35:31 -0400 To: questions@FreeBSD.ORG From: Mike Tancsa Subject: routers, kernel parameters and bizarro netstat -m output Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ? 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 436 Kbytes allocated to network (93% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Also, when I reconfig the kernel for more max users, it doesnt seem to make a difference in how many mbuf clusters are available. temp-iolite# netstat -ni Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 00.a0.c9.4b.a5.f4 559 0 356 0 130 fxp0 1500 199.212.135.1 199.212.135.161 559 0 356 0 130 fxp1 1500 00.a0.c9.8c.f1.53 0 0 1 0 0 fxp1 1500 192.168.201 192.168.201.1 0 0 1 0 0 fxp2 1500 00.a0.c9.89.d9.7e 0 0 1 0 0 fxp2 1500 192.168.202 192.168.202.1 0 0 1 0 0 tun0* 1500 0 0 0 0 0 sl0* 552 0 0 0 0 0 ppp0* 1500 0 0 0 0 0 lo0 16384 0 0 0 0 0 lo0 16384 127 127.0.0.1 0 0 0 0 0 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. ********************************************************************** Mike Tancsa (mike@sentex.net) * To do is to be -- Nietzsche Sentex Communications Corp, * To be is to do -- Sartre Cambridge, Ontario * Do be do be do -- Sinatra (http://www.sentex.net/~mdtancsa) * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message