Skip to content

docs(audits): profile ReorderBuffer cache behavior at 1M files (#1854) - #3941

Merged
oferchen merged 1 commit into
masterfrom
audits/reorderbuffer-cache-profile
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
audits/reorderbuffer-cache-profile

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Specifies perf stat and cachegrind measurement plan for BoundedReorderBuffer<T> at 1M dispatched sequence numbers
  • Documents 75/25 in-order/out-of-order workload with 1-100 element gaps and a 256-slot window
  • Sets the 2x cycle and cache-miss threshold a VecDeque ring buffer must clear to justify replacing the BTreeMap backend (follows up on Improve CLI binary lookup for tests #1853)

Closes #1854 once the harness lands.

Test plan

  • Run the documented perf stat invocation against both backends in the rsync-profile container
  • Capture cachegrind annotations and attach to the issue
  • Apply pass criteria; either close out or open a follow-up PR swapping the backend

Specifies perf stat and cachegrind plan to test whether BTreeMap node
scatter dominates ReorderBuffer dispatch cost, and the 2x cycle/miss
threshold a VecDeque ring buffer must beat to justify replacement.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit 49736c7 into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the audits/reorderbuffer-cache-profile branch May 8, 2026 03:47
oferchen added a commit that referenced this pull request May 18, 2026
#3941)

Specifies perf stat and cachegrind plan to test whether BTreeMap node
scatter dominates ReorderBuffer dispatch cost, and the 2x cycle/miss
threshold a VecDeque ring buffer must beat to justify replacement.
oferchen added a commit that referenced this pull request Aug 24, 2026
#3941)

Specifies perf stat and cachegrind plan to test whether BTreeMap node
scatter dominates ReorderBuffer dispatch cost, and the 2x cycle/miss
threshold a VecDeque ring buffer must beat to justify replacement.
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