netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* make sendmsg/recvmsg process multiple messages at once
@ 2021-02-01 12:41 Menglong Dong
  2021-02-02  4:07 ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Menglong Dong @ 2021-02-01 12:41 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: netdev

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 make sure that every iovec contains a udp package.

Is this a good idea? This idea seems clumsy compared to the incoming
'io-uring' based zerocopy, but maybe it can help...

Regards
Menglong Dong

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-02 15:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-01 12:41 make sendmsg/recvmsg process multiple messages at once Menglong Dong
2021-02-02  4:07 ` Jakub Kicinski
2021-02-02 10:18   ` Paolo Abeni
2021-02-02 13:39     ` Menglong Dong
2021-02-02 15:19     ` David Laight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).