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
1 vote
1 answer
136 views

Why is Ubuntu 22 Jammy Jellyfish shutting down unexpectedly?

I recently upgraded to Ubuntu 22 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 like ...
user avatar
0 votes
1 answer
41 views

Maximum CPU frequency reported wrong by lscpu, CPU not boosting to actual maximum frequency

I'm using Ubuntu 20.04, and my CPU model is the Intel i7-10750H: > lscpu Model name: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz Stepping: 2 Frequency ...
user avatar
  • 1,138
7 votes
2 answers
773 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 ...
user avatar
0 votes
0 answers
16 views

Run a Command at specific CPU Frequency

I am using liquidctl to control the fans in my PC and I wanted to sync them to my current CPU Frequency so the Fan Speed changes when I change the Frequency using a Gnome Extension. But I dont know ...
user avatar
  • 11
0 votes
1 answer
52 views

Battery-less MacBook Pro CPU is very slow

I have an Early 2011 era 13" MacBook Pro with an Intel Core i7-2620M CPU and have made the switch to Ubuntu because my laptop's MacOS support was dropped a few years ago. The battery has recently ...
user avatar
  • 1
0 votes
0 answers
52 views

linux-tools-kernelversion-generic needs to be re-installed after every upgrade

I installed linux-tools-kernelversion-generic in order to use cpupower. But after every apt upgrade that also upgrades the kernel I do not have cpupower anymore and need to install linux-tools-...
user avatar
  • 293
1 vote
1 answer
401 views

Permanently setting intel pstate driver to "passive"

My i5-11600K CPU is using the intel_pstate frequency scaling. By default, the driver is in "active" mode and will throttle up ALL 6 physical cores, even if there is only work for one core. ...
user avatar
  • 1,003
0 votes
0 answers
35 views

Set CPU frequency permanently [duplicate]

Just got a laptop with an Intel Celeron N4500 (Dual Core @ Max. 2,800) which runs out of the box on 1,100. This is not even enough to run Netflix on full screen that's I'd like to increase the ...
user avatar
1 vote
0 answers
293 views

ALL CPU's stuck at 800Mhz ubuntu 20.04.3

Cpu's all stuck at 800Mhz I type in watch -n1 "cat /proc/cpuinfo | grep MHz" (to see cpu's) No matter what I do, I launch a large program and render an animation in Blender or use Octave to ...
user avatar
  • 1,805
1 vote
0 answers
111 views

cpufreq: cpu frequency going down to minimum just when I need extra power

I've spent almost 3 days around this problem, to no avail. I felt the laptop was running slow on certain tasks, slower than usual so I downloaded cpufreq extension to try and monitor and maybe ...
user avatar
  • 410
-1 votes
1 answer
32 views

Baud Rate instable on RPI4

I have a strange problem. I'm running a TCP to Serial server I wrote in Python3. It uses the UART of the RPI4 at 500000 baud. Initially I wrote it for a NanoPi and runs fine, but when switching to the ...
user avatar
  • 11
0 votes
1 answer
202 views

Override BIOS limitation on CPU frequency

