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

Documentation does not explain how to set per-cpu frequency in /etc/default/cpupower #218

Open
evertvorster opened this issue Apr 14, 2024 · 0 comments

Comments

@evertvorster
Copy link

Hi there!
I have been using cpupower on my i9-13900HX for a while, and I am seriously impressed.

At the beginning I was trying to get /etc/default/cpupower to set the frequencies for my cpu. As this CPU has a big.LITTLE design, it has a bunch of power efficient cores that run at different frequencies than that of the performance cores.

For the life of me, I could not figure out how to get configure file for cpupower in /etc/default/cpupower to set different frequencies for the various cores.

The whole reason I got into this cpu frequency thing is that the min and max frequencies are not set correctly by the kernel, and you can read about that whole saga here:
https://bugzilla.kernel.org/show_bug.cgi?id=217976

In the end, I wrote a little bash script that uses cpupower to set the frequencies manually, and have expanded the script to actually scale down the cpu frequencies when the laptop enters a powersaving state if the AC power is disconnected, for instance.

However, I would like to be able to initially set the cpu frequencies to sane values by setting up cpupower properly for this cpu architecture.

Any help in how to specify per cpu frequencies, or per range of cpu frequencies in /etc/default/cpupower would be greatly appreciated.

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