[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151003.044835.592539615085639060.davem@davemloft.net>
Date: Sat, 03 Oct 2015 04:48:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, ycai@...gle.com, willemb@...gle.com,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 00/17] tcp/dccp: lockless listener
From: Eric Dumazet <edumazet@...gle.com>
Date: Fri, 2 Oct 2015 11:43:22 -0700
> TCP listener refactoring : this is becoming interesting !
>
> This patch series takes the steps to use normal TCP/DCCP ehash
> table to store SYN_RECV requests, instead of the private per-listener
> hash table we had until now.
>
> SYNACK skb are now attached to their syn_recv request socket,
> so that we no longer heavily modify listener sk_wmem_alloc.
>
> listener lock is no longer held in fast path, including
> SYNCOOKIE mode.
>
> During my tests, my server was able to process 3,500,000
> SYN packets per second on one listener and still had available
> cpu cycles.
>
> That is about 2 to 3 order of magnitude what we had with older kernels.
>
> This effort started two years ago and I am pleased to reach expectations.
>
> We'll probably extend SO_REUSEPORT to add proper cpu/numa affinities,
> so that heavy duty TCP servers can get proper siloing thanks to multi-queues
> NIC.
This looks amazing, series applied, thanks Eric!
--
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