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
19 views

Laggy PC with Kernel 6.5 and AMD 5500U Lucienne

I am currently facing a problem with my Lenovo E15 laptop (AMD Ryzen 5500u "Lucienne" processor) and the kernel 6.5. (Xubuntu 22.04) Maybe 3 weeks ago, I noticed that my computer was having ...
Jean-Rodolphe Letertre's user avatar
0 votes
1 answer
110 views

Cannot set CPU to maximum speed

I am trying to set all my CPUs to the maximum GHz capability. But for some reason even though the CPU is capable of 5.76GHz, when I set it to performance it only get's to 4.2GHz. Looking at the ...
Ankh2054's user avatar
  • 103
0 votes
1 answer
26 views

Gather CPU utilisation or different workloads

I am trying to figure out for different workloads (CPU intensive, high DB IOPs etc), which compute series of cloud VM would be ideal. In order to do that I need to be able to get the CPU utilisation. ...
user14013917's user avatar
1 vote
0 answers
299 views

What is the intended way to set `cpupower` on boot?

Running cpupower frequency-set -g powersave is a one-shot. I could think of a number of ways to make this happen on boot (rc.local, systemd one-shot, etc)... Question: Is there a "correct" ...
KJ7LNW's user avatar
  • 435
0 votes
0 answers
157 views

Why CPU Freq Crosses Hardware Limits and Policy Limits, and System Heat Up after Hybrid Sleep, in Debian 12 (Testing-Weekly)?

In Debian 12 (bookworm: testing-weekly): Installed auto-cpufreq and thermald, with auto-cpufreq.conf while on charger: governor = performance scaling_max_freq = 1900000 turbo = auto Thought ...
A. John's user avatar
  • 43
0 votes
0 answers
296 views

can r7 4800h use `amd_pstate` ? Or more specific, can linux enable CPCC without help of BIOS ? I tried but failed on legion r7000 2020

Recently I want to use new amd_pstate to increase cpu performance by something like overclocking or more customization shown here, I followed this wiki with update of grub and mkinitcpio based on my ...
An5Drama's user avatar
5 votes
1 answer
577 views

CPU freq locked to 800mhz shortly after boot (ps15 thinkpad)

I've got a frustrating mystery and I'm hoping that someone can point me in the right direction. Problem: Under load, my system doesn't increase CPU frequency to meet demand after some period of time ...
Anthony Naddeo's user avatar
1 vote
0 answers
102 views

scaling_cur_freq is low (lower than scaling_min_freq) when battery is low

I have a chinese noname laptop with AMD Ryzen 3 3250U. Here is lshw, lscpu, cpupower frequency-info When the battery is less than 25%, the processor frequency is about 400000 kHZ (according to /sys/...
Timur's user avatar
  • 31
1 vote
0 answers
35 views

North Bridge stuck in P1 state

I have AMD E-350 processor stuck in NBP1 (north bridge P1) state in Linux (Debian 11) and doesn't transit into NBP0 state under CPU/GPU load. The problem doesn't take place in Windows. Let's follow ...
Trudy's user avatar
  • 844
3 votes
1 answer
1k views

Persistently disable Intel Turbo Boost

Through the magic of piezoelectric phenomena, I experience "coil whine" when moving the mouse. Turns out said coil is energized by the CPU, and that the Intel driver enabling Turbo Boost ...
danuker's user avatar
  • 317
3 votes
2 answers
460 views

Why ping results varied with the CPU load

I am trying to ping between two PCs running Ubuntu 20.04 connected via a Layer-2 switch. My goal is to get "nearly" stable ping latency. Similar to other people, I figured out that ping ...
Shayne's user avatar
  • 31
1 vote
0 answers
291 views

Laptop CPU stuck at 800Mhz randomly but works again when unplugged

I have a Dell Precision 7550 with an Intel Xeon W-10885M (8 cores, 16 threads) that has been displaying a strange behavior lately. I have a dual boot between Windows 10 and Ubuntu 20.04.4 LTS with ...
Vincent's user avatar
  • 171
5 votes
3 answers
3k views

System Clock vs. Hardware Clock (RTC) in embedded systems

The system clock is maintained by the kernel, whereas the hardware clock is maintained by the Real Time Clock (RTC). Do both clock run at same frequency? Are both independent of each other? What ...
Sukanya U's user avatar
3 votes
1 answer
650 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: ...
mathway's user avatar
  • 131
1 vote
0 answers
678 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, ...
Mahan Lamee's user avatar
4 votes
3 answers
1k 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:...
andreoss's user avatar
  • 488
1 vote
2 answers
312 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 ...
Bram's user avatar
  • 879
0 votes
1 answer
758 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 ...
Jörg Battermann's user avatar
1 vote
1 answer
5k 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 ...
crow's user avatar
  • 51
0 votes
0 answers
2k 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 ...
ATLief's user avatar
  • 299
1 vote
3 answers
343 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 ...
Mexicoder's user avatar
  • 121
0 votes
1 answer
1k 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 ...
Mark's user avatar
  • 1,793
2 votes
5 answers
2k 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 ...
thwd's user avatar
  • 203
3 votes
1 answer
3k 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 -...
Mark's user avatar
  • 1,793
4 votes
1 answer
2k 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 ...
AstrOne's user avatar
  • 141
0 votes
1 answer
589 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 ...
thwd's user avatar
  • 203
3 votes
1 answer
524 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): ...
TPap's user avatar
  • 31
1 vote
3 answers
2k 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 ...
Vultan's user avatar
  • 131
7 votes
3 answers
4k 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 ...
aapje06's user avatar
  • 81
2 votes
0 answers
1k 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'...
Nojjy's user avatar
  • 21
1 vote
2 answers
782 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 ...
עומר חקלאי's user avatar
1 vote
0 answers
907 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 ...
confetti's user avatar
  • 1,942
3 votes
2 answers
244 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 ...
peoro's user avatar
  • 3,768
8 votes
2 answers
5k 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 ...
facetus's user avatar
  • 248
18 votes
5 answers
21k 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 ...
sunshilong369's user avatar
2 votes
2 answers
3k 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) ...
rveale's user avatar
  • 161
1 vote
0 answers
475 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]...
wef's user avatar
  • 472
2 votes
1 answer
4k 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. ...
Mark K's user avatar
  • 865
4 votes
0 answers
944 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 ...
Konstantinos's user avatar
1 vote
0 answers
40 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 ...
T1 L.'s user avatar
  • 11
1 vote
1 answer
1k 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 ...
Ole Tange's user avatar
  • 35.4k
1 vote
0 answers
90 views

What's the difference between cpupower and cpuspeed?

These two programs seems both doing freq scaling. What's their difference?
Mark's user avatar
  • 697
0 votes
1 answer
1k 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 ...
ratchetmiles's user avatar
1 vote
1 answer
1k 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 ) ...
Mark's user avatar
  • 697
2 votes
0 answers
344 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-...
ron's user avatar
  • 6,525
1 vote
0 answers
215 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 ...
Harshit Kumar's user avatar
1 vote
0 answers
224 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 ...
memememe's user avatar
  • 165
1 vote
1 answer
1k 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
2k 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 ...
Georgi Stoyanov's user avatar
8 votes
0 answers
1k 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....
Dune's user avatar
  • 81