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

From: Robert Olsson
Date: Tue Dec 07 2004 - 07:40:21 EST




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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/