Erlaubt der neue Linux Kernel stromsparende AMD Server?


mgutt

Recommended Posts

1 hour ago, ich777 said:

Aber diese beiden dinge genügen oder?

Der vollständigkeit halber:

 

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

sowie jeweilige modprobe im gofile bzw. als .conf file

 

Das sollte aus dieser Sicht alles sein

  • Like 1
Link to comment
6 hours ago, i-B4se said:

Sind die Pro Modelle (4750g oder 5750g) eigentlich stromsparender? Bzw. erlaubend diese bessere Stromsparsettings?

 

ich mag mich irren aber an sich tun sie sich nicht viel. Die 5000er sind mit Sicherheit effizienter, also Performance/Watt. Hier siegt die neue Plattform.

Aber: Alles steigt und fällt mit Board samt Chipsatz. Die tragen viel zur effizienz bei, wo auch ggf ein aktuelles BIOS/UEFI inkl. agesa wichtig nicht zu verachten ist.

Klar ist: der X570er Chipsatz ist deutlich gieriger als B550. Wer die Features von X570 nicht benötigt oder nicht zufällig günstig dran kommt, sollte daher zu B550 greifen. 

Link to comment
  • 3 weeks later...

I'm running a ryzen 9 3900x and am following this guide to reduce the power of the cpu. I'm unable to get CPPC working and get the CPU into the C6-state. This is what I have done:

 

I have the following settings in the bios:

  • Global C-state Control = Enabled
  • Power Supply Idle Control = Low Current Idle
  • CPPC = Enabled
  • CPPC Preferred Cores = Enabled

I've added the following line in my syslinux.cfg:

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

image.png.a6aabb4ffa14b1817503d9e0107e24d4.png

 

In the go file I added: 

modprobe amd_pstate

 

After a reboot I can see the cpu frequency's do go below 2200MHz, but CPPC is still in blue:

image.thumb.png.7bc4cf708791da725613a8e5af7d598d.png

 

Kernel data:

image.png.afaac7e605a1ae481e2496b7ac8b5691.png

 

Features (CPPC = Missing):

image.png.6414461fd5fe347c38a279ccd6b710d2.png

 

What do I need to change to get the CPU-Freq driver to amd-pstate and CPU-Idle driver to corefreqk-idle?

 

Link to comment
1 hour ago, de Techneut said:

I'm running a ryzen 9 3900x and am following this guide to reduce the power of the cpu. I'm unable to get CPPC working and get the CPU into the C6-state. This is what I have done:

 

I have the following settings in the bios:

  • Global C-state Control = Enabled
  • Power Supply Idle Control = Low Current Idle
  • CPPC = Enabled
  • CPPC Preferred Cores = Enabled

I've added the following line in my syslinux.cfg:

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

image.png.a6aabb4ffa14b1817503d9e0107e24d4.png

 

In the go file I added: 

modprobe amd_pstate

 

After a reboot I can see the cpu frequency's do go below 2200MHz, but CPPC is still in blue:

image.thumb.png.7bc4cf708791da725613a8e5af7d598d.png

 

Kernel data:

image.png.afaac7e605a1ae481e2496b7ac8b5691.png

 

Features (CPPC = Missing):

image.png.6414461fd5fe347c38a279ccd6b710d2.png

 

What do I need to change to get the CPU-Freq driver to amd-pstate and CPU-Idle driver to corefreqk-idle?

 

 

Hello,

 

Here relevant part of my Kernel command line:

modprobe.blacklist=pcspkr,k10temp,sp5100_tco,acpi_cpufreq,eeepc_wmi,mxm_wmi,wmi_bmof,asus_wmi,wmi amd_pstate.shared_mem=1 idle=halt 

 

It should start empty, at least TSC, as shown in kernel window screenshot

 

 

Then you register all drivers in Settings window.

Select twice CPU-Idle route to <I/O>

Once route is <I/O> you will notice C-states happen in C2:C3

 

