Repository navigation
quest: gate moq-sock sendmmsg batching on quic-sansio-driver (#9705) - #9708
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the cross-connection
sendmmsgquest after reviewing #9705 and its prior art (#7660, #8184):quest/m9/perf/tokio-sendmmsg-batch.mdto quest/m4/tokio-sendmmsg-batch.md (adds a public API tomoq-sockand requires quic-sansio-driver inm4).## Closes(for the eventual implementation PR) and records the quest: record a sendmmsg prototype's measurements in the egress profile #7660 / quest: add the sendmmsg prototype's end-to-end measurements #8184 flush-wait evidence and moq-sock: send many transmits in one sendmmsg, for drivers that serve every connection from one loop #9705's single-loop measurements.Decisions
Interviewed 2026-11-26 with the maintainer on #9705:
UdpSocketState::try_send_manyshape: ✅ Holdtry_send_manyuntilquic-sansio-driverlands somoq-tokio's single-loop I/O pass is the in-tree caller under feat(transport)!: the transport crates publish only what something calls #8957's rule, and design the best long-term batched send API without quest: record a sendmmsg prototype's measurements in the egress profile #7660/quest: add the sendmmsg prototype's end-to-end measurements #8184's +0.2-0.3 ms flush-task wait (rejected: publishingtry_send_manyinmoq-socknow with no in-tree caller; adding an opt-in flush-task queue to today's per-connection-taskmoq-tokiodriver).Models
(Written by gemini-4-neon)
Review
Rewritten by
quest reviewafter each round.Only quest plan documents change (one new plan moved from m9/perf to m4, one deleted, and one link updated), so the worst outcome is a wrong or misleading plan that a reader corrects; no code, public API, wire format, or CLI surface changes, and a revert fully undoes it.417f90f1-55d8-4cc6-aebf-a486a46ab206quest