-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add preferCloseToDevices balloon type option #203
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add preferCloseToDevices in the ballooons CRD for explicit configuration. - Add implicit PreferFarFromDevices option to BalloonType definition. This anti-affinity list is filled based on affinities of this and other balloon types. If necessary in the future, we can enable explicit anti-affinities in CRDs, too. - If a balloon type has either of these preferences defined, use the balloon type specific CPU tree allocator that will implement the logic behind these options. Signed-off-by: Antti Kervinen <[email protected]>
askervin
force-pushed
the
5S8_balloons_close_split
branch
from
November 28, 2023 14:34
28920e4
to
2fb04cd
Compare
kad
approved these changes
Dec 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok for me. Might be improvement for later to support globs. e.g. /dev/foo*
nit: there is a repetition of 'affecting' in the commit message. |
- Change CPU tree allocator to use a chain of ResizeCpus() functions to avoid hardcoding the order in which various aspects affecting CPU allocation are taken into account. Without the chain structure every level of ResizeCpus() would need to know what is the next level of importance in CPU allocation. Signed-off-by: Antti Kervinen <[email protected]>
Signed-off-by: Antti Kervinen <[email protected]>
Signed-off-by: Antti Kervinen <[email protected]>
Signed-off-by: Antti Kervinen <[email protected]>
askervin
force-pushed
the
5S8_balloons_close_split
branch
from
December 15, 2023 13:58
2fb04cd
to
f1a7dc4
Compare
Thanks, fixed! |
klihub
approved these changes
Dec 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Passing E2E tests requires: