docs(audits): fast_io fallback macOS vs Linux io_uring#3722
Merged
Conversation
Static, code-grounded audit of the fast_io fallback on macOS compared to the Linux io_uring path and the post-#1868 Windows IOCP path. Inventories every public copy/write/probe entry point with file:LINE, documents the inferred per-file syscall budget, identifies which io_uring features have no macOS analogue, and ranks the near-term mitigations (#1657 pwritev+F_NOCACHE, #1385 kqueue backend, macOS sendfile arm) by inferred payoff per unit of effort.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Static, code-grounded audit of the fast_io fallback on macOS compared to the Linux io_uring path and the post-#1868 Windows IOCP path. Inventories every public copy/write/probe entry point with file:LINE, documents the inferred per-file syscall budget, identifies which io_uring features have no macOS analogue, and ranks the near-term mitigations (#1657 pwritev+F_NOCACHE, #1385 kqueue backend, macOS sendfile arm) by inferred payoff per unit of effort.
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.
Summary
crates/fast_io/with file:LINE, derives the inferred per-file syscall budget on each platform, and identifies which io_uring features have no macOS analogue (registered buffers, SQPOLL, batched submission, link chains).docs/design/iocp-transfer-pipeline-wiring.md(PR docs(design): IOCP transfer-pipeline wiring #3698, Ensure release flow builds distributable artifacts #1868) anddocs/design/macos-kqueue-fast-io.md(PR docs(design): add macOS kqueue fast-I/O backend design (#1385) #3701, Adjust CI coverage gate and extend cross-platform builds #1385); ranks near-term mitigations (Fix IPv6 zone identifier parsing in module list requests #1657 pwritev+F_NOCACHE, Adjust CI coverage gate and extend cross-platform builds #1385 kqueue, macOS sendfile arm) by payoff vs effort.Test plan