[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1410014704.11872.16.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Sat, 06 Sep 2014 07:45:04 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: therbert@...gle.com, alexander.h.duyck@...el.com,
netdev@...r.kernel.org
Subject: Re: Performance regression on kernels 3.10 and newer
On Thu, 2014-08-21 at 16:24 -0700, David Miller wrote:
> From: Tom Herbert <therbert@...gle.com>
> Date: Thu, 14 Aug 2014 16:25:53 -0700
>
> > I don't know if it's the same problem, but I did post a patch back in
> > January that would resolve false sharing of dst->__refcnt and rt_genid
> > in the same cacheline. We could revisit that if it helps.
>
> I think that regardless of what happens in the discussion here, you
> should repost that patch.
I believe this wont be necessary, the real meat is elsewhere.
There are very few cases where we really need to keep the dst attached
to skb.
Its mostly because of IP early demux, and its possible to take care of
the fast path (where sk->sk_rx_dst is set), and simply drop dst before
prequeue in this case.
Same stuff for the backlog, used when socket is owned by user.
I'll send a patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists