-
Notifications
You must be signed in to change notification settings - Fork 164
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
x86_energy_perf_policy fix #108
base: master
Are you sure you want to change the base?
Conversation
This is not the right way to "fix" your issue. That subprocess call has higher overhead than regular code plus using |
Debian 9 "stretch" does not implement the Intel p_state driver in the cpufreq package, so this was the most convenient method I could find. Plus, I added to improve efficiency: |
If you don't have the p_state driver, then you can't control the hardware p-states, unless I'm missing something... |
Incorrect, according to: http://manpages.ubuntu.com/manpages/bionic/man8/x86_energy_perf_policy.8.html
|
Ok I missed that |
Let me know if you need help with the MSR... I can test if needed...
|
Why do you need a separate entry for fallback? Still, HWP is quite tricky because is also set by tlp. The detection code that I use is quite ugly and it is not that much fail safe I guess, but it works and I don't see a better way of doing it. |
https://github.com/erpalma/throttled/issues/107
I fixed my HWP mode issue by using x86_energy_perf_policy to set hints.