Questions tagged [cpu-frequency]

Use this tag for questions about how to detect and/or set the clock speed of cpu cores of Unix or Linux systems, automatic frequency scaling and adapting core voltages according to the core frequency.

Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

can't write to /sys/devices/system/cpu/cpufreq/*/energy_performance_preference when ac-adapter is connected

AC-adapter unplugged: $ echo power | sudo tee energy_performance_preference power $ echo $? 0 AC-adapter plugged-in: $ echo power | sudo tee energy_performance_preference power tee: ...
user avatar
  • 111
0 votes
0 answers
7 views

Ubuntu18.04 - scaling_cur_freq is lower than scaling_min_freq

While using the server, we have confirmed that the clock speed is very low only for a specific CPU group. Could you please tell me the cause and solution for this? All cpu's cpuinfo_min_freq and ...
user avatar
0 votes
0 answers
40 views

Intel RAPL default power limits are too low

I am running Arch Linux with kernel 5.17.4-arch1-1 on Asus Zenbook 14 UX435EG Laptop. Specs: CPU: 11th Gen Intel Core i7 1165G7 (4 cores, 8 threads, TDP-down: 12W @ 1.20 Ghz, TDP-up: 28W @ 2.80 Ghz, ...
user avatar
3 votes
2 answers
134 views

Cpu frequency is too low due to faulty battery

I have a battery which apparently is dead (I've tried to re-calibrate it with power-calibrate, didn't work). $ acpi Battery 0: Charging, 0%, charging at zero rate - will never fully charge. Battery 1:...
user avatar
  • 340
0 votes
2 answers
120 views

Frequency scaling governor scales up too many cores

I have two machines on which I run the same OS, the same kernel, the same CPU freq scaling driver, and the same CPU freq scaling governor. One will boost all core frequencies if one process pins a ...
user avatar
  • 685
0 votes
0 answers
227 views

Pop_OS 21.04: intel_pstate driver throttles all CPUs to min_freq on AC

I've been having issues with CPU frequency scaling lately on my DELL Precision 5540 running Pop_OS 21.04, kernel 5.13. It's an Intel i9 with 8 physical cores, 16 threads at 2.4GHz default clock speed. ...
user avatar
  • 101
0 votes
1 answer
137 views

AMD Epyc 7452 having CPU base clock as max clock speed & not boosting to boost clock?

I have an AMD Epyc 7452 CPU on an ASRock Rack ROMED6U-2L2T board running Proxmox 7 a linux system and running cpupower frequency-info reveals the following: analyzing CPU 0: driver: acpi-cpufreq ...
user avatar
0 votes
0 answers
48 views

Linux cpufreq scaling_govenor "ondemand" doesn't work as expected

On a single-core i.MX6solo with 800 MHz, I have set three operating points at around 400, 500 and 800 MHz. At 800 MHz, the system load (according to top) is usually around 55%, every now and then ...
user avatar
  • 11.6k
0 votes
0 answers
298 views

Cannot scale max frequency on AMD 5800x (Linux kernel 5.11, Ubuntu Server 21.04)

I'd like to set the maximum frequency of my server to the minimum frequency for bench marking purposes. My symptom is that I am missing /sys/devices/system/cpu/cpu0/cpufreq. Therefore I cannot set ...
user avatar
  • 141
1 vote
1 answer
1k views

Why does my CPU disregard the maximum frequency set by e.g. cpupower and how can I keep my CPU from getting too hot?

I am using Debian 10 (buster), 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux on my Lenovo T530 laptop which has a i7-3630QM. It has been many years since I bothered with ...
user avatar
  • 31
0 votes
0 answers
748 views

My CPU supports "turbo" clock boosting, but CPUPower says it doesn't; who's right?

I recently bought a new CPU (AMD Ryzen 3 2200G) which supports a "Boost Clock", however when I run cpupower frequency-info I get: boost state support: Supported: no Active: no Boost ...
user avatar
  • 219
1 vote
3 answers
123 views

Are my Linux servers being down-clocked?

TLDR; I am an junior level Linux user. Are my Linux boxes down-clocking themselves? is that a thing? If so how to I find out? I am working with a bunch of Debian Linux servers in a datacenter and we ...
user avatar
  • 121
0 votes
1 answer
636 views

linux: poor ACPI support on AMD Epyc?

I have a server HPE ProLiant system with AMD Epyc CPU, BIOS A43 v1.20, with Linux kernel 5.4.0. cpupower always reports no available drivers and as a result I can't set CPU frequencies (details in my ...
user avatar
  • 1,451
2 votes
5 answers
1k views

Thermal throttling on i7-1185G7

I have a brand new i7-1185G7 laptop whose CPU is being heavily throttled on Linux 5.8.0, even though it's thermals are in bounds (albeit a bit high). $ sensors ucsi_source_psy_USBC000:001-isa-0000 ...
user avatar
  • 193
2 votes
1 answer
2k views

linux: can't set cpu frequency governor with cpupower

I have a server HPE ProLiant system with AMD Epyc CPU, BIOS A43 v1.20, with Linux kernel 4.19.71 (as well I tried on 5.4.0). Now, I'm trying to set CPU performance governor: # cpupower frequency-set -...
user avatar
  • 1,451
4 votes
1 answer
850 views

How to completely disable CPU frequency scaling? Problems with kernel 5.9 running on Intel Tiger Lake CPU laptop

I just bought a new laptop (Asus UX435EG-AI084R) equipped with an Intel Tiger Lake CPU (i7-1165G7; 2.80GHz) and I installed Debian Linux (Testing) on it. Unfortunately I am experiencing a very strange ...
user avatar
  • 141
0 votes
1 answer
436 views

cpufreq: scaling broken on i7-1185G7, kernel 5.8.0

I bought a laptop with a fairly recent CPU: the i7-1185G7. On a fresh Ubuntu 20.20 installation (Linux 5.8.0-33-generic), I noticed the laptop was very slow. I poked around the intel_pstate parameters ...
user avatar
  • 193
3 votes
1 answer
86 views

Current CPU speed less than minimum?

My current CPU speed is (1253.029MHZ) less than the minimum (1400MHZ)? It's a new computer, is there something wrong with it? Architecture: x86_64 CPU op-mode(s): ...
user avatar
  • 31
0 votes
3 answers
1k views

How do I properly configure cpu power settings to not overheat?

I'm running Ubuntu 20.04 on a Thinkpad T14s. When I push the CPUs hard, i.e. with stress-ng --cpu 8 --tz -t 60, I watch the core temps spike to 90°C before I panic and stop the stress test. The fan ...
user avatar
  • 121
5 votes
3 answers
2k views

CPU Frequency drops under load without thermal issues

This problem is bothering me for some weeks now and I cannot seem to figure out what the real problem might be. The problem is that the CPU frequency is dropping drastically when under load. By this I ...
user avatar
  • 61
2 votes
0 answers
494 views

Cannot achieve maximum CPU frequency with Intel_Pstate Driver - RHEL 7.7

I'm struggling with intel_pstate performance governor not running at max CPU speed. I have a 2.2ghz system, and it needs to be running at full speed for valid reasons. # grep -E '^model name|^cpu MHz'...
user avatar
  • 21
1 vote
2 answers
275 views

when /proc/cpuinfo begin to update all the time, especially the field "cpu MHz"? [duplicate]

I saw that /proc/cpuinfo update all the time, especially the field "cpu MHz"? I assumed that these details should be constant. When did /proc/cpuinfo begin to update all the time, especially ...
user avatar
1 vote
0 answers
377 views

Cpufreq doesn't quite want to set my CPU frequency permanently

I'm on debian using the package cpufreq. I have the userspace governor loaded and it works to apply it. I have used intel_pstate=disabled in my kernel line because otherwise userspace isn't possible ...
user avatar
  • 1,634
1 vote
2 answers
103 views

Stop specific processes from heating up my system's CPU

I have a process doing some computation the whole time. It causes my system's CPU to heat up and the fan to spin faster. I want this process to run, but with a low priority. I don't want my system to ...
user avatar
  • 3,448
5 votes
2 answers
3k views

Set CPU to high performance

I spent hours searching for an answer in Internet. All I could find doesn't help. I have Intel i9-9980HK, running under Ubuntu 20.04, kernel 5.4.0-33. The problem is that under the full load the CPU ...
user avatar
  • 178
15 votes
5 answers
11k views

How can I get the current CPU frequency of an ARM processor on Ubuntu?

How can I get the current CPU frequency of an ARM processor on Ubuntu? Neither /proc/cpuinfo nor /sys/devices/system/cpu/cpu*/cpufreq helps. In fact, there is no /sys/devices/system/cpu/cpu*/cpufreq ...
user avatar
2 votes
2 answers
2k views

Horrible performance on battery with intel_pstate driver

EDIT: Ubuntu (mate) 20.04, intel_pstate driver. Computer is I am using a razer blade stealth ultrabook (early 2019), with intel core i7 i7-8565U. I am encountering odd behavior (extreme slowdown) ...
user avatar
  • 141
1 vote
0 answers
156 views

Why does my CPU frequency never get a Turboboost?

So it's an oldish machine Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz but it's supposed to go up to 2.8GHz If I 'watch' this, it never really changes much from 798MHz: # cat /proc/cpuinfo | grep "^[c]...
user avatar
  • 422
2 votes
1 answer
2k views

There is no scaling_max_freq sys file

I checked my Linux sys file, I don’t have: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq My kernel config doesn’t have CONFIG_X86_INTEL_PSTATE, and it still didn’t use acpi-cpufreq driver. ...
user avatar
  • 391
3 votes
0 answers
504 views

ignore_ppc stopped working

Many Dell laptops suffer from an overstrict bios policy of setting the max cpu frequency to the lowest level, when the bios judges that the battery or charger are not performing as they should. I had ...
user avatar
1 vote
0 answers
29 views

Is there a way to make my computers fans turn on instead of the CPU dropping frequency? I'm using Linux Mint 19.3

My computer, for whatever reason, will lower CPU usage when it gets hot instead of turning on its fan. I don't know if it's a driver issue or something else. Thanks! The above is at 80 degrees ...
user avatar
  • 11
1 vote
1 answer
333 views

Why does CPU governor not respect max CPU speed limit?

I have run: sudo parallel cpufreq-set -c {} -u 2000MHz ::: 0 1 2 3 yet when I stress the CPU, cpufreq-info returns: analyzing CPU 2: driver: intel_pstate CPUs which run at the same hardware ...
user avatar
  • 29.8k
1 vote
0 answers
63 views

What's the difference between cpupower and cpuspeed?

These two programs seems both doing freq scaling. What's their difference?
user avatar
  • 595
0 votes
1 answer
500 views

How do I set my CPU governor on boot?

I'm running Linux Mint 19.2 with a custom kernel (5.4.2-blackbox) and I'm trying to set my CPU governor to "performance" on boot. I have an i7 7700k and I tried disabling p-state with GRUB using ...
user avatar
1 vote
1 answer
690 views

What is the CPU frequency driver for AMD?

I know we have acpi_cpufreq driver and intel_psteate driver to use. However, I think intel_pstate driver is for Intel. What's the CPU frequency driver for AMD? Any introduction ( ex: governors ) ...
user avatar
  • 595
0 votes
0 answers
55 views

cpu frequency reported values

I have a 4 socket server, running E5-4667v3. I have the power profile set to performance low-latency. For reference: https://ark.intel.com/content/www/us/en/ark/products/85765/intel-xeon-processor-...
user avatar
  • 4,211
1 vote
0 answers
124 views

Power management in Qualcomm SoCs vs CPUFreq based power management

https://www.qualcomm.com/news/onq/2013/10/25/power-vs-performance-management-cpu I was going through the above document and read that "The Krait CPU cores of Snapdragon processors lie on separate ...
user avatar
1 vote
0 answers
127 views

Will tlp's CPU_SCALING_GOVERNOR_ON_AC settings conflict with the Mate cpufreq widget?

I want to find a way to set the CPU governor to powersave on boot, and then manage it through the CPU frequency scaling monitor widget. However, the comments in the config file of tlp say "You must ...
user avatar
  • 165
0 votes
1 answer
700 views

Scaling CPU frequency

I've a Desktop and a Laptop with overheating issue and as far as I've known from Arch Wiki and other contributors on this site, I've to limit the cpu frequency to resolve the issue. On both system I'...
user avatar
1 vote
1 answer
899 views

Bash Script for evaluation of the CPU usage

I am trying to write a BASH script which will evaluate and show in the terminal a list of all cores and their current load. I am using the output of the /proc/stat. For example: cat /proc/stat ...
user avatar
8 votes
0 answers
984 views

Processor frequency stuck at minimum despite using performance governor. Kernel and hardware disagree on the frequency?

I am using a MacBook Retina with four processor cores on Linux (Ubuntu 18.04): $ grep -E '^model name|^cpu MHz' /proc/cpuinfo model name : Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz cpu MHz : 799....
user avatar
  • 81
0 votes
1 answer
319 views

Limit an Intel i5 CPU 8th generation

I would like to throttle my CPU, I have an i5-8265U and it has frequencies up to 3.9GHz, but I rarely need the speed. Now if something causes a high load, the CPU goes up and the fan gets noisy. It ...
user avatar
  • 24.9k
1 vote
1 answer
844 views

How to manually set CPU clock frequency in Fedora?

I have a first generation i7 computer and it is prone to overheating. How can I set the CPU clock frequency in Fedora?
user avatar
  • 180
1 vote
0 answers
91 views

Which reasons may cause low MHz of CPU

My system is Ubuntu 16.04.3. I installed it just now and executed some processes on it. I found that many processes used more than 100% CPUs. However, when I executed lscpu | grep MHz, I got the ...
user avatar
  • 2,819
0 votes
1 answer
2k views

no or unknown cpufreq driver is active after disabling intel_pstate driver

After disabling intel_pstate driver I get the following error: cpupower frequency-info analyzing CPU 0: no or unknown cpufreq driver is active on this CPU CPUs which run at the same hardware ...
user avatar
  • 1
3 votes
0 answers
4k views

cpupower frequency-set does not work

So I have this Dual Intel Silver 4116 CPU server that will set the MHz to 132 randomly, the server becomes unusable after that point. Even reboots don't restore the MHz, only driving to the data ...
user avatar
4 votes
1 answer
858 views

How can my cpu frequency be above maximum MHz value in lscpu?

How can it be, that my current cpu frequency (CPU MHz) for my Intel Core2 Duo T9400M is above max MHz while being on high load? ➜ lscpu [...] Model name: Intel(R) Core(TM)2 Duo CPU ...
user avatar
  • 143
1 vote
1 answer
77 views

Check if the cpu clock speed has historically changed in RHEL6

I have a RHEL6 server running on a vmware-esxi host but no access to the host or vCenter. I need to determine if the hosting provider is using power saving features one such way is to check if CPU ...
user avatar
  • 9
2 votes
1 answer
404 views

Unresponsive system with powersave governor on Thinkpad X1 Carbon

Using a Thinkpad X1 Carbon 2018 (6th Gen) on Ubuntu 18.10 with kernel 4.18 I notice that the system feels unresponsive even in AC mode. It's most noticable in Firefox (but not restricted to it) ...
user avatar
  • 71
14 votes
2 answers
16k views

CPU temperatures in linux: throttling or wrong reading?

Using a Lenovo Legion Y520 with i7-7700HQ (base clock 2.8Ghz) and GTX 1050. I'm getting CPU overheating warnings in linux and it's affecting my performance in games (found in Payday 2 and CS:GO). I've ...
user avatar
  • 385