You can now go into Kernel window to change limit to C6

Btw you can also select Clock Source as corefreq_tsc rather than Linux  kernel TSC

 

As shown, C-States are now up to C6

 

Cyril

2022-11-04-132538_638x248_scrot.png

2022-11-04-132635_361x402_scrot.png

2022-11-04-132946_650x61_scrot.png

2022-11-04-133153_652x350_scrot.png

2022-11-04-133332_650x386_scrot.png

  • Like 1
Link to comment
3 hours ago, de Techneut said:

I'm running a ryzen 9 3900x and am following this guide to reduce the power of the cpu. I'm unable to get CPPC working and get the CPU into the C6-state. This is what I have done:

 

I have the following settings in the bios:

  • Global C-state Control = Enabled
  • Power Supply Idle Control = Low Current Idle
  • CPPC = Enabled
  • CPPC Preferred Cores = Enabled

I've added the following line in my syslinux.cfg:

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

image.png.a6aabb4ffa14b1817503d9e0107e24d4.png

 

In the go file I added: 

modprobe amd_pstate

 

After a reboot I can see the cpu frequency's do go below 2200MHz, but CPPC is still in blue:

image.thumb.png.7bc4cf708791da725613a8e5af7d598d.png

 

Kernel data:

image.png.afaac7e605a1ae481e2496b7ac8b5691.png

 

Features (CPPC = Missing):

image.png.6414461fd5fe347c38a279ccd6b710d2.png

 

What do I need to change to get the CPU-Freq driver to amd-pstate and CPU-Idle driver to corefreqk-idle?

 

Once Governor, CPU-FREQ, CPU-IDLE, CPU-IDLE route well registered, you can check for CPPC in Performance Monitoring window where you'll read the frequency ratios defined by firmware.

You can then as will enable or disable CPPC managed by firmware.

 

You now press shortcut `!` to toggle frequencies in absolute mode. Should be your default base clock.

 

You press `p` for the Processor window and scroll down to CPPC where you can modify the target frequency (TGT) for the whole processor (HWP-TGT)

For exemple, here TGT is change to the ratio of 7 for a processor frequency capped to 700 MHz

 

You can restore the Target to the BCLK, mine is ratio 35

 

Don't forget to disable CPPC when no more in used but be aware last Target is locking frequency. Please restore to BCLK before.

2022-11-04-133908_603x362_scrot.png

2022-11-04-134010_604x362_scrot.png

2022-11-04-134345_652x1012_scrot.png

2022-11-04-134840_303x108_scrot.png

Edited by CyrIng
  • Like 1
Link to comment
4 hours ago, CyrIng said:

Once Governor, CPU-FREQ, CPU-IDLE, CPU-IDLE route well registered, you can check for CPPC in Performance Monitoring window where you'll read the frequency ratios defined by firmware.

You can then as will enable or disable CPPC managed by firmware.

 

You now press shortcut `!` to toggle frequencies in absolute mode. Should be your default base clock.

 

You press `p` for the Processor window and scroll down to CPPC where you can modify the target frequency (TGT) for the whole processor (HWP-TGT)

For exemple, here TGT is change to the ratio of 7 for a processor frequency capped to 700 MHz

 

You can restore the Target to the BCLK, mine is ratio 35

 

Don't forget to disable CPPC when no more in used but be aware last Target is locking frequency. Please restore to BCLK before.

2022-11-04-133908_603x362_scrot.png

2022-11-04-134010_604x362_scrot.png

2022-11-04-134345_652x1012_scrot.png

2022-11-04-134840_303x108_scrot.png

 

I corrected my syslinux.cfg, added your line on line 8 in the cfg:

image.thumb.png.82daac26268caebcba9dfc64e86c014a.png

 

In settings I can enable all the 4 drivers and set CPU-IDLE route to I/O

image.png.7e91ddb83e75ac15fd2d5cbbfaea06ff.png

 

