Skip to content

Shared WorkPool with adaptive batch sizing for fuzz workers#1548

Draft
elopez wants to merge 1 commit intomasterfrom
better-work-dist
Draft

Shared WorkPool with adaptive batch sizing for fuzz workers#1548
elopez wants to merge 1 commit intomasterfrom
better-work-dist

Conversation

@elopez
Copy link
Copy Markdown
Member

@elopez elopez commented Mar 27, 2026

Replace per-worker fixed test limits with a shared WorkPool that workers claim batches from. Each worker measures its throughput and adaptively sizes the next batch to target ~15 seconds of wall-clock work, clamped between seqLen and testLimit/10. This improves load balancing (fast workers claim more work, slow/shrinking workers claim less) and reduces contention for simple contracts by growing batch sizes automatically.

Replace per-worker fixed test limits with a shared WorkPool that workers
claim batches from. Each worker measures its throughput and adaptively
sizes the next batch to target ~15 seconds of wall-clock work, clamped
between seqLen and testLimit/10. This improves load balancing (fast
workers claim more work, slow/shrinking workers claim less) and reduces
contention for simple contracts by growing batch sizes automatically.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant