Repository navigation
docs(audits): per-file vs shared io_uring ring small-file plan - #3835
Merged
Merged
Conversation
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Tracks task #1410 with a benchmark plan for promoting the receiver hot path off per-file io_uring rings. Surveys the lifecycle in crates/fast_io/src/io_uring/, quantifies io_uring_setup, mmap, and SQPOLL costs at 100K-file scale, and lays out throughput / latency metrics for the per-file vs disk_batch vs session-pool topologies.
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
docs/audits/per-file-vs-shared-uring-ring.mdfor task Add xtask branding command and correct CI CLI test target #1410.crates/fast_io/src/io_uring/: per-file rings viawriter_from_file_with_depth/reader_from_path_with_depth, vs the existing per-session rings inIoUringDiskBatchandSharedRing.io_uring_setup(2), SQ/CQ/SQEmmapchurn, registered-buffer pin/unpin, and the SQPOLL kernel thread per file.RegisteredBufferGroupdrop-order invariant.per_file/disk_batch/session_pooltopologies with throughput, p50/p99 latency,io_uring_setupcount, andmm->pinned_vmpeak as metrics.Test plan
wc -lstays under 350 lines.crates/fast_io/src/io_uring/mod.rs,disk_batch.rs,shared_ring.rs,transfer/src/transfer_ops/response.rs,transfer/src/generator/mod.rs).