[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1481302391.4930.201.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Fri, 09 Dec 2016 08:53:11 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tom Herbert <tom@...bertland.com>
Cc: Jesper Dangaard Brouer <brouer@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
"David S . Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH v2 net-next 0/4] udp: receive path optimizations
On Fri, 2016-12-09 at 08:43 -0800, Tom Herbert wrote:
>
>
> Are you thinking of allowing unconnected socket to have multiple input
> queues? Sort of an automatic and transparent SO_REUSEPORT...
It all depends if the user application is using a single thread or
multiple threads to drain the queue.
Since we used to grab socket lock in udp_recvmsg(), I guess nobody uses
multiple threads to read packets from a single socket.
So heavy users must use SO_REUSEPORT already, not sure what we would
gain trying to go to a single socket, with the complexity of mem
charging.
>
Powered by blists - more mailing lists