Repository navigation
docs(design): adaptive sizing for io_uring registered buffer pool (#2045) - #3708
Merged
Merged
Conversation
oferchen
added a commit
that referenced
this pull request
May 18, 2026
) (#3708) Phase 2 design for the adaptive sizer that consumes the acquire/miss telemetry already shipped on RegisteredBufferGroup. Mirrors the engine BufferPool grow/shrink policy, with hysteresis and a quiescence guard appropriate for a kernel-side resource.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
) (#3708) Phase 2 design for the adaptive sizer that consumes the acquire/miss telemetry already shipped on RegisteredBufferGroup. Mirrors the engine BufferPool grow/shrink policy, with hysteresis and a quiescence guard appropriate for a kernel-side resource.
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/design/io-uring-adaptive-buffer-pool.md(450 lines) specifying phase 2 of Align cross-compile matrix with build_daemon metadata #2045: a feedback-driven sizer forRegisteredBufferGroupthat consumes the acquire/miss telemetry already on the type.registered_buffer_count: usize = 8default atcrates/fast_io/src/io_uring/config.rs:339, the kernel ceiling atcrates/fast_io/src/io_uring/registered_buffers.rs:80, and the analogous engineBufferPoolgrow/shrink wiring atcrates/engine/src/local_copy/buffer_pool/pool.rs:137-147,650andpressure.rs:29-59,107,120.Test plan
wc -lreports 450 (within 350-500 range)grepfor\xe2\x80\x93|\xe2\x80\x94returns nothing)file:LINEreference verified against the current tree (registered_buffers.rs,config.rs,file_writer.rs,file_reader.rs,pool.rs,pressure.rs,architecture/reorder-buffer.md)