In the kernel I can set the Idle Limit to C6, only I'm missing the govenor and I don't where I can change this? 

image.png.e5c956c7a8613a55c088a55f064c69de.png

 

Performance monitoring looks like this, didn't change anything here:

image.png.606d58c0ded392253630f0d6e06a0cdc.png

 

Processor looks like this, didn't change anything here either:

image.png.425f01a4d9e49cae208632b8944af918.png

 

Another question, once I get all these settings correct, how do I save them, so there are there after a reboot? 

 

 

 

 

 

 

Link to comment
21 minutes ago, de Techneut said:

 

I corrected my syslinux.cfg, added your line on line 8 in the cfg:

image.thumb.png.82daac26268caebcba9dfc64e86c014a.png

 

In settings I can enable all the 4 drivers and set CPU-IDLE route to I/O

image.png.7e91ddb83e75ac15fd2d5cbbfaea06ff.png

 

In the kernel I can set the Idle Limit to C6, only I'm missing the govenor and I don't where I can change this? 

image.png.e5c956c7a8613a55c088a55f064c69de.png

 

Performance monitoring looks like this, didn't change anything here:

image.png.606d58c0ded392253630f0d6e06a0cdc.png

 

Processor looks like this, didn't change anything here either:

image.png.425f01a4d9e49cae208632b8944af918.png

 

Another question, once I get all these settings correct, how do I save them, so there are there after a reboot? 

 

 

 

 

 

 

To get Governor registered, as a prerequisite, order matters. So you have to enable from bottom option to the top one, idle route. 

 

Processor settings in CoreFreq are driver parameters. 

You will enter "modinfo corefreqk" to list them. 

You can express several parameters as "key=value" when loading corefreqk.ko driver. 

This is the way to make settings permanent. 

Check your distribution manual, parameters of Linux kernel modules are usually stored into "/etc/modprobe.conf"

To sum up, CoreFreq adopts the Linux standards for its settings. 

  • Like 1
Link to comment
  • 4 weeks later...
On 7/30/2022 at 1:59 PM, mgutt said:

Ist nicht aktiv.

 

Bitte das ausführen:

 

lscpu | grep "cppc"

 

Wenn vorhanden, dann folgende Kernel Option setzen und Server neu starten:

 

amd_pstate.replace=1

 

Von hier:

https://wiki.archlinux.org/title/CPU_frequency_scaling#Scaling_drivers

 

 

Hallo zusammen,

 

ist das immer noch der aktuelle Stand?

 

Bei mir (Ryzen 9 5900x) ist acpi-cpufreq noch geladen.

Die CPPC Settings im BIOS habe ich umgestellt, aber ein "lscpu | grep "cppc" ist nicht vorhanden. Muss ich jetzt erst den Treiber umstellen oder erst sicherstellen, dass die CPU das Feature aufweist? Fehlt ggf. noch ein BIOS-Setting?

 

Ist 

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

und ein modprobe amd_pstate dann alles, was nötig ist?

Wenn ich bei mir lediglich acpi-cpufreq entferne und amd_pstate versuche zu laden, bekomme ich eine Fehlermeldung.

 

Zuletzt habe ich noch nicht ganz verstanden, inwiefern CoreFreq da jetzt etwas ersetzt. Ich habe das Tool installiert und es läuft auch, Einstellungen habe ich bisher nicht geändert. Wird das Tool momentan nur zu Diagnose verwendet oder müssen damit auch aktiv Einstellungen geändert werden um den Verbrauch zu senken?

Wenn amd_pstate läuft, kann ich theoretisch doch den geringeren Takt auch über die Boardmittel einstellen, oder?

So viele Fragen...

 

Viele Grüße,

skies

Link to comment
3 hours ago, skies said:

