Open Bogdan107 opened 2 years ago
Describe the bug CPU frequency governor configured per cpu in /sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor file. CPU IDLE governor configured per system in /sys/devices/system/cpu/cpuidle/current_governor file. More info:
/sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor
/sys/devices/system/cpu/cpuidle/current_governor
CPU scalling governor configured in cpufreq module in (BATT|LM_AC|NOLM)_CPU_GOVERNOR variables. I want to customize CPU IDLE governor too.
(BATT|LM_AC|NOLM)_CPU_GOVERNOR
$ zgrep CONFIG_CPU_IDLE /proc/config.gz CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y CONFIG_CPU_IDLE_GOV_TEO=y # CONFIG_CPU_IDLE_THERMAL is not set $ cat /sys/devices/system/cpu/cpuidle/available_governors ladder menu teo $ cat /sys/devices/system/cpu/cpuidle/current_governor ladder
Expected behavior I want to customize CPU IDLE governor by (BATT|LM_AC|NOLM)_CPU_IDLE_GOVERNOR variables in cpufreq module:
(BATT|LM_AC|NOLM)_CPU_IDLE_GOVERNOR
BATT_CPU_IDLE_GOVERNOR=teo LM_AC_CPU_IDLE_GOVERNOR=ladder NOLM_CPU_IDLE_GOVERNOR=menu
Describe the bug CPU frequency governor configured per cpu in
/sys/devices/system/cpu/cpu${i}/cpufreq/scaling_governor
file. CPU IDLE governor configured per system in/sys/devices/system/cpu/cpuidle/current_governor
file. More info:CPU scalling governor configured in cpufreq module in
(BATT|LM_AC|NOLM)_CPU_GOVERNOR
variables. I want to customize CPU IDLE governor too.Expected behavior I want to customize CPU IDLE governor by
(BATT|LM_AC|NOLM)_CPU_IDLE_GOVERNOR
variables in cpufreq module: