Re: [PATCH net-next 2/3] udp: use a separate rx queue for packet reception

2017-05-15 Thread Eric Dumazet
On Mon, 2017-05-15 at 11:01 +0200, Paolo Abeni wrote: > under udp flood the sk_receive_queue spinlock is heavily contended. > This patch try to reduce the contention on such lock adding a > second receive queue to the udp sockets; recvmsg() looks first > in such queue and, only if empty, tries to f

[PATCH net-next 2/3] udp: use a separate rx queue for packet reception

2017-05-15 Thread Paolo Abeni
under udp flood the sk_receive_queue spinlock is heavily contended. This patch try to reduce the contention on such lock adding a second receive queue to the udp sockets; recvmsg() looks first in such queue and, only if empty, tries to fetch the data from sk_receive_queue. The latter is spliced int