Proxmox VM's at 2.11mhz

0wneeejj

New Member
Jan 4, 2023
4
0
1
Hello there,

Im running proxmox on an Intel nuc 12 i5WSH for an while now, running pretty good. but i discovered that my cpu frequenty is stuck on 2.11mhz. is there an way to fix this? i found some information about upscaling govenour and checked this aswell, my proxmox server is on performence mode. also found some information about intel pstate, but i am not sure how to install/setup this.

Some information
source of Pstate information: https://www.reddit.com/r/Proxmox/comments/vec8xn/cpu_scaling_governors_not_working_seemingly_stuck/

Code:
root@pve:~# lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              1
Core(s) per socket:              12
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           154
Model name:                      12th Gen Intel(R) Core(TM) i5-1240P
Stepping:                        3
CPU MHz:                         2100.000
CPU max MHz:                     4400.0000
CPU min MHz:                     400.0000
BogoMIPS:                        4224.00
Virtualization:                  VT-x
L1d cache:                       288 KiB
L1i cache:                       192 KiB
L2 cache:                        7.5 MiB
NUMA node0 CPU(s):               0-15
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe sysca
                                 ll nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known
                                 _freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcn
                                 t tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp
                                 ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx sm
                                 ap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_
                                 notify hwp_act_window hwp_epp hwp_pkg_req umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear s
                                 erialize arch_lbr flush_l1d arch_capabilities

1681977006000.png

1681977045697.png
 
Last edited:
Hi,
why do you think that the CPU frequency scaling is not working as expected? Your output of /proc/cpuinfo even shows one core being scaled to ~3.3GHz...

When idle, CPU frequency will be reduced to min for improved thermals and power savings. Try to put some compute load on the CPU, and frequencies will scale up, until throttled if the CPU gets to hot.
 
Also be aware, that this CPU has P- and E-cores, which have different turbo frequencies: [1].

I do not know, how well/far the optimization in regards of e.g. scheduling and so on for those on the current default 5.15 kernel is/got, but you might want to try/use the newer 6.2 opt-in kernel: [2].

Edit: Also, what is the currently used scaling_driver?:
Bash:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

[1] https://ark.intel.com/content/www/u...1240p-processor-12m-cache-up-to-4-40-ghz.html
[2] https://forum.proxmox.com/threads/opt-in-linux-6-2-kernel-for-proxmox-ve-7-x-available.124189
 
Last edited:
thanks for the quick reaction guys,

@Chris i noticed that the cpu is indeed scaling with the /proc/cpuinfo command, did not looked good enough in it :P think the windows task manager fooled me a bit, since it says 2.11GHz.

@Neobin my current scaling driver is intel_pdrive

i think that the VM is just showing an false frequenty? since it does scale up in cpuinfo and i think the scaling_driver is using the correct one.
 

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!