Similar to previous questions (example 1, example 2), the BIOS is limiting my CPU frequency because of a bad connection with the center pin of the adapter on my Dell Precision M5520 (which leads to ...
user avatar
  • 680
1 vote
1 answer
477 views

cpufreq scaling governors "ondemand" and "conservative" won't ignore nice load on AMD Ryzen CPUs

My kernel 5.11.0-22-generic automatically loads the cpufreq scaling driver acpi-cpufreq and the scaling governor schedutil for my Ryzen 9 5900X. I enabled the setting ignore_nice_load after changing ...
user avatar
0 votes
0 answers
110 views

Getting Stuck on Low Clock Frequencies

I have been using the Ubuntu 20.04 LTS for the past three months after dualbooting it with Windows 10, and recently it has started showing some problems. I usually use my laptop(Lenovo Ideapad C340) ...
user avatar
1 vote
1 answer
619 views

CPU frquency scaling broken on upgrade from Ubuntu 20.10->21.04 (Intel CPU)

This is basically a followup to CPU frquency scaling broken on upgrade from Ubuntu 20.04->20.10 (Intel CPU) However, I'm not allowed to comment, and it was suggested to write a new question instead....
user avatar
  • 51
0 votes
1 answer
597 views

Check max cpu clock speed in linux

I have seen this question multiple times but no answer to the point. I am on Ubuntu 20.04, CPU is R9 5950x. All I want is a stress test where it shows the max clock speed (in MHz) and what a single ...
user avatar
1 vote
4 answers
679 views

Intel Core i7-8550U cpu frequency drops on high loads on Ubuntu 20.04

I installed Ubuntu 20.04 and have the following cpu: grep -E '^model name|^cpu MHz' /proc/cpuinfo model name : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz cpu MHz : 3000.025 model name : Intel(R) ...
user avatar
  • 111
1 vote
1 answer
718 views

What does each governor mean on my device?

What does each governor mean on my device?
user avatar
  • 199
2 votes
3 answers
9k 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 ...
user avatar
0 votes
1 answer
84 views

What is the lowest frquency possible?

What is the minimum possible frequency of a CPU (in my case I have the Intel® Core™ i7-8750H CPU @ 2.20GHz × 12)
user avatar
0 votes
0 answers
256 views

How to set minimum CPU frequency?

I am trying to set the minimum frequency of my CPU in ubuntu. Basically, the minimum my CPU runs in Windows is 2%, and in ubuntu it is 19%. Is there some way to change it from 19% to 2%? I tried using ...
user avatar
0 votes
0 answers
450 views

cpu max frequency

I am trying to change my cpu max frequency. I have tried with tlp, cpupower, and the solution in this same forum (the one that goes: for x in /sys/devices/system/cpu/*/cpufreq/; do echo 1700000 | sudo ...
user avatar
0 votes
1 answer
1k views

CPU frquency scaling broken on upgrade from Ubuntu 20.04->20.10 (Intel CPU)

On upgrading from 20.04 - 20.10 I have noticed a massive degrading of performance, my laptop has basically become unusable. After a bit of digging it turned out that all CPUs were constantly scaled to ...
user avatar
0 votes
1 answer
1k views

Ubuntu 20.10. Cannot change the CPU scaling governor. It always goes back to "ondemand" after reboot

I'm running Xubuntu 20.10. I'm trying to change the CPU scaling governor to "conservative". But it always goes back to "ondemand" after reboot. I have a Ryzen 7 4800H. So, my CPU ...
user avatar
0 votes
0 answers
643 views

Switching to AMD ryzen 5900x or 5950x. Any stability problem with 20.04 LTS?

I only run codes (C, Python) on my desktop which I am thinking of upgrading, either to AMD ryzen 5900x or to 5950x. I will be using ubuntu 20.04 LTS (only, no windows). Does anyone have any experience ...
user avatar
0 votes
1 answer
966 views

Clock CPU at frequencies other than 'available frequencies' on Xubuntu with Ryzen processor

CPU: $ cat /proc/cpuinfo processor : 11 vendor_id : AuthenticAMD cpu family : 23 model : 96 model name : AMD Ryzen 5 4600H with Radeon Graphics stepping : 1 microcode : 0x8600104 cpu ...
user avatar
3 votes
2 answers
2k 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: ...
user avatar
  • 573
0 votes
1 answer
343 views

How to run throttle stop script at startup?

I have tried this (How do I write a script that runs on startup?) to automatically run a throttle stop script at startup. But I cannot make it work. I've tried the methods (GUI app, cron job and /rc....
user avatar
  • 31
2 votes
1 answer
2k 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/...
user avatar
  • 131
0 votes
2 answers
581 views

How to reduce cpu max speed?

I'm trying to improve CPU temperatures on a Dell Inspiron 7460 laptop which is a common problem with this particular machine when under reasonable stress (small chassis, badly placed vents, single ...
user avatar
1 vote
0 answers
947 views

CPU frequencies manually set using cpufreq doesn't seem to be effective anymore after sleep

I have set the frequencies of the 4 cores of my Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz CPU to lower values (800Mhz) for energy saving when using the computer on the field using this command: for i ...
user avatar
  • 670
0 votes
0 answers
543 views

How to update CPU frequency policy?

I have an Asus Laptop with i7 + ubuntu 18 (Linux 4.15.0-117-generic) A few days ago, I don't know how, my PC became very slow. After several investigations I've found that the CPU is always at minimum ...
user avatar
  • 101
0 votes
0 answers
518 views

How to lock Xeon cpu frequency to a specific clock rate?

So I am using a Xeon 2620 v4 through ssh/command line only. I have sudo access and have set all CPU governor to performance mode. However, when I set the frequency using: "sudo cpufreq-set -f ...
user avatar
  • 103
2 votes
4 answers
7k views

Ubuntu 20.04.1 LTS Significant Throttling of Intel i7 Processor

I have not been able get to my new laptop (An HP ZBook 15 G2 with Intel Core i7-4810MQ Quad Core Processor 3.7 GHz) to keep from SIGNIFICANTLY throttling my processors on Ubuntu 20.04. It originally ...
user avatar
0 votes
0 answers
715 views

How to activate CPU driver in Ubuntu 20.04

I am new to Linux. I installed Ubuntu on VirtualBox. I have install cpufreqtils by command : trinh@TrinhHuy:~$ sudo apt install cpufreqtils Then I check the information of CPU.Here the output: trinh@...
user avatar
1 vote
2 answers
2k views

Ubuntu 20.04. overclocks intel i7-9700k automatically?

I have a new intel i7-9700k running in ubuntu 20.04. This processor should clock at base frequency 3.6 GHz with maximum frequency 4.9 GHz in overclocking. I did an expensive computation today and took ...
user avatar
  • 11
0 votes
1 answer
96 views

How do I determine all components controlling CPU frequency?

Two requests please: Can someone tell me how I can determine all the components that are a) installed and b) actively controlling CPU frequency on an installation? And separately, can someone tell me ...
user avatar
1 vote
0 answers
190 views

Ubuntu Odroid XU4 - cpufrequtils - max min speed

I try to set the cpu speed and governor for my ODROID XU4. If you may know, the litte board has 8 cores, running 4 @ 2GHz and the other 4 @1.5GHz. That's also my question: How should I set the min ...
user avatar
  • 111
0 votes
1 answer
1k views

How to add power governors?

my cpu is Intel n3710 , on Ubuntu 20.04 , I installed cpu freq utils , but it shows available cpufreq governors as only powersave and performance. Can we add other governors like ondemand , ...
user avatar
2 votes
1 answer
373 views

How do I write a script that runs on startup?

Newbie here. I have a Dell Inspiron 3442 who suffers from the "CPU stuck at 800Mhz" problem. In Windows, I used to run ThrottleStop at every startup and disable BD PROCHOT... So I installed Ubuntu ...
user avatar
1 vote
0 answers
153 views

Minimum cpu frequency set when charging and battery under ~7%

I have i7-7500U (@ 2.70GHz) and the intel_pstate governor is used, I've noticed when the system has low battery (under ~7% or so) and ONLY when charging, the cpus run at the minimum frequency (400 MHz ...
user avatar
  • 111
0 votes
1 answer
112 views

Strange Processor Behavior

So now my processor boots locked at 800mhz every boot, and every wake-from-sleep. This occurs in both Windows and Linux. For Windows, I throttlestop and check/uncheck BD prochot and thermal prochot ...
user avatar
  • 1,499
1 vote
0 answers
449 views

Why would gnome-system-monitor not show the CPU frequency? (18.04)

I have Ubuntu 18.04 and I can see my CPU and memory usage in system monitor, but the "Freq" widget remains empty. I checked some files under /sys/devices/system/cpu/cpu0/cpufreq/... and it looks like ...
user avatar
  • 2,440
0 votes
0 answers
143 views

Ubuntu 18 set max cpu frequence

I'm trying to lower my cpu max frequency. I'm using a laptop which easily overheat. I've tried a number of different things but couldnt get it to work as intended. From what I can see, my cpu max ...
user avatar
  • 11
0 votes
0 answers
2k views

Preventing CPU throttling by kernel / Ubuntu

I'm having an issue with my CPU throttling down. I am on an A8 Quad Core machine with four 3 GHz processors. The model is a AMD A8-3870 APU with Radeon(tm) HD Graphics About 10 to 15 minutes after ...
user avatar
  • 223
1 vote
1 answer
11k views

How to enable CPU Turbo-Boost in Ubuntu? [duplicate]

I'm having server with 9700K and want to enable turbo-boost to get 4.9 GHz. I've installed cpufrequtils and set performance mode. Via 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' I'm ...
user avatar
2 votes
3 answers
3k views

Disable CPU frequency scaling?

I need to run ATLAS on my ubuntu laptop, but the software won't run unless you dissable CPU frequency scaling. I've tried the instructions from here http://math-atlas.sourceforge.net/atlas_install/...
user avatar
  • 131
0 votes
1 answer
437 views

Can I change CPU governor?

When I run the command: cpupower frequency-info --governors I get the following message: this output available cpufreq governors: performance powersave I want to change it to 'ondemand'. How can ...
user avatar
0 votes
2 answers
544 views

Nouveau driver issue

The computer needs randomly two consecutive boots to start. Here is what happened: After installing indicator-cpufreq and running openssl speed together with turbostat, I needed two boots to start ...
user avatar
  • 111
2 votes
1 answer
2k views

How to delete CPU-stats from cpufreq?

Is there a way to delete the old stats for a fresh start? I have set max CPU-speed to 950 MHz in file cpufrequtils. My issue is that this limitation is not in action when booting up, during which ...
user avatar