You are not logged in.

#1 2022-02-11 01:54:55

oddinvestigator
Member
Registered: 2022-01-24
Posts: 2

Can't change TDP of processor

In Arch,

 sudo throttled --monitor 

reports that the total power being used by the processor is 9-10W under heavy load. In Windows, by default the processor uses 13-15W, which is already a great difference, but Throttlestop was able to raise it to 40W (18W in reality due to inevitable thermal throttling).
In Arch, the core clock speed stays around 1800Mhz (base clock), with micro spikes (around 500ms or so) to ~3600Mhz, with a temperature of around 60ºC. In Windows, the core clock can go as high as 3300Mhz with temperatures of 90ºC, or 2700Mhz with temps around 75ºC. In these three scenarios, 4 cores are being fully utilized.

The output of

 turbostat 

is

turbostat version 21.05.04 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 0x16 CPUID levels
CPUID(1): family:model:stepping 0x6:8e:a (6:142:10) microcode 0xea
CPUID(0x80000000): max_extended_levels: 0x80000008
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, No-EPB
cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): SGX
cpu1: MSR_IA32_FEATURE_CONTROL: 0x00000005 (Locked )
CPUID(0x15): eax_crystal: 2 ebx_tsc: 166 ecx_crystal_hz: 0
TSC: 1992 MHz (24000000 Hz * 166 / 2 / 1000000)
CPUID(0x16): base_mhz: 2000 max_mhz: 4000 bus_mhz: 100
cpu1: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-EPB DISable-OOB)
RAPL: 17476 sec. Joule Counter Range, at 15 Watts
cpu1: MSR_PLATFORM_INFO: 0x4043df1011400
4 * 100.0 = 400.0 MHz max efficiency frequency
20 * 100.0 = 2000.0 MHz base frequency
cpu1: MSR_IA32_POWER_CTL: 0x0020005d (C1E auto-promotion: DISabled)
cpu1: MSR_TURBO_RATIO_LIMIT: 0x25252828
37 * 100.0 = 3700.0 MHz max turbo 4 active cores
37 * 100.0 = 3700.0 MHz max turbo 3 active cores
40 * 100.0 = 4000.0 MHz max turbo 2 active cores
40 * 100.0 = 4000.0 MHz max turbo 1 active cores
cpu1: MSR_CONFIG_TDP_NOMINAL: 0x00000012 (base_ratio=18)
cpu1: MSR_CONFIG_TDP_LEVEL_1: 0x00080050 (PKG_MIN_PWR_LVL1=0 PKG_MAX_PWR_LVL1=0 LVL1_RATIO=8 PKG_TDP_LVL1=80)
cpu1: MSR_CONFIG_TDP_LEVEL_2: 0x001400c8 (PKG_MIN_PWR_LVL2=0 PKG_MAX_PWR_LVL2=0 LVL2_RATIO=20 PKG_TDP_LVL2=200)
cpu1: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu1: MSR_TURBO_ACTIVATION_RATIO: 0x00000011 (MAX_NON_TURBO_RATIO=17 lock=0)
cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008006 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, locked, pkg-cstate-limit=6 (pc8))
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu1: POLL: CPUIDLE CORE POLL IDLE
cpu1: C1: MWAIT 0x00
cpu1: C1E: MWAIT 0x01
cpu1: C3: MWAIT 0x10
cpu1: C6: MWAIT 0x20
cpu1: C7s: MWAIT 0x33
cpu1: C8: MWAIT 0x40
cpu1: C9: MWAIT 0x50
cpu1: C10: MWAIT 0x60
cpu1: cpufreq driver: intel_pstate
cpu1: cpufreq governor: powersave
cpufreq intel_pstate no_turbo: 0
cpu1: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x01081228 (high 40 guar 18 eff 8 low 1)
cpu0: MSR_HWP_REQUEST: 0x80002804 (min 4 max 40 des 0 epp 0x80 window 0x0 pkg 0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change, Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000000 (No-Guaranteed_Perf_Change, No-Excursion_Min)
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000078 (15 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x42816000dd8160 (UNlocked)
cpu0: PKG Limit #1: ENabled (44.000000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (44.000000 Watts, 0.002441* sec, clamp DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x05640000 (95 C) (100 default - 5 offset)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x883e0800 (38 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu1: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
cpu1: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
cpu1: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
cpu1: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
cpu1: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
cpu1: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)

The PKG limits seem to be set to 44W, so I don't understand why the processor is not using more power. The temperature target is also set to a high value, so I don't have any ideas of how to proceed.

When I use cpupower/cpupower-gui to modulate the clock speeds, they inicially go to the frequency I set, but as soon as the PC goes into heavy load the frequencies fall to 1.8Ghz (because the processor would need more than 10W to maintain higher clocks at intensive tasks).

I saw relates of people being able to modulate the power by using intel-undervolt, by changing MSR values, or by using a software called slimbookintelcontroller. But none of these seem to work in my case. What I want is to be able to raise the TDP of the processor to at least 15W. Huge thanks for any replies.

Specs:
81FE Lenovo ideapad 330-15IKB
Arch Linux 5.15.22-1-lts
i7-8550U (base clock 1.8GHz, core clock 4.0GHz, TDP=15W; Configurable TDP down=10W; Configurable TDP up=25W)
NVIDIA GeFornce MX150

Last edited by oddinvestigator (2022-02-11 02:30:35)

Offline

#2 2024-04-21 20:21:28

Ramen_LadyHKG
Member
Registered: 2024-04-12
Posts: 9

Re: Can't change TDP of processor

I have the exact same issue as you though I have a i7-8650u ( Microsoft Surface Book 2)
I also have tested all distro, (Ubuntu, Arch, Mint, Debian, Fedora, Tumbleweed) they all have this issue

https://bbs.archlinux.org/viewtopic.php … 0#p2164410

Offline

Board footer

Powered by FluxBB