-
Hi, I'd like to send (broadcast) the same buffer to many (20-100) sockets, as quickly as possible. Using a simple send operation, I can set the same buffer for each socket. However, to avoid accidental reordering of sends (see this discussion), I'm serializing the sends user-space. To make this more efficient, hoping I can avoid userspace-kernelspace copies, I'm looking at provided buffers. Questions:
I already tried send_zerocopy with registered buffers, with no clear performance improvement. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For zero copy, recent kernels do much better here - the networking stack had some trouble properly coalescing for io_uring zerocopy send. 6.11 might look a whole lot better for that. |
Beta Was this translation helpful? Give feedback.
For zero copy, recent kernels do much better here - the networking stack had some trouble properly coalescing for io_uring zerocopy send. 6.11 might look a whole lot better for that.