On Tue, 2006-24-01 at 14:23 +0100, Robert Olsson wrote: > Hello! > We disussed the resue of skb's some time ago. > > Below some code to examine how skb's can be reused if upper layer (RX > softirq) > can consume the skb so we with in NAPI path can detect and reuse the skb. It > can give new possibilites for TCP optimization (davem), driver common > copbreak > etc. In the test below I use my usual lab setup but just let netfilter drop > the > packets. We win about 13% in this experiment below. > > Single Opteron 252 (2.6 GHz) CPU. e1000 6.2.15 Linux 2.6.14.5 > Input rate 2 x 1.16 Mpps a netfilter drop rule for pktgen in the forward chain [..]
> Here we process (drop) about 13% packets more when skb'a get reued. > > Very cool. Robert, it would be interesting to see something more interesting (longer code path) such as udp. You can still use a packetgen to shoot at the box (netperf is a wimp), send it to udp port 9 which just swallows packets. cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html