cpu at base frequency

alexandere

Member
Jul 20, 2021
7
0
6
40
The system is a fresh install of proxmox 7.2 with all updates installed

I'm using /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_info to monitor the current cpu frquency: but the frquency is always the base frequency of the cpu

The scaling governor is set to performance, after changing the governor to powersave the frequency is stuck at a lower frequency.

Is this a hardware or software issue, how to debug?

specs:
mb: Supermicro H12SSL-NT
cpu: Epyc 7443p
kernel: 5.15.35-1-pve (also present with 5.15.30-2-pve)
 
Look at the kernel documentation: https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
Powersave = your CPU will always run at the lowest clock
Performance = your CPU will always run at the highest clock

PVE 7.2 should use "Schedutil" by default (they switched defaults from performance to schedutil with PVE 7.0 o 7.1 if I remember right) which will dynamically switch frequencies between min and max clock depending on the load.
 

Attachments

  • 1653917648035.png
    1653917648035.png
    197.6 KB · Views: 92
Last edited:
Thank you, I changed the scaling governor back to schedutil.

/sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_info is now reporting both the base (2.85Ghz) and the lower (1.5Ghz).

I expect to see higher boost frequencies.
 

Attachments

  • screen1.png
    screen1.png
    41.4 KB · Views: 76
2,85GHz is your base clock. If it never boosts check your BIOS/UEFI. With all my older X10 Intel Supermicro boards here I needed to allow boosting there.
 
Last edited:
I checked the bios/uefi settings, but they seem correct.

After that I tried to monitor the frequency trough "/proc/cpuinfo", here I see the 4Ghz+ I expect (see image).

sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_cur_info still shows the base 2.85Ghz speed.

Is this a kernel issue?
 

Attachments

  • cpuinfo_cur_freq.png
    cpuinfo_cur_freq.png
    36.6 KB · Views: 58
  • proc_cpuinfo.png
    proc_cpuinfo.png
    50.4 KB · Views: 60

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!