-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Do not set any Turbo boost flags when using amd_pstate_epp driver #666
Comments
Another thing is also going on (maybe related) the EPP does not contain the value I specified in the config. Seems like my config is just ignored. Also the error in the log file does not seem to relate to turbo boost. I seems setting EPP per core doesn't work correctly. > echo "power" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
power
tee: /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu8/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu9/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu10/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu11/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu12/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu13/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu14/cpufreq/energy_performance_preference: Device or resource busy
tee: /sys/devices/system/cpu/cpu15/cpufreq/energy_performance_preference: Device or resource busy |
This might also be relevant. On my system the governor mode effects which epp can be selected. |
Updated my auto-cpufreq to 2.2.0 (using nixos flake now) and most stuff is gone. |
Description
I have been using auto-cpufreq for quite a while and have been recently investigating into using it with amd_pstate_epp. Everything has been working great except for a error spam of the service. Since everything except turbo boost is working fine I did some investigations.
It seems like amd_pstate_epp is managing its turbo boost in the driver it self and not exposing the
/sys/devices/system/cpu/cpufreq/boost
flag. This probaply results in auto-cpufreq setting this flag and causing alot of error spam (see below).Another thing is that intel pstate could also have the same error (see #661).
Also #602 seems related to this.
A simple solution (if my assumptions are correct) would be to just not touch any boost related flags like
/sys/devices/system/cpu/cpufreq/boost
.Feel free to correct my if I am wrong.
Edit:
I did some benchmarking using the sysbench cpu benchmark. I get on my system better peformance using amd-pstate-epp than amd-pstate and cpi-cpufreq driver.
Error output:
System information:
The text was updated successfully, but these errors were encountered: