Skip to content

Broadcast with provided buffers #1266

Answered by axboe
erenon asked this question in Q&A
Oct 15, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
  1. Yes if you went that route, you'd need a ring per socket for that, as each send would consume the provided buffer.
  2. You can add the same buffer(s) to as many rings as you'd like, they don't have to be separate buffers.

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erenon
Comment options

Answer selected by erenon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants