redhat-performance / tuned

Tuning Profile Delivery Mechanism for Linux
GNU General Public License v2.0
755 stars 171 forks source link

powersave: add EPP powersave #565

Closed yarda closed 5 months ago

yarda commented 8 months ago

Fixes #563

ryanabx commented 8 months ago

I think this is separate from #563 , though this is still a good change.

I think there's two different settings, one that you can set to powersave, and another that takes in arguments such as performance, balance_performance, balance_power, and power.

Here's a reddit post describing amd-pstate and the epp driver: https://www.reddit.com/r/linux/comments/15p4bfs/amd_pstate_and_amd_pstate_epp_scaling_driver/

And this is a screenshot of the section Configure amd_pstate_epp Energy Performance Preference image

zacikpa commented 7 months ago

@ryanabx is correct. The changed profile will, in fact, fail to load, since powersave is not one of the valid options listed in /sys/devices/system/cpu/cpufreq/policyX/energy_performance_available_preferences.

yarda commented 7 months ago

@ryanabx is correct. The changed profile will, in fact, fail to load, since powersave is not one of the valid options listed in /sys/devices/system/cpu/cpufreq/policyX/energy_performance_available_preferences.

Yes, I realized it after the @ryanabx comment, but I haven't time to update the PR. I will try to do something about it.

yarda commented 5 months ago

Superseded by #581 thus closing.