Skip to content

docs(audits): profile Arc<Mutex<Vec>> contention plan (#1192)#3889

Merged
oferchen merged 1 commit into
masterfrom
audits/arc-mutex-vec-contention
May 7, 2026
Merged

docs(audits): profile Arc<Mutex<Vec>> contention plan (#1192)#3889
oferchen merged 1 commit into
masterfrom
audits/arc-mutex-vec-contention

Conversation

@oferchen
Copy link
Copy Markdown
Owner

@oferchen oferchen commented May 7, 2026

Summary

  • Static audit of every Arc<Mutex<Vec<...>>> and Mutex<Vec<...>> site reachable from parallel-stat / drain_parallel hot paths in transfer, engine, and flist.
  • Measurement plan covering perf lock:contention_*, thread-sweep perf stat, and criterion benches over BatchedStatCache and drain_parallel.
  • Decision criteria gating any replacement: wall-clock, lock contention, RSS, and unsafe-policy / dep-budget review.

Test plan

  • Documentation-only change; no code modified.
  • CI doc / workspace checks pass.

Static audit of every Arc<Mutex<Vec<...>>> reachable from the parallel
stat and drain_parallel hot paths in transfer/engine/flist, with the
measurement plan and decision criteria for any replacement work.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen oferchen merged commit b4fb3de into master May 7, 2026
8 checks passed
@oferchen oferchen deleted the audits/arc-mutex-vec-contention branch May 8, 2026 03:52
oferchen added a commit that referenced this pull request May 18, 2026
Static audit of every Arc<Mutex<Vec<...>>> reachable from the parallel
stat and drain_parallel hot paths in transfer/engine/flist, with the
measurement plan and decision criteria for any replacement work.
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