Re: [PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-28 Thread Jesper Dangaard Brouer
On Mon, 28 Nov 2016 13:21:41 +0100 Jesper Dangaard Brouer wrote: > On Mon, 28 Nov 2016 11:52:38 +0100 Paolo Abeni wrote: > > > > > > [2] like [1], but using the minimum number of flows to saturate the > > > > user space > > > > sink, that is 1 flow for the old kernel and 3 for the patched

Re: [PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-28 Thread Jesper Dangaard Brouer
On Mon, 28 Nov 2016 11:52:38 +0100 Paolo Abeni wrote: > Hi Jesper, > > On Fri, 2016-11-25 at 18:37 +0100, Jesper Dangaard Brouer wrote: > > > The measured performance delta is as follow: > > > > > > before after > > > (Kpps) (Kpps) > > > > > > udp flood[1]

Re: [PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-28 Thread Paolo Abeni
Hi Jesper, On Fri, 2016-11-25 at 18:37 +0100, Jesper Dangaard Brouer wrote: > > The measured performance delta is as follow: > > > > before after > > (Kpps) (Kpps) > > > > udp flood[1]570 1800(+215%) > > max tput[2] 185035

Re: [PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-25 Thread Eric Dumazet
On Fri, 2016-11-25 at 16:39 +0100, Paolo Abeni wrote: > The goal of recvmmsg() is to amortize the syscall overhead on a possible > long messages batch, but for most networking protocols, e.g. udp the > syscall overhead is negligible compared to the protocol specific operations > like dequeuing. Pr

Re: [PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-25 Thread Jesper Dangaard Brouer
On Fri, 25 Nov 2016 16:39:51 +0100 Paolo Abeni wrote: > The goal of recvmmsg() is to amortize the syscall overhead on a possible > long messages batch, but for most networking protocols, e.g. udp the > syscall overhead is negligible compared to the protocol specific operations > like dequeuing.

[PATCH net-next 0/5] net: add protocol level recvmmsg support

2016-11-25 Thread Paolo Abeni
The goal of recvmmsg() is to amortize the syscall overhead on a possible long messages batch, but for most networking protocols, e.g. udp the syscall overhead is negligible compared to the protocol specific operations like dequeuing. Moreover, the current recvmmsg() implementation has a long-stand