Zuletzt habe ich noch nicht ganz verstanden, inwiefern CoreFreq da jetzt etwas ersetzt. Ich habe das Tool installiert und es läuft auch, Einstellungen habe ich bisher nicht geändert. Wird das Tool momentan nur zu Diagnose verwendet oder müssen damit auch aktiv Einstellungen geändert werden um den Verbrauch zu senken?

Nur Analyse 

Link to comment
On 11/30/2022 at 8:56 AM, skies said:

Bei mir (Ryzen 9 5900x) ist acpi-cpufreq noch geladen.

Die CPPC Settings im BIOS habe ich umgestellt, aber ein "lscpu | grep "cppc" ist nicht vorhanden. Muss ich jetzt erst den Treiber umstellen oder erst sicherstellen, dass die CPU das Feature aufweist? Fehlt ggf. noch ein BIOS-Setting?

 

Ist 

initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

 

und ein modprobe amd_pstate dann alles, was nötig ist?

amd_pstate

 

I don't have neither `CPPC` within `lscpu` but after inserting module with `modprobe amd_pstate` then you check with `lsmod | grep pstate`. Driver `amd_pstate` should be listed. If not, give a look into the kernel log for any issue.

 

Your prerequisite look similar to mine:

`modprobe.blacklist=acpi_cpufreq amd_pstate.shared_mem=1 idle=halt amdgpu.ppfeaturemask=0xffffffff `

 

Since kernel 6.0 not using `initcall_blacklist=acpi_cpufreq_init`

 

Next search for the `amd_pstate` driver settings:

`sudo du -a /sys | grep amd_pstate`

 

What you want is per CPU the following attributes

/sys/devices/system/cpu/cpufreq/policy0/amd_pstate_highest_perf
/sys/devices/system/cpu/cpufreq/policy0/amd_pstate_lowest_nonlinear_freq
/sys/devices/system/cpu/cpufreq/policy0/amd_pstate_max_freq

 

On 11/30/2022 at 8:56 AM, skies said:

Zuletzt habe ich noch nicht ganz verstanden, inwiefern CoreFreq da jetzt etwas ersetzt. Ich habe das Tool installiert und es läuft auch, Einstellungen habe ich bisher nicht geändert. Wird das Tool momentan nur zu Diagnose verwendet oder müssen damit auch aktiv Einstellungen geändert werden um den Verbrauch zu senken?

Wenn amd_pstate läuft, kann ich theoretisch doch den geringeren Takt auch über die Boardmittel einstellen, oder?

So viele Fragen...

 

CoreFreq

CoreFreq is indeed an autonomous driver and manages CPPC by itself, whatever the manufacturer and the implementation are: Intel, AMD, Firmware

 

Firmware mode

In the `Performance Monitoring` you are getting the capabilities:

Performance Monitoring                                                          
|- Continuous Performance Control                               _CPC       [ ON]
|- Collaborative Processor Performance Control                  CPPC       <FMW>
   |- Capabilities     Lowest      Efficient     Guaranteed        Highest      
   |- CPU #0     500.00 (  5)  3499.99 ( 35)  2400.00 ( 24)  4699.99 ( 47)      
   |- CPU #1     500.00 (  5)  3499.99 ( 35)  2400.00 ( 24)  4699.99 ( 47)      
   |- CPU #2     500.00 (  5)  3500.00 ( 35)  2400.00 ( 24)  4599.99 ( 46)      
   |- CPU #3     500.00 (  5)  3499.99 ( 35)  2400.00 ( 24)  4499.99 ( 45)      
   |- CPU #4     500.00 (  5)  3499.99 ( 35)  2399.99 ( 24)  4199.99 ( 42)      
   |- CPU #5     500.00 (  5)  3499.99 ( 35)  2399.99 ( 24)  4399.99 ( 44)      
   |- CPU #6     500.00 (  5)  3499.99 ( 35)  2399.99 ( 24)  4099.99 ( 41)      
   |- CPU #7     500.00 (  5)  3499.99 ( 35)  2399.99 ( 24)  4299.98 ( 43)      

 

