netdev
[Top] [All Lists]

Re: _High_ CPU usage while routing (mostly) small UDP packets

To: Karsten Desler <kdesler@xxxxxxxxxx>
Subject: Re: _High_ CPU usage while routing (mostly) small UDP packets
From: jamal <hadi@xxxxxxxxxx>
Date: 07 Dec 2004 08:04:33 -0500
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, P@xxxxxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20041207125001.GA26644@xxxxxxxxxx>
Organization: jamalopolous
References: <20041206205305.GA11970@xxxxxxxxxx> <20041206134849.498bfc93.davem@xxxxxxxxxxxxx> <20041206224107.GA8529@xxxxxxxxxx> <41B58A58.8010007@xxxxxxxxxxxxxx> <20041207112139.GA3610@xxxxxxxxxx> <16821.42080.932184.167780@xxxxxxxxxxxx> <20041207125001.GA26644@xxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 2004-12-07 at 07:50, Karsten Desler wrote:

> Currently I'm having problems capturing packets with tcpdump (lots of
> "packets dropped by kernel") which indicates to me that there's
> genuinely not much (enough) idle time sitting around.
> 

Ah, more hints. So you are not trying to forward - rather just packet
capturing?
Are you using a tcpdump patched with mmaped packet socket?

The 230-240Kpps you are reporting as a capture dont seem as unreasonable
as i thought then. Neither would the CPU use.

cheers,
jamal


<Prev in Thread] Current Thread [Next in Thread>