From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karsten Desler Subject: Re: _High_ CPU usage while routing (mostly) small UDP packets Date: Tue, 7 Dec 2004 03:54:56 +0100 Message-ID: <20041207025456.GA525@soohrt.org> References: <20041206224107.GA8529@soohrt.org> <20041207002012.GB30674@quickstop.soohrt.org> <1102387595.1088.48.camel@jzny.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Bernd Eckenfels , "David S. Miller" , netdev@oss.sgi.com, linux-kernel@vger.kernel.org Return-path: To: jamal Content-Disposition: inline In-Reply-To: <1102387595.1088.48.camel@jzny.localdomain> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org * jamal wrote: > > Your numbers are very suspect. You may be having other issues in the > box. You should be able to do much higher packet rates even with > iptables compiled in. I know, and I have no idea why I'm not. > Some numbers at: > > http://www.suug.ch/sucon/04/slides/pkt_cls.pdf > > If all you need is std filtering then consider using tc actions. Thanks, I'll look into it. > I do have a suspicion that your problem has to do with your machine > more than it does with Linux. But what could be the reason? I'm really out of ideas. The only thing I can think off is the 66/64 PCI bus and the disadvantageous placement of the PCI cards, but neither should cause a higher CPU usage. If the bus couldn't keep up, I'd get packetloss. - Karsten