In `Processor` you can view and alter the Target frequency ratios:

Processor                                  [AMD Ryzen 9 3950X 16-Core Processor]
|- Architecture                                                   [Zen2/Matisse]
|- Performance                                                                  
   |- P-State                                                                   
                 TGT   3499.99                    <  35 >                       
   |- CPPC                                                                      
                 Min    500.00                    <   5 >                       
                 Max   4699.99                    <  47 >                       
                 TGT   4699.99                    <  47 >                       

 

Hardware mode

You are getting same as Firmware mode but you can also set the Energy Preference.

 

In `Power, Current & Thermal` you can change the Energy hint in `CPPC Energy Preference`

 

Remark: Intel HWP = AMD CPPC

 

Project: Still a Work in Progress, pull the develop branch or ISO image if you want all of these

Edited by CyrIng
  • Thanks 1
Link to comment

Thank you @CyrIng.

 

Just to be sure:

On 12/1/2022 at 9:08 AM, CyrIng said:

Your prerequisite look similar to mine:

`modprobe.blacklist=acpi_cpufreq amd_pstate.shared_mem=1 idle=halt amdgpu.ppfeaturemask=0xffffffff `

 

amdgpu.ppfeaturemask=0xffffffff is only for CPUs with a GPU, right?

 

After doing the changes as described above, amd_pstate is not loaded and all cores are clocked at 550 MHz:

 

analyzing CPU 23:
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 23
  CPUs which need to have their frequency coordinated by software: 23
  maximum transition latency: 131 us.
  hardware limits: 550 MHz - 4.95 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
  current policy: frequency should be within 550 MHz and 4.95 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 550 MHz.

 

However, powertop seems not to be able to access any c states. Also, the system seems to draw a little more power then before.

 

PowerTOP 2.15     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


           Pkg(OS)  |            Core(OS) |            CPU(OS) 0   CPU(OS) 12

                    |            Core(OS) |            CPU(OS) 1   CPU(OS) 13

                    |            Core(OS) |            CPU(OS) 2   CPU(OS) 14

                    |            Core(OS) |            CPU(OS) 3   CPU(OS) 15

                    |            Core(OS) |            CPU(OS) 4   CPU(OS) 16

                    |            Core(OS) |            CPU(OS) 5   CPU(OS) 17

                    |            Core(OS) |            CPU(OS) 6   CPU(OS) 18

                    |            Core(OS) |            CPU(OS) 7   CPU(OS) 19

                    |            Core(OS) |            CPU(OS) 8   CPU(OS) 20

                    |            Core(OS) |            CPU(OS) 9   CPU(OS) 21

                    |            Core(OS) |            CPU(OS) 10  CPU(OS) 22

                    |            Core(OS) |            CPU(OS) 11  CPU(OS) 23

 

PowerTOP 2.15     Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            


            Package |             Core    |            CPU 0	   CPU 12
