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.

Filter by
Sorted by
Tagged with
48 votes
8 answers
143k views

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's user avatar
  • 64.8k
36 votes
3 answers
92k views

How to permanently set CPU power management to the powersave governor?

I'm currently using this: cpupower frequency-set --governor powersave but it resets after each reboot.
Kyra's user avatar
  • 501
31 votes
3 answers
29k views

How do I use the GNOME Panel in Unity?

I really need to use the GNOME Applets, is there a way to do it?
Haguilar91's user avatar
21 votes
2 answers
34k views

Why are missing the frequency options on cpufreq-utils indicator?

I just upgraded to utopic and the indicator for cpufreq-utils just show two cpu frequency options: Power save and Performance. Before in trusty: Now in utopic: Regards.
Jhonnytunes's user avatar
20 votes
3 answers
64k views

How to set "Performance" instead of "Powersave" as default?

When I start my Unity desktop the CPU indicator shows only one bar and it is set to Powersave. When I switch to Performance I have to enter an admin users password. But after system restart my CPU is ...
Witek's user avatar
  • 3,943
17 votes
3 answers
13k views

Maximum CPU frequency stuck at low value

I have observed a problem with Ubuntu 13.04. The problem was not there on 11.10 I used earlier. The maximum CPU frequency is stuck at 2GHzon my Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (Dell Lattitude ...
angainor's user avatar
  • 511
16 votes
2 answers
49k views

Does Intel turbo boost work in Ubuntu?

I have an Intel i7 processor. It's frequency is 2.67 GHz, however it has turbo boost allowed to a frequency of 3.3 GHz. Is turbo boost posible using Ubuntu?
Tuxnewbee's user avatar
  • 161
13 votes
4 answers
23k views

CPU Frequency Scaling in Unity?

In Ubuntu 10.10, I added the CPU scaling applet on my panel in order to control the CPU frequency scaling. Since Unity no longer has a panel that supports applets, what mechanism do I use in 11.04 to ...
Mike Axiak's user avatar
12 votes
2 answers
26k views

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, ...
Tim's user avatar
  • 25.2k
12 votes
2 answers
10k views

Ubuntu and processor speed detection

I've got an older laptop that I use as a media center on my TV and I'm usually installing/reinstalling/uninstalling different OS' and Apps to get it to run as smoothly as possible. One thing I ...
Scotty_80's user avatar
  • 173
10 votes
2 answers
9k views

ubuntu 14.04 - only performance and powersave governor available (i5 4.gen)

After updating my ubuntu 13.10 to 14.04 there only these to govenors available for my cpu, instead of additionally ondemand and conservative. cat /sys/devices/system/cpu/cpu0/cpufreq/...
kinske's user avatar
  • 203
10 votes
2 answers
17k views

How to enable AMD Turbo Core on Ubuntu 14.04?

I'm using Ubuntu 14.04 (3.13.0-24-generic kernel) on AMD A8-4500m based laptop, and I've recently noticed, that AMD Turbo Core is not working at all. Everything works on Windows, however, on Linux CPU ...
m132's user avatar
  • 829
10 votes
3 answers
16k views

Ubuntu 13.04 CPU frequency scaling 'stuck' on lowest frequency

I've just installed Ubuntu 13.04 on my MacBook Air, after toying around for awhile the machine felt really slow, so I checked out the CPU frequency. cpufreq-info, it reports 800MHz on all 4 cores (...
user159534's user avatar
9 votes
1 answer
40k views

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 ...
Akronix's user avatar
  • 1,223
8 votes
2 answers
5k views

Determining the clock speed

I mean to determine the clock speed. I am posting below the output of the various commands listed here. For the max freq, I see 4 different sources, with 2 different values: CPU max MHz: 3300,0000 ...
sancho.s ReinstateMonicaCellio's user avatar
8 votes
1 answer
8k views

`indicator-cpufreq` doesn't seem to work on 14.10

I have a Dell XPS 12 and just installed Ubuntu 14.10 (by completely wiping out the old 14.04 installation). The indicator menu has 2 options, Performance and Powersave, from which I choose ...
Phil's user avatar
  • 321
7 votes
4 answers
20k views

What is the current frequency of my processor (CPU-Z equivalent)?

Is there a ubuntu program like CPU-Z which will show me the actual frequency of my processor? I do a fair amount of scientific computing which leads to me running my programs for up to 10 hrs. To ...
Anake's user avatar
  • 1,895
7 votes
2 answers
15k views

Ubuntu is very slow when Intel SpeedStep is enabled (CPU is not used in full speed)

I have a Dell notebook with i7 processor and Ubuntu 14.10. When i disable SpeedStep in my BIOS my computer is very fast but the fan runs very often and the battery gets empty fast. When I activate ...
Witek's user avatar
  • 3,943
7 votes
2 answers
2k views

CPU clock slower after each resume from sleep

I'm running kubuntu 15.10 on a Lenovo Y50-70, and I have a very annoying problem with the CPU clock: Whenever the computer resumes from sleep, the CPU clock has a lower maximum, and this does not ...
alain's user avatar
  • 215
7 votes
1 answer
19k views

Display clock frequency per core using Conky [duplicate]

I am using Conky to display a lot of information of my system. I managed to display the load percentage per core. But I do not know how to display the clock frequency of each core. What I have now is: ...
Aeronaelius's user avatar
7 votes
2 answers
8k views

Is irqbalance a bad thing?

I am using cpufreq gnome extension and it give's me warning irqbalance detected. Is that something to worry about? And if I somehow stop irqbalance will that affect the processor?
fingolfin's user avatar
  • 125
6 votes
2 answers
8k views

Disabling AMD's equivalent (on a Zen-1 Epyc) of Intel's "turbo boost" at runtime?

This may be a terminology problem at my end and a duplicate: On Intel CPUs, I can relatively easy disable turbo boost at runtime by running something like echo 1 > /sys/devices/system/cpu/...
s-m-e's user avatar
  • 171
6 votes
5 answers
3k views

Processor caps at 800Mhz

When I do something that spikes the CPU, it seems to throttle the CPU to prevent overheating. This is fine. However when I stop, finish or close the program or process that is pushing the CPU, it ...
DannyBoy's user avatar
  • 123
6 votes
1 answer
1k views

What are the pros and cons of CPU frequency control on a laptop?

What are the pros and cons of controlling (lowering, or even overclocking) the CPU frequency on a laptop? How can I do it in Ubuntu and will it increase my battery life (as I never play games and ...
Nirmik's user avatar
  • 7,868
6 votes
5 answers
32k views

How to set as default Performance mode on Ubuntu 20.04 instead of Powersave?

I've been trying unsuccessfully to have the CPU governor default to Performance instead of Powersave at startup. Is there a tried-and-true method that currently works for Ubuntu 20.04? I tried the ...
facialrecognition's user avatar
6 votes
1 answer
35k views

How do I get a CPU frequency scaling monitor on 12.04?

I just updated my linux computer from 64-bit ubuntu 10.04 to 64-bit ubuntu 12.04. On that bar along the top of the screen in 10.04 are 8 little icons that display the current speed of each of the 8 ...
honestann's user avatar
  • 853
6 votes
1 answer
672 views

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 ...
ændrük's user avatar
  • 76.8k
5 votes
1 answer
2k views

Laptop battery life

I have Asus TransformerBook TP500LB. Very good laptop - i5 5200U, 8GB RAM, nV 940M, ... But, when I run windows10, my battery life is somewhere about 6-7hours (very low brightness and no gaming as ...
kubrdom's user avatar
  • 73
5 votes
1 answer
17k views

TLP don't change CPU frequency

I check CPU clock speed with cat /proc/cpuinfo | grep "MHz", After sudo tlp start and sudo tlp bat still frequency is 2100MHz (Maximum). Could you please help me to solve this problem? I'm using ...
Daniyal Javani's user avatar
5 votes
2 answers
8k views

How to set governors for Intel to work as old good ondemand?

I used to work on my laptop on ondemand governor, which was switching CPU frequency depending on CPU usage. It worked quite nice for years and had three very important advantages: low hardware ...
kurp's user avatar
  • 233
5 votes
2 answers
2k views

Slow CPU after resume

Sometimes after putting my laptop to sleep it's CPU is locked to the slowest frequency - about 600-700MHz. My laptop is Dell E6420 with i5-2520m. Kernel version: 4.6.0-040600-generic. I first came ...
justmatt's user avatar
  • 111
5 votes
2 answers
10k views

How can I set the CPU frequency to always stay at its maximum?

Since I mostly use my laptop as a desktop, I'm trying to set its CPU to its maximum frequency. The CPU is an Intel Core i5-3337U (dual-core with Hyper-Threading), which caps at 2.5GHz (with 2 active ...
kos's user avatar
  • 36k
5 votes
1 answer
4k views

CPU scaling: how can current frequency be out of min-max range?

I'm trying to understand why my CPUs don't run at higher frequencies (related link) Can someone explain me how is it possible that when a min and a max are defined, the effective value finally goes ...
Sebastien Lorber's user avatar
5 votes
1 answer
4k views

CPU frequency scaling issue - scaling_max_freq wrong

I have the an issue on my Elitebook Core 2 Duo T9600, the scaling stops to work after few seconds of high load and get stuck at 800Mhz. Temperature is around 50-60°C for both cores, bios_limit is ...
Phil2.0's user avatar
  • 111
5 votes
1 answer
751 views

Why does Lubuntu automatically reset my CPU into performance mode after a short time?

If I put the CPU mode into powersave or ondemand, it works for some time (5-10 minutes) but after that time Lubuntu automatically sets the CPU to performance mode. (I see it doing sudo cat /sys/...
user1050418's user avatar
4 votes
2 answers
15k views

CPU Turbo boost: modify temperature limit under 14.04

I've installed kubuntu 14.04, and there is some problem with CPU turbo frequency. I've read a lot about it, but can't find the correct answer. There is an i7-3630QM CPU @ 2.40GHz with 3.20GHz turbo ...
liszi's user avatar
  • 91
4 votes
2 answers
14k views

The performance governor for cpufreq doesn't seem to behave as advertised

The kernel in use: 3.2.0-23-generic on Ubuntu 12.04LTS For example, I issue the following command: sudo cpufreq-set -c 0 -g performance Then I go to /sys/devices/system/cpu/cpu0/cpufreq and type in ...
Michael Goldshteyn's user avatar
4 votes
2 answers
4k views

Can I use TLP and CPUFreq at the same time?

I just started using ubuntu 14.04 recently. I read that it's good to have CPUFreq or TLP. I was wondering if it would be okay to have both. Would it cause any problems with the computer performance if ...
Jophy Johnson's user avatar
4 votes
1 answer
3k views

Frequency scaling

I'm trying to get the frequency of my CPU on max I can't seem to change anything via cpupower or cpufreq-utils, or even by modifying the files myself at /sys/devices/system/cpu/intel_pstate So I ...
David 天宇 Wong's user avatar
4 votes
2 answers
1k views

How do I diagnose a sudden slowdown

Running a particularly compute-intensive task on my computer (Tecra W50) for more than a few seconds causes it to become very slow. Performance does not return to normal after the task completes. ...
Clément's user avatar
  • 271
4 votes
1 answer
6k views

CPU frequency too high even with 'powersave' governor

Recently I noticed my CPU sits most of the time at high frequencies, even with very little load. It is an i5-7300HQ processor which should use frequencies between 800 MHz and 2.5 GHz (3.5 GHz with ...
user avatar
4 votes
3 answers
15k views

How to set cpufreq governor to performance?

I am on Ubuntu 13.04 64-bit. I have heard that setting the cpufreq governor to performance will, well, increase performance. Unfortunately, I am a bit of a newbie at this sort of thing, and I am not ...
msw1's user avatar
  • 41
4 votes
2 answers
3k views

How do you prevent CPUs from being throttled when battery is taken out of Laptop (aka only on AC power)?

My laptop CPUs are throttled down to .8GHz instead of 2.5GHz whenever I am connected to AC only and not the battery. I tried using cpufreq-set and it allows me to set the speed when the battery is ...
Vreality's user avatar
  • 1,119
4 votes
1 answer
2k views

Lenovo Thinkpad W520 cpufreq frequency scaling not working

For some reason my processor always seems to run on full speed even if I don't do anything. Looking through the web, I've found quite some suggestions. According to http://www.thinkwiki.org/wiki/...
Ralf Hemmecke's user avatar
4 votes
1 answer
5k views

Why is Ubuntu 22.04 shutting down unexpectedly?

I recently upgraded to Ubuntu 22.04 and my Dell laptop started shutting down unexpectedly. It seems like my CPUs are spiking to 100%, then shutting down. In many cases I can’t do the most simple task, ...
Rafael Zasas's user avatar
4 votes
0 answers
968 views

cpufreq-set fails with segmentation fault

I've a Ubuntu 16.04 running on my physical machine. Am trying to set all the cpu scaling governor to "performance". Installed package versions are: # dpkg -l | grep cpufreq ii cpufrequtils ...
user404360's user avatar
3 votes
3 answers
13k views

CPU frequency control

I have a kubuntu 14.04 with the latest HWE kernel (3.16.0-31-generic), and a Xeon 1246v3 processor (which is basically an i7 4770 with ecc support). The processor has base frequency of 3.5 ghz, and ...
MadHatter's user avatar
  • 481
3 votes
1 answer
5k views

How to scale intel_pstate driver on Ubuntu 15.04?

I nearly tried all the solution to scale the cpu frequency but no success. I have Intel Core i5-3210m 2.5Ghz-3.1Ghz. I want to permanently set it to 1.6Ghz with no turbo boost to improve battery ...
AhmedBilal's user avatar
  • 1,102
3 votes
2 answers
4k views

amd ryzen 5950x max frequency is 3400MHz on ubuntu 20.04

When I run lscpu, I get CPU max MHz: 3400.0000 CPU min MHz: 2200.0000 However, 5950x has a base frequency of 3400MHz and max of 4900MHz. How do I let ubuntu know that it can run up to 4900MHz? EDIT: ...
MoneyBall's user avatar
  • 623
3 votes
2 answers
5k views

Is there a CPU monitor widget showing CPU frequency in GHz?

I have Kubuntu 18.10 with KDE Plasma 5.14.4 on a Lenovo laptop. Is there a CPU monitor widget showing CPU frequency in GHz? I would like a live monitoring from a widget in system tray in GHz. If ...
newcat1000's user avatar
  • 1,462

1
2 3 4 5