[PVE-User] CPU freq scale in PVE 6.0

José Manuel Giner jm at ginernet.com
Sun Jan 26 12:40:43 CET 2020


I edited /etc/default/grub
Updated with update-grub command
Checked that /boot/grub/grub.cfg has been updated correctly
But after reboot nothing has changed,
freq is still btw 1.20 and 3.60 GHz

Any idea how to fix?


On 23/01/2020 20:38, Alexandre DERUMIER wrote:
> Hi,
> I'm setup this now for my new intel processors:
> 
> /etc/default/grub
> 
> GRUB_CMDLINE_LINUX="intel_idle.max_cstate=0 intel_pstate=disable processor.max_cstate=1"
> 
> 
> 
> ----- Mail original -----
> De: "José Manuel Giner" <jm at ginernet.com>
> À: "proxmoxve" <pve-user at pve.proxmox.com>
> Envoyé: Jeudi 23 Janvier 2020 15:34:47
> Objet: [PVE-User] CPU freq scale in PVE 6.0
> 
> Hello,
> 
> Since PVE 6.0, we detect that the CPU frequency is dynamic even if the
> governor "performance" is selected.
> 
> How can we set the maximum frequency in all the cores?
> 
> Thank you.
> 
> 
> root at ns1031:~# cat /proc/cpuinfo | grep MHz
> cpu MHz : 1908.704
> cpu MHz : 1430.150
> cpu MHz : 1436.616
> cpu MHz : 1433.659
> cpu MHz : 1547.050
> cpu MHz : 2299.611
> cpu MHz : 2931.782
> cpu MHz : 3321.946
> cpu MHz : 3397.896
> cpu MHz : 3401.725
> cpu MHz : 3401.701
> cpu MHz : 3170.021
> cpu MHz : 2502.847
> cpu MHz : 1534.596
> cpu MHz : 2969.438
> cpu MHz : 3435.646
> cpu MHz : 1992.717
> cpu MHz : 2922.292
> cpu MHz : 2917.282
> cpu MHz : 2921.654
> cpu MHz : 2484.807
> cpu MHz : 1866.995
> cpu MHz : 1629.151
> cpu MHz : 2841.298
> cpu MHz : 3404.503
> cpu MHz : 3401.732
> cpu MHz : 3406.120
> cpu MHz : 2189.093
> cpu MHz : 1545.454
> cpu MHz : 3348.573
> cpu MHz : 1564.159
> cpu MHz : 3438.787
> root at ns1031:~#
> root at ns1031:~#
> root at ns1031:~#
> root at ns1031:~# cpupower frequency-info
> analyzing CPU 0:
> driver: intel_pstate
> CPUs which run at the same hardware frequency: 0
> CPUs which need to have their frequency coordinated by software: 0
> maximum transition latency: Cannot determine or is not supported.
> hardware limits: 1.20 GHz - 3.60 GHz
> available cpufreq governors: performance powersave
> current policy: frequency should be within 1.20 GHz and 3.60 GHz.
> The governor "performance" may decide which speed to use
> within this range.
> current CPU frequency: Unable to call hardware
> current CPU frequency: 1.90 GHz (asserted by call to kernel)
> boost state support:
> Supported: yes
> Active: yes
> root at ns1031:~#
> root at ns1031:~#
> 
> 
> 

-- 
José Manuel Giner
https://ginernet.com




More information about the pve-user mailing list