intel / kubernetes-power-manager

Apache License 2.0
83 stars 18 forks source link

Feature Request: allow power configuration for reserved CPUs #63

Closed bartwensley closed 5 months ago

bartwensley commented 1 year ago

When a shared PowerWorkload is created (see https://github.com/intel/kubernetes-power-manager/blob/master/examples/example-shared-workload.yaml) the reservedCPUs are specified and are excluded when the shared PowerProfile is applied to the system (by design). There are usecases where a user may want to tune the c-states/p-states for the reservedCPUs differently than the rest of the system (e.g. to bump up their frequency or to change their cpufreq governor). I know that can be done outside of KPM, but it would be better to allow this to be done by KPM itself so a single component is responsible for the power related configuration of all CPUs on the host.

One option would be to allow a different PowerProfile to be applied these reservedCPUs. The request is to allow any of the supported power settings (epp, governor, max/min frequency, c-states) to be configured specifically for these reservedCPUs.

adorney99 commented 5 months ago

closing this issue as reserved pool frequency tuning was added in latest release