| Field | Type | Description | Value(s) |
|---|---|---|---|
name | string | Name of the config document. It is used to tell apart several scaling policies, and is reported on the CPUScalingSpec resources the document produces. | |
selector | CPUScalingSelector | Selector to match the cpufreq policies to configure. If several documents match the same policy, the first one (in document order) wins. | |
governor | string | Scaling governor to set, e.g. performance, powersave or schedutil.The governors a machine offers depend on its cpufreq driver, and are reported per policy in availableGovernors of the CPUScalingStatus resource. | |
energyPerformancePreference | string | Energy performance preference to set, e.g. performance, balance_performance,balance_power or power.Only some drivers implement this (HWP-enabled intel_pstate, amd-pstate in activemode); the values a machine offers are reported per policy in availableEPPs of theCPUScalingStatus resource. | |
minFrequencyKhz | uint64 | Lower bound of the frequency window the governor may use, in kHz. Left alone when not set. | |
maxFrequencyKhz | uint64 | Upper bound of the frequency window the governor may use, in kHz. Left alone when not set. |
selector
CPUScalingSelector selects the cpufreq policies to configure.| Field | Type | Description | Value(s) |
|---|---|---|---|
match | Expression | The Common Expression Language (CEL) expression to match the cpufreq policy. The cpu variable is a cpufreq policy as reported by the CPUScalingStatus resource. |