-
Notifications
You must be signed in to change notification settings - Fork 24
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
balloons: add support for power efficient & high performance cores #354
Conversation
2aad4db
to
ccbafbc
Compare
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.
I have one nit and spotted a few typos. Otherwise LGTM.
A few remaining things to fix as mentioned in the review comments...
This commit introduces a new field in the balloons configuration CR, enabling users to specify their efficient/performance core preferences for their workloads. When a user explicitly requests efficient or performance cores, the policy will attempt to allocate according to the user preferences. If the request cannot be satisfied, the policy will fall back to other available cores on the host. If a user adds `preferIsolCpus` in addition to specifying coreTypes, the policy will prioritize allocating isolated CPUs cores over the preferred efficient/performance cores, in case these sets are different. Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
8661691
to
8636d92
Compare
@fmuyassarov Just to make sure I understand the latest changes: we have explicit positive preferences but no implied negative ones, right ? IOW: a core type preference is simply translated to a virtual device close to the right types of cores, but we don't try to generate/inject avoided virtual devices to avoid taking cores of non-preferred types. Is this correct ? |
That's right. Basically, try to use cores of the preferred device as much as we can if not we continue to use non-preferred ones. |
Thanks ! I am happy with this. Let's wait for @askervin to check if his concerns have now all been addressed. |
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.
LGTM.
I think we can have the e2e test added in a separate PR.
Introduce a new parameter
coreType
in Balloons policy for allowing users to express their preference of selecting P-high performance or power efficient cores.