Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

SL410 compatibility issues with P9600 (Penryn)?

SL300/SL400/SL500, L400-L420 and L500-L520 Series
Post Reply
Message
Author
Xenomorph
Sophomore Member
Posts: 179
Joined: Tue Jan 23, 2007 1:37 pm
Location: St. Louis, MO

SL410 compatibility issues with P9600 (Penryn)?

#1 Post by Xenomorph » Fri Oct 15, 2021 9:30 pm

ThinkPad SL410, Type 2842
(latest BIOS available, 1.52 / 2012-06-19, whitelist patched)

Its original CPU was a T5870 (2.0 GHz, 800 MHz BUS, 2MB Cache, 65nm, 35W).
I popped a P9600 in it (2.66 GHz, 1066 MHz BUS, 6MB Cache, 45nm, 25W).

I swore that I read that the system was compatible with the newer/better CPUs before I got one.

After noticing slowdowns and really bad benchmark scores, I discovered that the CPU Modulation keeps scaling down when the system is plugged in and under load. 87.5%, 75%, 50%, etc. The multiplier is max and Windows is set to 100% min/max for speed. This seems unrelated to any Windows setting, and more like an issue with the system's motherboard or BIOS.

I can use ThrottleStop to lock the CPU Modulation to 100%, but that means it has to run at boot and always stay on. How can I keep CPU Modulation to stay at 100%? Is this a BIOS compatibility issue?
ThinkPad 560X
ThinkPad T23
ThinkPad T43
ThinkPad SL410

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 22506
Joined: Mon Sep 18, 2006 5:17 am
Location: Wexford, Éire
Contact:

Re: SL410 compatibility issues with P9600 (Penryn)?

#2 Post by RealBlackStuff » Sat Oct 16, 2021 12:32 am

No/bad battery?
Lovely day for a Guinness! (The Real Black Stuff)
Covid-19: Stay safe, so still Mask it or Casket!

Xenomorph
Sophomore Member
Posts: 179
Joined: Tue Jan 23, 2007 1:37 pm
Location: St. Louis, MO

Re: SL410 compatibility issues with P9600 (Penryn)?

#3 Post by Xenomorph » Sat Oct 16, 2021 12:44 am

It has its original battery. Despite its age, it holds a good charge and lasts several hours.

Original Lenovo charger, as well.
ThinkPad 560X
ThinkPad T23
ThinkPad T43
ThinkPad SL410

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 22506
Joined: Mon Sep 18, 2006 5:17 am
Location: Wexford, Éire
Contact:

Re: SL410 compatibility issues with P9600 (Penryn)?

#4 Post by RealBlackStuff » Sat Oct 16, 2021 2:46 am

Maybe you got a Chinese knock-off CPU?
Happens regularly.
What happens if you put the old CPU back in?
Lovely day for a Guinness! (The Real Black Stuff)
Covid-19: Stay safe, so still Mask it or Casket!

Xenomorph
Sophomore Member
Posts: 179
Joined: Tue Jan 23, 2007 1:37 pm
Location: St. Louis, MO

Re: SL410 compatibility issues with P9600 (Penryn)?

#5 Post by Xenomorph » Sun Oct 17, 2021 1:04 am

I hope it's not a knock-off CPU!
The seller on eBay has sold a lot of them (and there are still some available). It looked fine to me, and with clock modulation disabled or forced to max, its benchmarks (GeekBench, etc.) are comparable to similar CPUs.

I'm not even sure where my original CPU is. I guess I could pull everything apart to put it back in for testing, when I find it.

I just noticed the same thing happens under Ubuntu 20.04.

When unplugged and on battery, the CPU runs at 100% (2.66 GHz).

When plugged in, ODCM/On-Demand Clock Modulation scales the CPU down. scaling_cur_freq drops from 2667000 (normal) to 2335319. This is the same "87.5%" reduction I was seeing in Windows (a ~12.5% reduction in speed).

Also, it looks like the CPU went back to 100% / 2.66GHz when the battery charges up to 91%. So this definitely seems like something controlled by the system and related to charging.

I even verified it. I unplugged the AC adapter, drained down to 87% or so, and plugged back in. The clock modulation dropped back to 87.5%, CPU 2.33 GHz. As soon as the battery charged up to 91%, clock modulation was back to 100% and the CPU back to 2.66 GHz.


I have the original Lenovo 65W power adapter. I used a multimeter to test it, and it reads correctly at the full 20V. But it also gets REALLY hot when plugged in and charging the laptop (like, too hot to hold). I ordered a new Lenovo 90W AC adapter, just in case mine is bad or isn't delivering enough power. Perhaps the system is reducing the system speed because it isn't getting enough power?

When trying to figure out how to manually set clock modulation, most stuff I find mentioned BD PROCHOT, which is thermal throttling. I just need something to force the "ODCM" to max. ThrottleStop does that for Windows. But what about Linux?
Last edited by Xenomorph on Sun Oct 17, 2021 2:20 am, edited 1 time in total.
ThinkPad 560X
ThinkPad T23
ThinkPad T43
ThinkPad SL410

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 22506
Joined: Mon Sep 18, 2006 5:17 am
Location: Wexford, Éire
Contact:

Re: SL410 compatibility issues with P9600 (Penryn)?

#6 Post by RealBlackStuff » Sun Oct 17, 2021 2:07 am

Lovely day for a Guinness! (The Real Black Stuff)
Covid-19: Stay safe, so still Mask it or Casket!

Xenomorph
Sophomore Member
Posts: 179
Joined: Tue Jan 23, 2007 1:37 pm
Location: St. Louis, MO

Re: SL410 compatibility issues with P9600 (Penryn)?

#7 Post by Xenomorph » Sun Oct 17, 2021 3:47 am

It's not a permanent fix, but it did help point me in the right direction!

0x19a = IA32_CLOCK_MODULATION = ODCM

This is what my system was showing in register 0x0000019A as it kept throttling down:

0x00000000 = 100%
0x0000001E = 87.5%
0x0000001C = 75%
...

There is a chart of Clock Modulation values here (on Page 4):
http://www.cse.psu.edu/conferences/icpp ... slides.pdf

Since I'm using ThrottleStop in Windows to keep resetting the Clock Modulation, I wanted a way to do just that.

I then found this program:
https://github.com/cocafe/msr-utility

It's basically the Linux msr-tools package for Windows (read and write) and even has a daemon utility made specifically so you don't have to rely on programs like ThrottleStop.

My msr-watchdog.ini script has this in it:

Code: Select all

# keep running
OneShot=0

# check clock modulation every second
WatchdogIntervalMS=1000

# keep core 0 and 1 locked at 100% clock modulation
MSRGeneralRegLock=0, 0x0000019a, 0x00000000, 0x00000000
MSRGeneralRegLock=1, 0x0000019a, 0x00000000, 0x00000000
msr-watchdog checks 0x19a every second and changes its back to 0x00 if the system tries to set it to 0x1e or whatever. It's using less than 700KB of memory, and 0% CPU.

I guess I can create a cronjob in Ubuntu to run wrmsr every second...
ThinkPad 560X
ThinkPad T23
ThinkPad T43
ThinkPad SL410

Xenomorph
Sophomore Member
Posts: 179
Joined: Tue Jan 23, 2007 1:37 pm
Location: St. Louis, MO

Re: SL410 compatibility issues with P9600 (Penryn)?

#8 Post by Xenomorph » Fri Oct 22, 2021 4:36 pm

I just got a new 90W adapter, and the issue hasn't happened once. 100% ODCM during 100% load.

I guess the system doesn't think the 65W adapter provided enough power.

The system was sold with a 65W adapter, and I went from the T5870 CPU (35W) to the newer & more-efficient P9600 (25W), so I figured there would be less power draw. Perhaps the old 2009 65W adapter just isn't as good as it use to be.
ThinkPad 560X
ThinkPad T23
ThinkPad T43
ThinkPad SL410

axur-delmeria
Senior ThinkPadder
Senior ThinkPadder
Posts: 3093
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: SL410 compatibility issues with P9600 (Penryn)?

#9 Post by axur-delmeria » Sat Oct 23, 2021 7:08 pm

I wonder if the bump in FSB clock (800MHz to 1066MHz) has anything to do with it...
Daily driver: X220 4291-C91 i7-2620M

Backup: X601 Core 2 Duo T8100
Toy: X60F Core Solo U1300
On loan: X220 4291-P79 i5-2520M
In pieces: two retired but working X61Ts
RIP: 760XD 9546-U9E; X61 7676-A24; and a BOE-Hydis HV121P01-100 in failed SXGA+ mod
:cry:

kfzhu1229
Senior ThinkPadder
Senior ThinkPadder
Posts: 2183
Joined: Tue Sep 22, 2015 10:59 pm
Location: Toronto, Canada

Re: SL410 compatibility issues with P9600 (Penryn)?

#10 Post by kfzhu1229 » Sat Oct 23, 2021 10:09 pm

Now, see if the issue persists when the system starts with just the battery.
I have had this happen to my Dell laptops with the Penryn CPU's when either using a shotty/weak battery or the internal battery's voltage is abnormal (i.e. internal discharge but the battery IC didn't register percentage drop). In which case throttlestop fixes it. But that should only happen on a beefy system with discrete graphics and high end power hungry screens and everything, and probably not on something of the calibre of a SL410.
But yeah I guess if your charger is about to die and isn't supplying full 65W of power, that can be it too
Dell Lat CP MMX-233 64mb 40gb W2k
600 PII-266 416mb 40gb WXP
T23 PIII 1.13ghz 1gb W7
Precision M4300 X9000 8gb 160gb WUXGA Ultrasharp fp W10
T530i 15.6" i7 16gb fp W10
UXGA:
A30p PIII 1.2 1gb W7 (IDTech)
T43p 2.26 2gb fp W10 (Sharp)
Lat C840 P4-2.5 2gb 60gb W7 (Ultrasharp)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad SL and L Series until L420/L520”

Who is online

Users browsing this forum: No registered users and 7 guests