Idle        56.0%   | Idle        96.1%   | Idle        97.9%       98.0%
 550 MHz    44.0%   |  550 MHz     3.9%   |  550 MHz     2.1%        2.0%

                    |             Core    |            CPU 1	   CPU 13
                    | Idle        92.4%   | Idle        96.7%       95.1%
                    |  550 MHz     7.6%   |  550 MHz     3.3%        4.9%

                    |             Core    |            CPU 2	   CPU 14
                    | Idle        91.6%   | Idle        95.5%       95.6%
                    |  550 MHz     8.4%   |  550 MHz     4.5%        4.4%

                    |             Core    |            CPU 3	   CPU 15
                    | Idle        96.5%   | Idle        98.0%       98.1%
                    |  550 MHz     3.5%   |  550 MHz     2.0%        1.9%

                    |             Core    |            CPU 4	   CPU 16
                    | Idle        94.4%   | Idle        97.7%       96.4%
                    |  550 MHz     5.6%   |  550 MHz     2.3%        3.6%

                    |             Core    |            CPU 5	   CPU 17
                    | Idle        94.9%   | Idle        95.6%       99.0%
                    |  550 MHz     5.1%   |  550 MHz     4.4%        1.0%

                    |             Core    |            CPU 6	   CPU 18
                    | Idle        96.5%   | Idle        97.9%       98.1%
                    |  550 MHz     3.5%   |  550 MHz     2.1%        1.9%

                    |             Core    |            CPU 7	   CPU 19
                    | Idle        91.7%   | Idle        93.9%       97.4%
                    |  550 MHz     8.3%   |  550 MHz     6.1%        2.6%

                    |             Core    |            CPU 8	   CPU 20
                    | Idle        94.8%   | Idle        97.0%       97.6%
                    |  550 MHz     5.2%   |  550 MHz     3.0%        2.4%

                    |             Core    |            CPU 9	   CPU 21
                    | Idle        94.9%   | Idle        96.6%       97.8%
                    |  550 MHz     5.1%   |  550 MHz     3.4%        2.2%

                    |             Core    |            CPU 10	   CPU 22
                    | Idle        94.0%   | Idle        96.9%       96.9%
                    |  550 MHz     6.0%   |  550 MHz     3.1%        3.1%

                    |             Core    |            CPU 11	   CPU 23
                    | Idle        95.3%   | Idle        96.8%       98.1%
                    |  550 MHz     4.7%   |  550 MHz     3.2%        1.9%

 

Is that the desired state here or am I doing something wrong?

 

Link to comment
7 hours ago, skies said:

amdgpu.ppfeaturemask=0xffffffff is only for CPUs with a GPU, right?

Yes, found this in kernel doc for my Radeon RX 6700 10GB 

 

7 hours ago, skies said:

Is that the desired state here or am I doing something wrong?

According to AMD PPR datasheets 550 is the lowest frequency and that's something you'll monitor easier with CoreFreq 

Link to comment
15 hours ago, Joly0 said:

Ok guys, can someone tell me what i have to do, to enable cppc driver for my 7950x? If i run corefreq-cli cppc is blue, not green, but i am not sure what i have to do now

Hi

 

Be aware 7950X is still a work in progress.

See development issue #378 for any news or contributions.

 

CPPC is divided into 2 processor implementations:

  1. Hardware with MSR registers
  2. Firmware with ACPI registers

In hardware mode, CPPC can be stated as green because there is a dedicated MSR register to enable CPPC. (same as Intel HWP)

 

In firmware mode, ACPI calls are handled by the Linux kernel. CoreFreq is using this route for ACPI. But no Kernel function is exposed to state the ACPI/CPPC.

One can blindly enable/disable as will; that's why label is shown as blue.

However in the [Performance Monitoring] window are listed the CPU's frequency capabilities; those are non zero when firmware is currently driving CPPC. You can use this as an indicator.

 

2022-12-18-134118_644x1012_scrot.png

Link to comment
  • 4 weeks later...
On 11/4/2022 at 12:39 PM, de Techneut said:
initcall_blacklist=acpi_cpufreq_init amd_pstate.enable=1 amd_pstate.replace=1

Der Teil hat in meiner syslinux leider zu Problemen geführt (eth0 wollte nicht mehr so richtig und ich musste jdownloader2 neu und sauber installieren). 

Gibt es hier einen aktuellen Stand wie man das zum laufen bekommt? 

Das "GPU statistics"-Plugin zeigt mir leider noch immer durchweg "N/A" an, unter "Tipps and Tweaks"-Plugin wird mir bei "CPU frequenzy scaling" auch noch immer "no driver" angezeigt. 

Und unter corefreq gibt es nur:

Clock Source                                               <             tsc>  
 CPU-Freq driver                                            [         Missing]  
 Governor                                                   [         Missing]  
 CPU-Idle driver                                            [       acpi_idle]  
   Idle Limit                                               [              C1]
  

 

