From owner-freebsd-hackers Fri Mar 7 15:21:49 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9AA437B406 for ; Fri, 7 Mar 2003 15:21:47 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9BC443FD7 for ; Fri, 7 Mar 2003 15:21:46 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b165.otenet.gr [212.205.244.173]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h27NLYNJ029150; Sat, 8 Mar 2003 01:21:36 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h27NLQME008933; Sat, 8 Mar 2003 01:21:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h27MuKU5008594; Sat, 8 Mar 2003 00:56:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 8 Mar 2003 00:56:19 +0200 From: Giorgos Keramidas To: Terry Lambert Cc: Bruce Cran , hackers@FreeBSD.ORG Subject: Re: High CPU usage when forwarding packets Message-ID: <20030307225619.GC8357@gothmog.gr> References: <20030307131038.GA919@fourtytwo.brucec.backnet> <3E68EBCF.E19242C1@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E68EBCF.E19242C1@mindspring.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-03-07 10:58, Terry Lambert wrote: >Bruce Cran wrote: >> Also, I'm getting several thousand 'lnc0: Missed packet -- no >> receive buffer' messages. Could this be the problem, or is the >> system just not powerful enough do nat? The sis0 card is 100MBit >> PCI, while the lcn0 is 10MBit ISA. > > The "no receive buffers available" message happens when the > system runs out of mbufs. > > There are a lot of reasons this could happen, but the proximal > cause is you didn't tune the number NMBCLUSTERS, et. al. high > enough. You should try rebuilding your kernel with a larger > number. Aren't the following two tunable from the loader too? giorgos@gothmog[00:53]/home/giorgos$ sysctl -a | grep nmb[cu][fl] kern.ipc.nmbclusters: 17216 kern.ipc.nmbufs: 34432 Just wondering, since I haven't had today a reasonn to reboot yet. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message