From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [PATCH net-next 0/4] tcp: better smp listener behavior Date: Fri, 09 Oct 2015 20:02:47 +0200 Message-ID: <56180147.6070205@iogearbox.net> References: <1444318627-27883-1-git-send-email-edumazet@google.com> <1444387845.27760.55.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Dumazet , "David S . Miller" , netdev , Tobias Klauser To: Eric Dumazet , Tom Herbert Return-path: Received: from www62.your-server.de ([213.133.104.62]:37485 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751393AbbJISCu (ORCPT ); Fri, 9 Oct 2015 14:02:50 -0400 In-Reply-To: <1444387845.27760.55.camel@edumazet-glaptop2.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: On 10/09/2015 12:50 PM, Eric Dumazet wrote: > On Thu, 2015-10-08 at 20:42 -0700, Tom Herbert wrote: >> On Thu, Oct 8, 2015 at 8:37 AM, Eric Dumazet wrote: >>> As promised in last patch series, we implement a better SO_REUSEPORT >>> strategy, based on cpu affinities if selected by the application. >>> >>> We also moved sk_refcnt out of the cache line containing the lookup >>> keys, as it was considerably slowing down smp operations because >>> of false sharing. This was simpler than converting listen sockets >>> to conventional RCU (to avoid sk_refcnt dirtying) >>> >>> Could process 6.0 Mpps SYN instead of 4.2 Mpps on my test server. >>> >> Is this IPv4, IPv6, or some combination of the two ? :-) > > IPv4 only (mostly because I was using trafgen and its csumtcp() only > deals with IPv4 and I am lazy) Agreed, will fix that in trafgen. ;) Thanks!