You are not logged in.

#1 2024-02-17 11:35:15

Kippi
Member
From: Nowhere
Registered: 2021-10-06
Posts: 11

[SOLVED] How to actually use the AMD pstate driver

I have stumbled upon the new AMD pstate functionalities which my CPU seems to support. I've managed to set it up and learned a lot about it thanks to this wonderful guide on reddit and this great Arch Wiki entry, but I am still not quite sure how to actually use it.

As far as I have understood it works like this:

  • amd_pstate=active
    You select a governor out of

    /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

    and an EPP hint out of

    /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences

    like this:

    $ echo "<gov>" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
    $ echo "<epp_profile>" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference

    You can select any combination suitable for your circumstances.

  • amd_pstate=passive
    You only select a governor, it will manage the CPPC stuff based on it's settings, the current workload, etc. No extra configuration needed or even possible.

  • amd_pstate=guided
    Same as amd_pstate=passive

Am l correct in my understanding or have I missed something?

Last edited by Kippi (2024-02-22 22:44:12)

Offline

#2 2024-02-22 22:43:19

Kippi
Member
From: Nowhere
Registered: 2021-10-06
Posts: 11

Re: [SOLVED] How to actually use the AMD pstate driver

Found this great article by Phoronix, seems like my understanding of this was indeed correct.

Last edited by Kippi (2024-02-22 22:43:51)

Offline

Board footer

Powered by FluxBB