0

I'm using Ubuntu 20.04, and following this tutorial to disable CPU frequency scaling.

I have done:

sudo systemctl disable ondemand
sudo systemctl enable cpufrequtils
sudo sh -c 'echo "GOVERNOR=performance" > /etc/default/cpufrequtils'
sudo systemctl daemon-reload && sudo systemctl restart cpufrequtils

then reboot then I have checked the state of the GOVERNOR for each cpu 0-->11 and I see the mode as performance, now when I check using $ cpufreq-info I get:

analyzing CPU 11:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 11
  CPUs which need to have their frequency coordinated by software: 11
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 4.10 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 4.10 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.

Same for all CPUs from 0 --> 11, can you please tell me how can I disable CPU frequency scaling correctly? thanks in advance.

Bilal
  • 305
  • 1
  • 4
  • 15
  • Even with the performance CPU frequency scaling governor, that processor can reduce the frequency from maximum if the load is light enough. If you have significant load on some CPUs and are still getting 800 MHz, then that is not expected. – Doug Smythies Jun 09 '23 at 05:38
  • @DougSmythies but what I expect after following that tutorial is to have my cpu running at full scale frequency all the time – Bilal Jun 09 '23 at 06:06
  • It is unusual to observe the minimum CPU frequency with the performance CPU frequency scaling governor. If you really want the CPUs to always be running at the maximum frequency all the time, then you need to disable all idle states, at a huge cost in power. – Doug Smythies Jun 09 '23 at 14:33
  • see also here. What is your Intel processor model? Do: grep -m 1 "model name" /proc/cpuinfo – Doug Smythies Jun 09 '23 at 14:55

0 Answers0