[PATCH 1/4] net: skb_orphan on dev_hard_start_xmit
davem at davemloft.net
Thu Jun 4 00:00:54 EDT 2009
From: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu, 4 Jun 2009 13:24:57 +0930
> On Thu, 4 Jun 2009 06:32:53 am Eric Dumazet wrote:
>> Also, taking a reference on socket for each xmit packet in flight is very
>> expensive, since it slows down receiver in __udp4_lib_lookup(). Several
>> cpus are fighting for sk->refcnt cache line.
> Now we have decent dynamic per-cpu, we can finally implement bigrefs. More
> obvious for device counts than sockets, but perhaps applicable here as well?
It might be very beneficial for longer lasting, active, connections, but
for high connection rates it's going to be a lose in my estimation.
More information about the libertas-dev