Thread (21 messages) flat view 21 messages, 7 authors, 2004-12-08

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

From: Robert Olsson <hidden>
Date: 2004-12-07 12:39:12
Also in: lkml


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help