:(

Link to comment
  • 3 weeks later...

Hi,

 

does anyone know the current state of affairs for v6.11.5?
How to install/enable amd-pstate at the moment?

And does it offer practical benefits compared to the acpi-cpufreq driver?

 

There where some doubts in the past:

https://www.phoronix.com/review/amd-pstate-linux517/6

 

But a little glimmer of hope here and there:

https://www.phoronix.com/news/AMD-P-State-EPP-Linux

 

Any thoughts on that?

 

Regards

Edited by Gemuesefraumann
Link to comment
  • 1 month later...
On 2/4/2023 at 11:59 PM, Gemuesefraumann said:

Hi,

 

does anyone know the current state of affairs for v6.11.5?
How to install/enable amd-pstate at the moment?

And does it offer practical benefits compared to the acpi-cpufreq driver?

 

There where some doubts in the past:

https://www.phoronix.com/review/amd-pstate-linux517/6

 

But a little glimmer of hope here and there:

https://www.phoronix.com/news/AMD-P-State-EPP-Linux

 

Any thoughts on that?

 

Regards

 

Sorry for our german friends for highjacking this very interesting thread.

 

How to install/enable amd-pstate at the moment?

like already said, modify syslinux.cfg :

modprobe.blacklist=acpi_cpufreq amd_pstate.shared_mem=1 idle=halt

 

And add modprobe amd_pstate to your go file.

 

And does it offer practical benefits compared to the acpi-cpufreq driver?

Yes it allow lower idle frequency at 550 Mhz

 

Any thoughts on that?

Crossing finger for unraid 6.12 and its 6.1 kernel.

 

  • Thanks 2
Link to comment

Hi,
sorry, but I do not get this working for my Ryzen 3700X
I've added

modprobe.blacklist=acpi_cpufreq amd_pstate.shared_mem=1

and of course the modprobe amd_pstate

amd_pstate is loaded, but cpufreq-info shows:

 

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.
  available cpufreq governors: corefreq-policy, conservative, ondemand, userspace, powersave, performance, schedutil
  current CPU frequency is 3.59 GHz.
analyzing CPU 1:
  driver: amd-pstate

 

and if I look into corefreq-cli the system is always running at full speed.

grafik.thumb.png.512bbc54f16b85b42bfbf8fcc0682782.png

 

before the system has a minimum of 2200MHz.

Tips and Tweaks tells me, that there is no governor
grafik.png.ef8f47cc8cea26c9ce5fc373f9589d14.png

Any Idea?

 

best regards
Bastian

Edited by BasWeg
Link to comment

hello folks! been reading through this entire thread and man is it a bunch of info 😂

 

I have managed to get C6 states set via the registering of the Governor, CPU-FREQ, CPU-IDLE, CPU-IDLE everything works well there.. i just have two questions:

1) how can i get these to be registered and set on start up? For now it seems i need to go into the corefreq-cli and register and set my c6 state capability every startup? anyway to get it to auto configure?

 

2) i have a 3600 matisse core and for all intensive purposes looks like i'm CPPC capable,

image.png.0fa291466159ba6fb25c460556cef8b0.png

 

BUT when i go into perf. monitoring i do not see anywhere where you can set CPPC like where @CyrIng mentioned above.
image.png.7a43b7846669dd2a7b966e58b53ce926.png

 

I'm currently on the public 1.95.5 version and have the following kernel settings

image.png.3ff4369b675efd1444e46dcd6620b973.png

 

I have also done the changes to syslinux.cfg BUT have NOT enabled the modprobe amd_pstate since enabling that modprobe setting does NOT allow me to set CPU-FREQ driver to corefreq since its would already be occupied by amd_pstate. 

Funnily enough i also have an asrock B550M-pro4 board. I have tried the CPPC to auto AND enable no differences on latest 2.32 bios FW. 

 

If you need anymore info please let me know!

 

-Syaoran

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.