Skip to content

performance characteristics of IORING_OP_{SEND/WRITE/SENDMSG} #619

Answered by axboe
romange asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Yes, use the send/recv variants over write/read if you're dealing with a socket. Various performance features or optimizations are also only available through the network specific variants.
  2. Non-vectored requests are always more efficient. That's true even for inline execution, but only marginally so. It's specifically true for requests that need to go async (eg arm internal poll to retry when data/space is available, and to a lesser extent io-wq punting).
  3. Yes

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by romange
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