Skip to content
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

configure CPU IDLE governor in cpufreq module #176

Open
Bogdan107 opened this issue Jan 8, 2022 · 0 comments
Open

configure CPU IDLE governor in cpufreq module #176

Bogdan107 opened this issue Jan 8, 2022 · 0 comments

Comments

@Bogdan107
Copy link

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.

$ 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_CPU_IDLE_GOVERNOR=teo
LM_AC_CPU_IDLE_GOVERNOR=ladder
NOLM_CPU_IDLE_GOVERNOR=menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant