Skip to main content
FieldTypeDescriptionValue(s)
namestringName of the config document.

It is used to tell apart several scaling policies, and is reported on the
CPUScalingSpec resources the document produces.
selectorCPUScalingSelectorSelector to match the cpufreq policies to configure.

If several documents match the same policy, the first one (in document order) wins.
governorstringScaling 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.
energyPerformancePreferencestringEnergy 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 active
mode); the values a machine offers are reported per policy in availableEPPs of the
CPUScalingStatus resource.
minFrequencyKhzuint64Lower bound of the frequency window the governor may use, in kHz.

Left alone when not set.
maxFrequencyKhzuint64Upper bound of the frequency window the governor may use, in kHz.

Left alone when not set.

selector

CPUScalingSelector selects the cpufreq policies to configure.
FieldTypeDescriptionValue(s)
matchExpressionThe Common Expression Language (CEL) expression to match the cpufreq policy.

The cpu variable is a cpufreq policy as reported by the CPUScalingStatus resource.