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

cputotplug must be completed before cpufreq #175

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

cputotplug must be completed before cpufreq #175

Bogdan107 opened this issue Jan 8, 2022 · 0 comments

Comments

@Bogdan107
Copy link

Describe the bug
I use cpufreq and cpuhotplug modules at the same time.

cpuhotplug module change the list of active CPU's.
cpufreq module change the CPU freq only for active CPU's.

I have:

DISABLE_AVAILABLE_CPU="half"
BATT_CPU_HOTPLUG=1
LM_AC_CPU_HOTPLUG=0
NOLM_AC_CPU_HOTPLUG=0

BATT_CPU_GOVERNOR=powersave
LM_AC_CPU_GOVERNOR=performance
NOLM_AC_CPU_GOVERNOR=schedutil

If I switch from AC to BAT, then I have a half of CPU's with powersave governor.
Then I switch from BAT to AC and have a half of CPU's with performance governor and a half of CPU's with powersave governor.

I want to apply governor from cpufreq module to all of active CPU's, not for half.

Expected behavior
When the power source is changed, the cpuhotplug module must be completed before starting the cpufreq module.

Important Information:

  • Distribution: Gentoo
  • Linux Kernel: 5.15.13
  • Laptop Mode Tools version: 1.74
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