From owner-freebsd-questions Tue Jul 24 10: 3:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shell.bchosting.com (shell.bchosting.com [64.69.68.35]) by hub.freebsd.org (Postfix) with ESMTP id 188BD37B401 for ; Tue, 24 Jul 2001 10:03:45 -0700 (PDT) (envelope-from chris@selkie.org) Received: from localhost (chris@localhost) by shell.bchosting.com (8.11.0/8.11.0) with ESMTP id f6OH3dG19218; Tue, 24 Jul 2001 10:03:39 -0700 (PDT) (envelope-from chris@selkie.org) Date: Tue, 24 Jul 2001 10:03:39 -0700 (PDT) From: Chris Phillips X-Sender: chris@shell.bchosting.com To: Joe Clarke Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD Router In-Reply-To: <20010724123504.B6609-100000@shumai.marcuscom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey Joe, [root@gateway1 /root]# netstat -m 489/784/34816 mbufs in use (current/peak/max): 488 mbufs allocated to data 1 mbufs allocated to packet headers 332/528/8704 mbuf clusters in use (current/peak/max) 1252 Kbytes allocated to network (62% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Everything appears to be fine there unless I am not reading the output right. Any other suggestions? Thanks. -Chris Phillips On Tue, 24 Jul 2001, Joe Clarke wrote: > Usually packet loss starts to occur when buffer space runs short (or I/O > mem on Cisco routers). How many MBUFs do you have configured? What does > netstat -m say? You may want to tune your MBUFs in the kernel. IF you > have a current CVS of -stable, checkout the tuning(7) manpage. The thing > to tune would be NMBCLUSTERS. For my large machines, I set it to 16384. > The default value is 1024, I think. > > Joe Clarke > > On Tue, 24 Jul 2001, Chris Phillips wrote: > > > Hey, > > > > I always hear people joking about how their 486 would make a great > > router. I have a P166 w/ 128MB ram and three intel 10/100 NICs running as > > my firewall/router. During peak times it is starting to have packet > > loss. At what point is it too much for this kind of hardware? Does > > anyone have any similar experiences? Is the packet loss a direct result > > >from lack of processing power? There is approximately 250 ipfw rules. > > > > [root@gateway1 /root]# w > > 9:26AM up 414 days, 12:54, 1 user, load averages: 0.00, 0.00, 0.00 > > USER TTY FROM LOGIN@ IDLE WHAT > > root p0 penguin Thu08PM - w > > > > [root@gateway1 /root]# vmstat > > procs memory page disks faults cpu > > r b w avm fre flt re pi po fr sr ad0 md0 in sy cs us sy > > id > > 0 0 0 3236 79424 1 0 0 0 1 0 0 0 771 7 2 0 7 > > 93 > > > > Anyone have any other suggestions for the packet loss? > > > > Peak times can be up to 6mbit/s sustained. This box routes 3 different > > subnets that add up to 256 IPs. There are two Catalyst 3524s sitting > > behind it. I'm not sure what other info I should include. > > > > All comments/suggestions are appreciated. Thanks. > > > > -Chris Phillips > > > > P.S. Please CC me as I am not on the list. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message