Skip to content

core: Allow adjusting CPU reservation pools #2907

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2025
Merged

Conversation

kim
Copy link
Contributor

@kim kim commented Jun 26, 2025

Introduces a way to reserve another fixed amount from the available
cores, and allows to access the CpuSet used for tokio blocking
threads.

This is motivated by wanting to create a separate tokio runtime that can
share the blocking pool.

The patch also allows to adjust the fractional values for the various
pools, and exports methods for inspecting the actual assignments.

Expected complexity level and risk

1

Testing

Used in private 🙊

Introduces a way to reserve another fixed amount from the available
cores, and allows to access the `CpuSet` used for tokio blocking
threads.

This is motivated by wanting to create a separate tokio runtime that can
share the blocking pool.

The patch also allows to adjust the fractional values for the various
pools, and exports methods for inspecting the actual assignments.
@kim kim requested a review from joshua-spacetime June 26, 2025 18:26
@kim kim enabled auto-merge June 27, 2025 09:04
@kim kim added this pull request to the merge queue Jun 27, 2025
Merged via the queue into master with commit 56f1f60 Jun 27, 2025
26 of 32 checks passed
@kim kim deleted the kim/core-pinning-extra branch June 27, 2025 09:49
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.

2 participants