cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
erpalma
Fanfold Paper
Posts: 6
Registered: ‎03-30-2018
Location: IT
Views: 23,738
Message 1 of 65

[X1C6/T480s] low cTDP and trip temperature in Linux

As described here, in Linux only on my T480s (8550u, bios 1.11) the cTDP value is set to a value much lower than in Windows (wich is 44W). Specifically, I found that the PKG_POWER_LIMIT is configured correctly, but the corresponding register in the MCHBAR is not and the latter overrides the former.

The second issue is related to a lower thermal trip point w.r.t. Windows:  the value 0x14 is set in the MSR_TEMPERATURE_TARGET, causing CPU throttling as soon as 80 C are reached, while on Windows the processor is throttling at about 97 C. Moreover, the EC seems to overwrite this MSR periodically to its default value.

 

These two issues combined cause Linux performance to be almost halved w.r.t. Windows during heavy load. Other users have reported the same problem in X1C6 and T480. 

jim156
Fanfold Paper
Posts: 3
Registered: ‎03-04-2018
Location: DE
Views: 23,368
Message 2 of 65

Re: [T480s] low cTDP and trip temperature in Linux

I can confirm this issue on a X1 Carbon Gen 6. The thermal throttling offset MSR_TEMPERATURE_TARGET is set to 20 °C, which leads to a throttling temperature of 80 °C:

> rdmsr -f 29:24 -d 0x1a2
20

I hope Lenovo fixes this issue soon...

chasecheese
What's DOS?
Posts: 1
Registered: ‎04-02-2018
Location: US
Views: 22,737
Message 3 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

I am facing the same issue on T480s. Even at booting pharse, kernle started sending the following warnings:

 

[11479.480214] CPU5: Core temperature above threshold, cpu clock throttled (total events = 175)
[11479.480215] CPU1: Core temperature above threshold, cpu clock throttled (total events = 175)
[11479.480216] CPU2: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480217] CPU7: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480218] CPU3: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480218] CPU6: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480220] CPU1: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480225] CPU5: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480244] CPU0: Package temperature above threshold, cpu clock throttled (total events = 393)
[11479.480245] CPU4: Package temperature above threshold, cpu clock throttled (total events = 393)

When stressing all CPU cores, monitoring tool like s-tui shows cpu throttles when temparature reached 80 degree C. rdmsr shows the offset was set to 20.

 

$ sudo rdmsr -f 29:24 -d 0x1a2
20

 I hope this issue can be fixed soon.

mattmon
What's DOS?
Posts: 1
Registered: ‎04-09-2018
Location: US
Views: 21,874
Message 4 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

I can confirm this on X1C6; syslog is littered with over temperature warnings and performance suffers considerably under load.

 

[94149.102909] CPU2: Core temperature above threshold, cpu clock throttled (total events = 3587)
[94149.102911] CPU0: Core temperature above threshold, cpu clock throttled (total events = 3587)
[94149.102912] CPU0: Package temperature above threshold, cpu clock throttled (total events = 11421)
[94149.102914] CPU2: Package temperature above threshold, cpu clock throttled (total events = 11421)
[94149.102915] CPU1: Package temperature above threshold, cpu clock throttled (total events = 11421)
[94149.102916] CPU3: Package temperature above threshold, cpu clock throttled (total events = 11421)

Unacceptable for a business class machine.

 

Really hope Lenovo steps up here and doesn't let us languish for months without any aknowledgement or resolution.

hypernull
Paper Tape
Posts: 1
Registered: ‎04-17-2018
Location: US
Views: 20,585
Message 5 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

 

DMI: LENOVO 20L5CTO1WW/20L5CTO1WW, BIOS N24ET37W (1.12 ) 03/14/201
smpboot: CPU0: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (family: 0x6, model: 0x8e, stepping: 0xa)
[  378.937917] CPU0: Core temperature above threshold, cpu clock throttled (total events = 97)
[  378.937918] CPU2: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937919] CPU6: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937920] CPU4: Core temperature above threshold, cpu clock throttled (total events = 97)
[  378.937921] CPU4: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937923] CPU0: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937972] CPU1: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937973] CPU3: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937974] CPU5: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.937975] CPU7: Package temperature above threshold, cpu clock throttled (total events = 754)
[  378.941886] CPU0: Core temperature/speed normal
[  378.941887] CPU4: Core temperature/speed normal
[  378.941887] CPU0: Package temperature/speed normal
[  378.941888] CPU4: Package temperature/speed normal
[  378.941957] CPU1: Package temperature/speed normal
[  378.941957] CPU5: Package temperature/speed normal
[  378.941958] CPU2: Package temperature/speed normal
[  378.941959] CPU6: Package temperature/speed normal
[  378.941959] CPU7: Package temperature/speed normal
[  378.941960] CPU3: Package temperature/speed normal

 

T480 latest 1.12 BIOS , Linux Mint 18.3  ( kernel-4.16.0-041600-generic). 

 

$sudo rdmsr -f 29:24 -d 0x1a2
30

 

_spOOn_
Punch Card
Posts: 4
Registered: ‎04-19-2018
Location: AU
Views: 20,156
Message 6 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

I can confirm this is still an issue on the X1 Carbon 6, with BIOS 1.13 Smiley Sad

 

C'mon Lenovo, show some love for us Linux users!

wintermute42
SCSI Port
Posts: 28
Registered: ‎04-07-2018
Location: DE
Views: 19,323
Message 7 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

Same problem here with a X1C6 with BIOS 1.13 running Ubuntu 18.04.

 

Would it help to the set power config to "Maximum Performance" under "adaptive thermal management" in BIOS? Or maybe to disable "CPU Power Management"?

 

It would be great if Lenovo would follow the example of Dell and provide official support for professional users running Linux or at least try to not loose its good reputation with Linux users by responding to threads in the Linux sections of this forum once in a while.

zkmoonea
Paper Tape
Posts: 1
Registered: ‎04-28-2018
Location: CA
Views: 18,899
Message 8 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

Could someone confirm if this is happening as well on P52s and T580?

 

Me considering getting one of these with preference towards P52s.

zlice
Punch Card
Posts: 8
Registered: ‎05-01-2018
Location: US
Views: 18,505
Message 9 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

Have the same issue on the X1C I got yesterday.

Please look into this Lenovo.

wintermute42
SCSI Port
Posts: 28
Registered: ‎04-07-2018
Location: DE
Views: 18,077
Message 10 of 65

Re: [X1C6/T480s] low cTDP and trip temperature in Linux

Does anyone know if BIOS 1.15 improves this situation?

 

Please Lenovo, a statement from your side would be greatly appreciated! Don't let all the professional users down. Thinkpads had a good reputation in the Linux community for years - please keep it that way.

Holiday Deals
HAPPENING NOW!

Get the best deals on PCs and tech now during the Holiday Sale
Shop the sale

Top Kudoed Authors