From: Paolo Abeni
> Sent: 02 February 2021 10:19
...
> Note that you can already process several packets with a single syscall
> using sendmmsg/recvmmsg. Both have issues with error reporting and
> timeout and IIRC still don't amortize the overhead introduced e.g. by
> CONFIG_HARDENED_USERCOPY.
Bo
On Tue, Feb 2, 2021 at 6:18 PM Paolo Abeni wrote:
>
> On Mon, 2021-02-01 at 20:07 -0800, Jakub Kicinski wrote:
>
[...]
>
> https://marc.info/?l=linux-netdev&m=148010858826712&w=2
>
> perf tests in lab with recvmmsg/sendmmsg could be great, but
> performance with real workload much less. You could
On Mon, 2021-02-01 at 20:07 -0800, Jakub Kicinski wrote:
> On Mon, 1 Feb 2021 20:41:45 +0800 Menglong Dong wrote:
> > I am thinking about making sendmsg/recvmsg process multiple messages
> > at once, which is possible to reduce the number of system calls.
> >
> > Take the receiving of udp as an ex
On Mon, 1 Feb 2021 20:41:45 +0800 Menglong Dong wrote:
> Hello, guys!
>
> I am thinking about making sendmsg/recvmsg process multiple messages
> at once, which is possible to reduce the number of system calls.
>
> Take the receiving of udp as an example, we can copy multiple skbs to
> msg_iov and