Skip to content

Balance Workers Sleeping#1089

Draft
RuffledPlume wants to merge 3 commits into
117HD:masterfrom
RuffledPlume:ImproveWorkerSleepHueristic
Draft

Balance Workers Sleeping#1089
RuffledPlume wants to merge 3 commits into
117HD:masterfrom
RuffledPlume:ImproveWorkerSleepHueristic

Conversation

@RuffledPlume
Copy link
Copy Markdown
Contributor

Weight Sleeping time based on how long we spend Idle, this means instead of the fixed sleeping time, it'll be more accurate to the Systems Performance

PR:
image

Main:
image

Weight Sleeping time based on how long we spend Idle, this means instead of the fixed sleeping time, it'll be more accurate to the Systems Performance
@RuffledPlume RuffledPlume force-pushed the ImproveWorkerSleepHueristic branch 7 times, most recently from 3b5a5c7 to f593477 Compare May 20, 2026 13:09
Added SetAffinity to hint to the Platform Kernel that workers should be pinned to specific cores

Verify that CPU Pinning is working, log if its not

Determine Support for each binding instead of needing all to pass
@RuffledPlume RuffledPlume force-pushed the ImproveWorkerSleepHueristic branch from f593477 to 04f9286 Compare May 20, 2026 13:56
 * Move away from CAS due to being allocation heavy
 * Removed the Global Work Queue, in favour of round robining work to different workers local queues instead
 * Removed Stalled Work queue since it was complicating the work queue

Current performance bottleneck of workers is actually being provided work, workers are finishing work fast enough to be parked due to not finding work to steal
@RuffledPlume RuffledPlume marked this pull request as draft May 20, 2026 23:50
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