VM CPU frequency

Hi,
CPU frequency scaling will be performed by the driver in the Linux kernel of the host, not the guest VM. You can check your current frequency scaling settings via e.g. cpupower frequency-info, this requires you to install the linux-cpupower package first via apt install linux-cpupower on the Proxmox VE host. Further details can be found here: https://linux.die.net/man/1/cpupower-frequency-info

Edit: Note that the frequencies reported within the VM might not be correct and are irrelevant to the host scaling behavior.
 
Last edited:
  • Like
Reactions: rtorres and abzsol
Hi, thanks for the reply.
I installed the package with the command "apt install linux-cpupower" to recover the info but if I launch the command cpupower frequency-info on the server I get this result as if the kernel was not communicating.
(example)
root@pve05:~# cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: yes

Active: yes


I did the same test on an older test server and instead I receive the correct data
(example)
root@pve2:~# cpupower frequency-info
analyzing CPU 0:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 20.0 us
hardware limits: 1.20 GHz - 2.60 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.20 GHz and 2.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.10 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
2400 MHz max turbo 4 active cores
2400 MHz max turbo 3 active cores
2500 MHz max turbo 2 active cores

2600 MHz max turbo 1 active cores


Is there any configuration that needs to be activated to send CPU data or is it a compatibility problem?
Thanks!
 
Last edited:
Hi, thanks for the reply.
I installed the package with the command "apt install linux-cpupower" to recover the info but if I launch the command cpupower frequency-info on the server I get this result as if the kernel was not communicating.
(example)
root@pve05:~# cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: yes

Active: yes


I did the same test on an older test server and instead I receive the correct data
(example)
root@pve2:~# cpupower frequency-info
analyzing CPU 0:
driver: intel_cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 20.0 us
hardware limits: 1.20 GHz - 2.60 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.20 GHz and 2.60 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.10 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
2400 MHz max turbo 4 active cores
2400 MHz max turbo 3 active cores
2500 MHz max turbo 2 active cores

2600 MHz max turbo 1 active cores


Is there any configuration that needs to be activated to send CPU data or is it a compatibility problem?
Thanks!
Can you please provide the hardware specifications for pve05?
 

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!