Re: [PATCH 1/4] net: skb_orphan on dev_hard_start_xmit
From: David Miller <davem@davemloft.net>
Date: 2009-06-04 04:00:53
From: David Miller <davem@davemloft.net>
Date: 2009-06-04 04:00:53
From: Rusty Russell <redacted> Date: Thu, 4 Jun 2009 13:24:57 +0930
On Thu, 4 Jun 2009 06:32:53 am Eric Dumazet wrote:quoted
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.