Skip to content

docs(audits): ReorderBuffer cache behavior static analysis (#1854)#3707

Merged
oferchen merged 1 commit into
masterfrom
docs/reorderbuffer-cache-behavior-1854
May 5, 2026
Merged

docs(audits): ReorderBuffer cache behavior static analysis (#1854)#3707
oferchen merged 1 commit into
masterfrom
docs/reorderbuffer-cache-behavior-1854

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented May 5, 2026

Summary

Headline finding

At the default window of 64 the buffer's working set is bounded by W * sizeof(T) plus a single BTreeMap leaf, regardless of file-list length. Saturated working set is roughly 4.8 KiB - L1 resident on every shipping x86_64 and aarch64 part. N does not enter the cache analysis.

Test plan

  • markdownlint clean on the new doc
  • Doc renders correctly on GitHub (tables, code blocks, internal links)
  • No references to forbidden tooling terms or em/en-dashes
  • Single-file, single-commit constraint preserved

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 5, 2026
Static-analysis half of #1854: predicts cache-line residency, branch
behavior, and working-set size of BoundedReorderBuffer at 100K, 1M, and
10M items. Compares the BTreeMap-backed buffer with the ring-based
alternative already shipped in engine::concurrent_delta::ReorderBuffer
(#1734) and lists the perf counters and decision criteria the runtime
half must capture.
@oferchen oferchen force-pushed the docs/reorderbuffer-cache-behavior-1854 branch from 4fada69 to 67abfc8 Compare May 5, 2026 20:22
@oferchen oferchen merged commit b7c714b into master May 5, 2026
7 checks passed
@oferchen oferchen deleted the docs/reorderbuffer-cache-behavior-1854 branch May 6, 2026 18:57
oferchen added a commit that referenced this pull request May 18, 2026
…3707)

Static-analysis half of #1854: predicts cache-line residency, branch
behavior, and working-set size of BoundedReorderBuffer at 100K, 1M, and
10M items. Compares the BTreeMap-backed buffer with the ring-based
alternative already shipped in engine::concurrent_delta::ReorderBuffer
(#1734) and lists the perf counters and decision criteria the runtime
half must capture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant