Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
12
votes
1
answers
25326
views
How to set up Linux for full AMD APU power management support: Turbo Core, Cool'n'Quiet, Dynamic Power Management?
My objective is to set up a mini server (not HTPC) with low power consumption in idle mode, yet offering nice performance when used. The focus is more on data safety than availability. In other words: quality parts, but redundancy only for storage. Not considering myself to be biased, after some res...
My objective is to set up a mini server (not HTPC) with low power consumption in idle mode, yet offering nice performance when used. The focus is more on data safety than availability. In other words: quality parts, but redundancy only for storage.
Not considering myself to be biased, after some research I felt that some AMD desktop APUs would offer good value.
Questions remaining are:
- Will the idle state of the GPU lower power consumption and unleash resources for the CPU?
- Will Cool'n'Quiet and Turbo Core lead to the intended low power consumption in idle mode but performance under load?
- Will Linux support this scenario as intended? Quite a few questions and forum discussions seem to suggest that this is not necessarily the case.
Run CMD
(590 rep)
Aug 7, 2014, 09:24 AM
• Last activity: Apr 7, 2021, 05:34 PM
0
votes
0
answers
2444
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 States: 0 Total States: 3 Pstate-P0: 3500MHz Pstate-P1: 2300MHz Pstate-P2: 1600MHz `turbostat` says that `cpufreq bo...
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 States: 0
Total States: 3
Pstate-P0: 3500MHz
Pstate-P1: 2300MHz
Pstate-P2: 1600MHz
turbostat
says that cpufreq boost: 1
.
According to AMD:
> Max boost for AMD processors is the maximum frequency achievable by a single core on the processor running a bursty single-threaded workload. Max boost will vary based on several factors, including, but not limited to: thermal paste; system cooling; motherboard design and BIOS; the latest AMD chipset driver; and the latest OS updates. GD-150.
I'm using the stock AMD Wraith Cooler with pre-applied thermal paste. I've updated the BIOS on my motherboard (Asus Prime A320I-K/CSM), reset the settings a few times, and made sure that the boost clock option was set to "Auto" instead of "Disabled".
In other questions regarding clock boosting not working, CPUPower always says that it's "Supported" even if it's not "Active". With all this in mind, I don't know whether CPUPower should be reporting that "boost state" is supported. Given that this is a new CPU, I'm worried that it's defective in some way that is preventing clock boosting from working properly.
**Should CPUPower be reporting that "boost state" is "Supported", even if that functionality is disabled for other reasons? Are there any settings or parameters that I missed that might be disabling this functionality? Could this discrepancy be a sign that the CPU or some other component in my system is defective? If so, which components would be most likely?**
Raw output of cpumode
(requested script):
Boost: on
schedutil mode is currently activated.
1431MHz
1419MHz
1419MHz
1419MHz
No frequency limit is enforced.
Raw output of cpupower frequency-info
:
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.60 GHz - 3.50 GHz
available frequency steps: 3.50 GHz, 2.30 GHz, 1.60 GHz
available cpufreq governors: userspace powersave ondemand conservative performance schedutil
current policy: frequency should be within 1.60 GHz and 3.50 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: 1.60 GHz (asserted by call to hardware)
boost state support:
Supported: no
Active: no
Boost States: 0
Total States: 3
Pstate-P0: 3500MHz
Pstate-P1: 2300MHz
Pstate-P2: 1600MHz
ATLief
(328 rep)
Mar 21, 2021, 11:52 AM
• Last activity: Mar 21, 2021, 12:51 PM
0
votes
1
answers
172
views
The relationship between cpu and kernel
What I have always understood is that a CPU can have multiple cores, but a core can only belong to one CPU. The information I found on the Internet also shows this. But when I use `lscpu --extend`, it shows that multiple CPUs belong to a core? The following shows the data I used `lscpu --extend` on...
What I have always understood is that a CPU can have multiple cores, but a core can only belong to one CPU. The information I found on the Internet also shows this. But when I use
lscpu --extend
, it shows that multiple CPUs belong to a core? The following shows the data I used lscpu --extend
on my linux server. Does this show that both cpu0 and cpu24 belong to core 0?
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ
0 0 0 0 0:0:0:0 是 2900.0000 1200.0000
1 1 1 1 1:1:1:1 是 2900.0000 1200.0000
2 0 0 2 2:2:2:0 是 2900.0000 1200.0000
3 1 1 3 3:3:3:1 是 2900.0000 1200.0000
4 0 0 4 4:4:4:0 是 2900.0000 1200.0000
5 1 1 5 5:5:5:1 是 2900.0000 1200.0000
6 0 0 6 6:6:6:0 是 2900.0000 1200.0000
7 1 1 7 7:7:7:1 是 2900.0000 1200.0000
8 0 0 8 8:8:8:0 是 2900.0000 1200.0000
9 1 1 9 9:9:9:1 是 2900.0000 1200.0000
10 0 0 10 10:10:10:0 是 2900.0000 1200.0000
11 1 1 11 11:11:11:1 是 2900.0000 1200.0000
12 0 0 12 12:12:12:0 是 2900.0000 1200.0000
13 1 1 13 13:13:13:1 是 2900.0000 1200.0000
14 0 0 14 14:14:14:0 是 2900.0000 1200.0000
15 1 1 15 15:15:15:1 是 2900.0000 1200.0000
16 0 0 16 16:16:16:0 是 2900.0000 1200.0000
17 1 1 17 17:17:17:1 是 2900.0000 1200.0000
18 0 0 18 18:18:18:0 是 2900.0000 1200.0000
19 1 1 19 19:19:19:1 是 2900.0000 1200.0000
20 0 0 20 20:20:20:0 是 2900.0000 1200.0000
21 1 1 21 21:21:21:1 是 2900.0000 1200.0000
22 0 0 22 22:22:22:0 是 2900.0000 1200.0000
23 1 1 23 23:23:23:1 是 2900.0000 1200.0000
24 0 0 0 0:0:0:0 是 2900.0000 1200.0000
25 1 1 1 1:1:1:1 是 2900.0000 1200.0000
26 0 0 2 2:2:2:0 是 2900.0000 1200.0000
27 1 1 3 3:3:3:1 是 2900.0000 1200.0000
28 0 0 4 4:4:4:0 是 2900.0000 1200.0000
29 1 1 5 5:5:5:1 是 2900.0000 1200.0000
30 0 0 6 6:6:6:0 是 2900.0000 1200.0000
31 1 1 7 7:7:7:1 是 2900.0000 1200.0000
32 0 0 8 8:8:8:0 是 2900.0000 1200.0000
33 1 1 9 9:9:9:1 是 2900.0000 1200.0000
34 0 0 10 10:10:10:0 是 2900.0000 1200.0000
35 1 1 11 11:11:11:1 是 2900.0000 1200.0000
36 0 0 12 12:12:12:0 是 2900.0000 1200.0000
37 1 1 13 13:13:13:1 是 2900.0000 1200.0000
38 0 0 14 14:14:14:0 是 2900.0000 1200.0000
39 1 1 15 15:15:15:1 是 2900.0000 1200.0000
40 0 0 16 16:16:16:0 是 2900.0000 1200.0000
41 1 1 17 17:17:17:1 是 2900.0000 1200.0000
42 0 0 18 18:18:18:0 是 2900.0000 1200.0000
43 1 1 19 19:19:19:1 是 2900.0000 1200.0000
44 0 0 20 20:20:20:0 是 2900.0000 1200.0000
45 1 1 21 21:21:21:1 是 2900.0000 1200.0000
46 0 0 22 22:22:22:0 是 2900.0000 1200.0000
47 1 1 23 23:23:23:1 是 2900.0000 1200.0000
Gerrie
(146 rep)
Nov 21, 2020, 11:12 AM
• Last activity: Nov 21, 2020, 11:38 AM
4
votes
2
answers
17226
views
Intel Turbo Boost not enabled
I'm trying to enable Turbo Boost on my server. I'm using an Intel Xeon E5 2630 v3 which should support Turbo Boost up to 3.2Ghz, according to [Intel's product page](https://ark.intel.com/de/products/83356/Intel-Xeon-Processor-E5-2630-v3-20M-Cache-2_40-GHz). The problem is that the processor isn't ov...
I'm trying to enable Turbo Boost on my server. I'm using an Intel Xeon E5 2630 v3 which should support Turbo Boost up to 3.2Ghz, according to [Intel's product page](https://ark.intel.com/de/products/83356/Intel-Xeon-Processor-E5-2630-v3-20M-Cache-2_40-GHz) .
The problem is that the processor isn't overclocking, and uses 2.4 GHz as a max frequency. To test if the OS is the problem (I have tested Linux Mint and Debian), I've put the SSD in my computer with an i7 3770 where the Turbo Boost works perfectly fine.
This is the output of the "cpupower" command:
mint@mint ~ $ cpupower frequency-info
analyzing CPU 0:
driver: pcc-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
hardware limits: 1.20 GHz - 2.40 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 1.20 GHz and 2.40 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.20 GHz.
boost state support:
Supported: yes
Active: yes
It seems that Turbo Boost is enabled (of course, it is enabled in the BIOS), but it won't overclock even though underclocking is working to save energy. Normally it should display the Turbo Boost clock rate of 3.2 GHz as the max frequency, but it won't do it.
So what is the next step to try to enable Turbo Boost on an Intel Xeon server? Do I've to enable some kernel modules or use another govenor?
ForJ9
(151 rep)
Apr 6, 2017, 10:16 PM
• Last activity: May 19, 2019, 08:42 PM
4
votes
1
answers
24161
views
How to force all CPU cores to run at maximum turbo boost frequency?
My goal is to force all CPU cores to run at maximum turbo frequency (4 x 3.9 GHz) using CentOS 7. Here is the output of `cpupower frequency-info`: analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0...
My goal is to force all CPU cores to run at maximum turbo frequency (4 x 3.9 GHz) using CentOS 7. Here is the output of
cpupower frequency-info
:
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us
hardware limits: 1.60 GHz - 3.50 GHz
available frequency steps: 3.50 GHz, 3.50 GHz, 3.30 GHz, 3.10 GHz, 2.90 GHz, 2.70 GHz, 2.50 GHz, 2.30 GHz, 2.10 GHz, 1.90 GHz, 1.70 GHz, 1.60 GHz
available cpufreq governors: conservative userspace powersave ondemand performance
current policy: frequency should be within 1.60 GHz and 3.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: 3.50 GHz (asserted by call to hardware)
boost state support:
Supported: yes
Active: yes
3600 MHz max turbo 4 active cores
3700 MHz max turbo 3 active cores
3800 MHz max turbo 2 active cores
3900 MHz max turbo 1 active cores
Turbo boost is working as expected - all 4 cores fully loaded are reaching 3.6 GHz. But it would be nice to have 3900 MHz max turbo 4 active cores
or less (at least 4 x 3.7 GHz). How to control it?
Is it possible?
Ernestas Gruodis
(217 rep)
Mar 20, 2018, 09:17 AM
• Last activity: Mar 20, 2018, 01:57 PM
2
votes
1
answers
3614
views
How to set up a Debian system (focus on 2D or console/server) with an AMD Turbo Core APU for maximum energy and computing efficiency?
I plan to set up an AMD APU system using Debian, but I cannot find hints how to achieve maximum energy efficiency and successful use of Turbo Core. In particular, the [Debian Wiki HowTo on CPU Frequency Scaling][1] is not very helpful for AMD systems. How do I have to set up my Debian system to depl...
I plan to set up an AMD APU system using Debian, but I cannot find hints how to achieve maximum energy efficiency and successful use of Turbo Core. In particular, the Debian Wiki HowTo on CPU Frequency Scaling is not very helpful for AMD systems.
How do I have to set up my Debian system to deploy my AMD APU's features?
Run CMD
(590 rep)
Nov 9, 2015, 10:46 AM
• Last activity: Nov 13, 2015, 06:56 AM
Showing page 1 of 6 total questions