Skip to content

docs(audits): tighten BufferPool capacity sizing audit (#1637)#3865

Merged
oferchen merged 1 commit into
masterfrom
docs/buffer-pool-sizing-1637
May 7, 2026
Merged

docs(audits): tighten BufferPool capacity sizing audit (#1637)#3865
oferchen merged 1 commit into
masterfrom
docs/buffer-pool-sizing-1637

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented May 7, 2026

Summary

Test plan

  • wc -l docs/audits/buffer-pool-capacity-sizing.md is under 350.
  • grep -ni "claude\|internal" returns no matches.
  • grep "—" returns no em-dashes.
  • All cited line references resolve to the current crates/engine/src/local_copy/buffer_pool/ module layout.

Trim the audit to the five-section sizing brief: implementation
overview, default capacity and per-buffer size with line refs, sizing
assumptions (target concurrency, per-thread reuse, memory budget),
trade-offs (smaller pool vs larger pool, shared singleton, resizer
cadence), and five improvement proposals (workload-derived sizing,
CLI flag for OC_RSYNC_BUFFER_POOL_SIZE per #1643, instrumentation
hooks, idle drain, memory-cap-aware adaptive ceiling). Drops the
verbose history, recommendations, and pending-benchmark questions
that belong in #1642 follow-up notes.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen oferchen merged commit 498c960 into master May 7, 2026
8 checks passed
@oferchen oferchen deleted the docs/buffer-pool-sizing-1637 branch May 8, 2026 03:48
oferchen added a commit that referenced this pull request May 18, 2026
Trim the audit to the five-section sizing brief: implementation
overview, default capacity and per-buffer size with line refs, sizing
assumptions (target concurrency, per-thread reuse, memory budget),
trade-offs (smaller pool vs larger pool, shared singleton, resizer
cadence), and five improvement proposals (workload-derived sizing,
CLI flag for OC_RSYNC_BUFFER_POOL_SIZE per #1643, instrumentation
hooks, idle drain, memory-cap-aware adaptive ceiling). Drops the
verbose history, recommendations, and pending-benchmark questions
that belong in #1642 follow-up notes.
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