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

Errors when changing to balance on a Ryzen system #695

Open
alosarjos opened this issue Oct 12, 2024 · 2 comments
Open

Errors when changing to balance on a Ryzen system #695

alosarjos opened this issue Oct 12, 2024 · 2 comments

Comments

@alosarjos
Copy link

Hi there!

I'm just giving a try to tuned instead of the regular PPD but I'm seeing some errors on the logs, not sure if an issue on my side or the program.

When changing to balance and running a tuneadm-verify I'm getting some errors. From the logs:

2024-10-12 09:42:02,415 ERROR tuned.utils.commands: Executing 'modprobe -r cpufreq_conservative' error: modprobe: FATAL: Module cpufreq_conservative is builtin.

2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy11/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu11'
2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy9/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu9'
2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy1/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu1'
2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy7/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu7'
2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy14/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu14'
2024-10-12 09:42:02,419 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy6/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,419 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu6'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy13/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu13'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy5/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu5'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy4/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu4'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy15/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu15'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy10/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu10'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy2/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu2'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy8/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu8'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy3/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu3'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy0/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu0'
2024-10-12 09:42:02,420 ERROR    tuned.utils.commands: Writing to file '/sys/devices/system/cpu/cpufreq/policy12/boost' error: '[Errno 22] Invalid argument'
2024-10-12 09:42:02,420 INFO     tuned.plugins.plugin_cpu: Setting boost value '1' for cpu 'cpu12'

Boost file seems to exists:

imagen

@zacikpa
Copy link
Contributor

zacikpa commented Oct 14, 2024

Hi, are you able to change the content of the boost file manually?

@alosarjos
Copy link
Author

Looks like I can't, maybe it's something that has yet to be enabled? Looking for some info, I found:

https://lore.kernel.org/linux-kernel/9725dfcbb8848d68ce5c8c099cd3c6805bebf20b.1718988436.git.perry.yuan@amd.com/T/

Which are some "recent" kernel patches

I dont have the ' /sys/devices/system/cpu/amd_pstate/cpb_boost' so maybe I cant change the boost yet?

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

2 participants