Open pandalec opened 3 months ago
is there a commandline tool that can easily do that?
Kind of, see here and the following output (hardware limits)
❯ cpupower frequency-info
analyzing CPU 8:
driver: amd-pstate
CPUs which run at the same hardware frequency: 8
CPUs which need to have their frequency coordinated by software: 8
maximum transition latency: 20.0 us
hardware limits: 400 MHz - 5.26 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 400 MHz and 5.26 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.64 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
AMD PSTATE Highest Performance: 196. Maximum Frequency: 5.26 GHz.
AMD PSTATE Nominal Performance: 149. Nominal Frequency: 4.00 GHz.
AMD PSTATE Lowest Non-linear Performance: 41. Lowest Non-linear Frequency: 1.10 GHz.
AMD PSTATE Lowest Performance: 15. Lowest Frequency: 400 MHz.
❯ sudo ~/.local/share/gnome-shell/extensions/freq-boost-switch@metal03326/set_boost 1 0 -1 -1
❯ cpupower frequency-info
analyzing CPU 8:
driver: amd-pstate
CPUs which run at the same hardware frequency: 8
CPUs which need to have their frequency coordinated by software: 8
maximum transition latency: 20.0 us
hardware limits: 400 MHz - 4.00 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 400 MHz and 4.00 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.31 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
AMD PSTATE Highest Performance: 196. Maximum Frequency: 5.26 GHz.
AMD PSTATE Nominal Performance: 149. Nominal Frequency: 4.00 GHz.
AMD PSTATE Lowest Non-linear Performance: 41. Lowest Non-linear Frequency: 1.10 GHz.
AMD PSTATE Lowest Performance: 15. Lowest Frequency: 400 MHz.
❯
What would you like to be added? In gnome I used frequency-boost-switch. It would be nice to have this toggle also in the ags menu
How will it help It would help to easily enable or disable CPU boost