[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1444388007.27760.58.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 09 Oct 2015 03:53:27 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Grant Zhang <gzhang@...tly.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v3 net-next 0/4] tcp: better smp listener behavior
On Thu, 2015-10-08 at 21:16 -0700, Grant Zhang wrote:
>
> Does it make sense to make the listener hash table percpu? Socket with
> SO_INCOMING_CPU set could just be add to the hashtable for that specific
> cpu.
Not sure : We plan to upstream a patch adding a soreuseport specific
table to make the lookup time independent of number of sockets bound to
one particular port. This simply adds an RCU protected array, with
ability to immediately fetch slot number X from this array.
--
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