lkml.org 
[lkml]   [2004]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: _High_ CPU usage while routing (mostly) small UDP packets


Hello!

Well my experience is that it very hard not to say almost impossible to
extrapolate idle cpu into any network system capacity. I guess this is
what you are trying to do?

Rather load and overload the system with traffic having the characteristics
you expect as a bonus you will get some kind proof of robustness and
responsiveness a max load. There are tools for this type of tests.


Pádraig! Very funny... I started hacking 2 hours ago on idea I
had for long time, This to do a light version of skb recycling based
skb->users (the pktgen trick) with very minimal kernel change..


> Anyway attached is a small patch that I used to make the e1000
> "own" the packet buffers, and hence it does not alloc/free
> per packet at all. Now this has only been tested in one
> configuration where I was just sniffing the packets, so
> definitely YMMV.

--ro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.100 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site