0

I am trying to fix the frequency of all the cores to some constant value, with no success.

Settings

  • Computer with 2 Intel Xeon Gold 6130 CPU, with 16 cores each
  • Kernel 4.9.0-8-amd64
  • Intel p-state driver

Tentative

First, the initial state of my system:

root@foo:~# cpufreq-info -p
1000000 3700000 powersave

Then, I try to change both the governor and the min/max frequencies (note that I also tried with lower frequency values):

root@foo:~# cpupower -c all frequency-set -g performance -d 3700000 -u 3700000
Setting cpu: 0
Setting cpu: 1
[...]
Setting cpu: 30
Setting cpu: 31

Checking that this was successful:

root@foo:~# cpufreq-info -p
3700000 3700000 performance

However, when I look at the current frequencies of the cores, none of them has the desired frequency:

root@foo:~# grep MHz /proc/cpuinfo
cpu MHz         : 2799.957
cpu MHz         : 1000.012
cpu MHz         : 1000.012
[...]

Similar result with these commands:

root@foo:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
[...]
root@foo:~# 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: 1000 MHz - 3.70 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 3.70 GHz and 3.70 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: 1.59 GHz (asserted by call to hardware)
  boost state support:
    Supported: yes
    Active: yes

Question

How can I fix the frequency of the cores?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.