Questions tagged [cpufreq]

CPU Frequency, or CPU Frequency Scaling. This is implemented in the Linux kernel, and in versions since 3.4 use an ondemand governor by default, which saves power by using as much as is needed.

CPU frequency scaling enables the operating system to scale the CPU frequency up or down in order to save power. CPU frequencies can be scaled automatically depending on the system load, in response to ACPI events, or manually by userspace programs.

CPU frequency scaling is implemented in Linux kernel, the infrastructure is called cpufreq. Since kernel 3.4 the necessary modules are loaded automatically and the recommended ondemand governor is enabled by default. However, userspace tools like cpupower, acpid, Laptop Mode Tools, or GUI tools provided for your desktop environment, may still be used for advanced configuration.

Source: https://wiki.archlinux.org/index.php/CPU_Frequency_Scaling

220 questions
48
votes
8 answers

How do I set the CPU frequency scaling governor for all cores at once?

I'd like to set the CPU frequency scaling governor for all cores at once instead of doing it individually for each core. Is there a way to do this? (I know it would be easy to echo the governor to…
htorque
  • 64,798
12
votes
2 answers

Can I upper limit the CPU frequency?

How can I upper limit my CPU frequency by a value? cpufreq offers fixing the frequency to a constant value, instead of letting it vary in a range. It also offers conservative, on demand, powersave, and performance. I don't know what they mean. but…
Tim
  • 25,177
9
votes
1 answer

how to run cpufreqd in ubuntu 14.04?

I've just installed cpufreqd in a fresh installation of Ubuntu 14.04 through: sudo apt-get install cpufreqd After that, I tried to execute it by sudo cpufreqd. But nothing happens (neither error or indicator displayed). Even I can't see any new…
Akronix
  • 1,223
  • 2
  • 17
  • 29
6
votes
1 answer

Why are the CPU frequency timing statistics all zeros?

The cpufreq timing statistics are all zeros: $ sort --unique /sys/devices/system/cpu/cpu*/cpufreq/stats/time_in_state | column 1600000 0 2100000 0 2600000 0 3100000 0 1700000 0 2200000 0 2800000 0 3300000…
ændrük
  • 76,794
2
votes
1 answer

how to reducing cpu frequency (I have spent over 2 hours trying)

I want to reduce my CPU frequency to less then the original johnul@johnul-HP-15-Notebook-PC:~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s)…
2
votes
1 answer

Ubuntu 12.10 core different frequencies

There is a little problem with my CPU, I found some tutorials, how to install Avant Windows Manager, I wanted to change my cpu frequency, I thought it works, but it works only for one core. My CPU is an Intel i5, with 2 cores and 4 threads. So I…
hocikto
  • 143
2
votes
0 answers

cpufreq-selector, cpufreq-info reporting wrong max speed

I've just built a new machine with a Core i5-760 CPU. Max speed is 2.80GHz (turbo mode notwithstanding). I've also done a vanilla install of Ubuntu 10.10. I've added the cpufreq-selector applet to the top panel, and its menus only allow me to select…
dty
  • 203
1
vote
0 answers

CPU frequency issue: What is idma64.0, and what triggers its hyper-activity?

Following up on the old question CPU frequency always at the maximum, I have found that sudo powertop gives a process called idma64.0 with 300 to 4200 events/second when the CPU frequency is stuck at 3500 MHz, instead of slowing down. When the CPU…
user258532
  • 1,258
  • 2
  • 16
  • 25
1
vote
1 answer

how to reset CPU max speed?

I've recently had a problem where my cpu was running at min speed constantly. This resulted in a very slow laptop and I found an article where one said it could be solved with this command: this is the command I executed: sudo sed -i…
0
votes
1 answer

Slow down CPU using indicator-cpufreq

I'm trying to slow down my CPU to play an old game (Windows 98). I've installed indicator-cpufreqand after using this help I managed to get it to work. However, I'm only able to select certain speeds; from 2.30 GHz to 1.20 Ghz. For the game to run…
0
votes
0 answers

Why Gnome CPUFreq settings seem to have no effect?

I'm running Ubuntu 22.04.3 LTS x86_64 and trying to set constant CPU frequency for all CPUs. Here is the status: Why some of the CPUs disregard the Min/Max frequencies set in CPUFreq app?
Paul Jurczak
  • 825
  • 2
  • 10
  • 22
0
votes
0 answers

Cpu stuck at 800MHz when under load

I have a system running Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-82-generic x86_64). I started noticing that it sits around 3.4 GHz like it should but when it goes under load, all cores drop to 800MHz. I first thought it must be a temperature issue but…
0
votes
1 answer

how do i set every core to a different frequency

I tried to use sudo cpufreq-set -c -f to change a single core's frequency, while all the other cores' frequency changes simultaneously, is this because my CPU cannot support achieving this? My CPU is Intel® Core™ i7-10700 CPU @ 2.90GHz with 8…