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

Robert Olsson
2004-12-07T12:39:12Z

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