Disabling CPU frequency scaling Ubuntu 20.04

il flag

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.

Doug Smythies avatar
gn flag
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.
Bilal avatar
il flag
@DougSmythies but what I expect after following [that tutorial]( is to have my cpu running at full scale frequency all the time
Doug Smythies avatar
gn flag
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 avatar
gn flag
see also [here]( What is your Intel processor model? Do: `grep -m 1 "model name" /proc/cpuinfo`
I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.