AMD CPU and powersaving options

never used refind here on real hardware and over longer time… still on systemd-boot :wink:

I got it finally.

[ricklinux@rick-ms7c37 ~]$ uname -a
Linux rick-ms7c37 5.18.9-AMD #1 SMP PREEMPT_DYNAMIC Sat Jul 2 18:11:38 CEST 2022 x86_64 GNU/Linux
[ricklinux@rick-ms7c37 ~]$ 

Edit: This looks different now?

[ricklinux@rick-ms7c37 ~]$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 131 us
  hardware limits: 550 MHz - 4.56 GHz
  available cpufreq governors: performance schedutil
  current policy: frequency should be within 550 MHz and 4.56 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.60 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.56 GHz.
    AMD PSTATE Nominal Performance: 142. Nominal Frequency: 3.90 GHz.
    AMD PSTATE Lowest Non-linear Performance: 64. Lowest Non-linear Frequency: 1.76 GHz.
    AMD PSTATE Lowest Performance: 21. Lowest Frequency: 550 MHz.
[ricklinux@rick-ms7c37 ~]$ 

2022-07-03_20-24

yes only two governors now…

I’m having a hard time deciphering the difference? Except frequency is higher now?

Edit: I changed from all core to per clock cycle and it jumps up.

[ricklinux@rick-ms7c37 ~]$ sudo cpupower frequency-info
[sudo] password for ricklinux: 
analyzing CPU 0:
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 131 us
  hardware limits: 550 MHz - 4.56 GHz
  available cpufreq governors: performance schedutil
  current policy: frequency should be within 550 MHz and 4.56 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.85 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.56 GHz.
    AMD PSTATE Nominal Performance: 142. Nominal Frequency: 3.90 GHz.
    AMD PSTATE Lowest Non-linear Performance: 64. Lowest Non-linear Frequency: 1.76 GHz.
    AMD PSTATE Lowest Performance: 21. Lowest Frequency: 550 MHz.
[ricklinux@rick-ms7c37 ~]$ 

image

Interesting, where do I find if it is ZNVER3 or MZEN3 based?

CPU:
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 2780 min/max: 400/4463 cores: 1: 3169 2: 2767 3: 3169
    4: 3169 5: 2533 6: 2535 7: 2628 8: 2986 9: 2535 10: 2534 11: 2534 12: 2533
    13: 2532 14: 2533 15: 3169 16: 3168
1 Like

I add the repo to pacman.conf and then used akm kernel manager to install the amd kernel and headers.

Edit: Not sure if that is what you are asking?

ZNVER2 or ZEN3 should be the question?

I think so as it confused me? :thinking:
Edit: Btw zen4 is out! Almost!

Copied and pasted:

 linuxkernels/linux-amd 5.18.v.9-1 (82.6 MiB 144.9 MiB)
    Linux kernel aimed at the latest AMD Ryzen CPU based hardware (ZNVER3/MZEN3)

Zen3 is only 5000 series correct? So Linux amd kernel on my 3800x is not really tuned for it?

amd namings and versions are very confusing i think :wink:

I don’t know but mine is listed under performance cpu in the list for the 3000 series anyway.

is ZEN2 based:


so the

linux-amd-znver2

would be fitting ?

Yes… I need a zen3 or i wait for zen4

yea also a solution to the problem :wink:

It’s not really a problem…this cpu holds it’s own. :stuck_out_tongue_winking_eye:

Thanks guys, installed linux-amd and all is well, but cannot see any noticeable difference (yet). Was running linux-zen which did feel snappier (compared to ‘linux’).

yes same for me only try out to see if it is causing difference… i see it is faster on building packages compiling and stuff but you will not see this on normal usage…
I am more interested in powersaving and silent fans … what was snot possible to set without loading these two modules on my hardware the amd-kernel was only to play :wink:

Compiled emacs-git (with my flags) :

took 1m 28s ➜

Will reboot to linux-zen and try it later :smiley: