Skip to content

core: Allow adjusting CPU reservation pools#2907

Merged
kim merged 1 commit into
masterfrom
kim/core-pinning-extra
Jun 27, 2025
Merged

core: Allow adjusting CPU reservation pools#2907
kim merged 1 commit into
masterfrom
kim/core-pinning-extra

Conversation

@kim
Copy link
Copy Markdown
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