Date: Sat, 8 Mar 2003 00:56:19 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Terry Lambert <tlambert2@mindspring.com> Cc: Bruce Cran <bruce@cran.org.uk>, hackers@FreeBSD.ORG Subject: Re: High CPU usage when forwarding packets Message-ID: <20030307225619.GC8357@gothmog.gr> In-Reply-To: <3E68EBCF.E19242C1@mindspring.com> References: <20030307131038.GA919@fourtytwo.brucec.backnet> <3E68EBCF.E19242C1@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-03-07 10:58, Terry Lambert <tlambert2@mindspring.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030307225619.GC8357>