From owner-freebsd-hackers Fri Mar 7 10:59:50 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 60FA037B401 for ; Fri, 7 Mar 2003 10:59:49 -0800 (PST) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D500443F85 for ; Fri, 7 Mar 2003 10:59:48 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from dialup-209.244.106.70.dial1.sanjose1.level3.net ([209.244.106.70] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18rN4I-0004Dl-00; Fri, 07 Mar 2003 10:59:43 -0800 Message-ID: <3E68EBCF.E19242C1@mindspring.com> Date: Fri, 07 Mar 2003 10:58:23 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Cran Cc: hackers@freebsd.org Subject: Re: High CPU usage when forwarding packets References: <20030307131038.GA919@fourtytwo.brucec.backnet> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a49dbbb1f2649ef51eb6345828a7016cdd667c3043c0873f7e350badd9bab72f9c350badd9bab72f9c 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 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. If the problem still happens, you need to do a "netstat -a > x", and then look for large numbers in the "Recv-Q" and "Send-Q" columns, and then figure out what's causing them. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message