Contribute
Register

[Guide] Native Power Management for Laptops

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
the output shows nothing after I load the kext Should I wait longer?

anyway, from /tmp/AppleIntelInfo.dat above, it show at the bottom area that there are only one P-States (8) . Is that true? Is it what makes my proc run only at 800 Mhz?
No idea without seeing the entire file. Look for an old version of AppleIntelInfo.kext or AppleIntelCPUPowerManagementInfo.kext that still writes to system.log.

I don't think the recent change of writing to a file in /tmp is a good idea at all...

If you're still using that version, check the file after doing some CPU intensive tasks with the kext running.
 
Joined
Feb 18, 2015
Messages
21
Motherboard
Lenovo Thinkpad X230 Tablet
CPU
Intel Core I5-3320M
Graphics
Intel HD4000
No idea without seeing the entire file. Look for an old version of AppleIntelInfo.kext or AppleIntelCPUPowerManagementInfo.kext that still writes to system.log.

I don't think the recent change of writing to a file in /tmp is a good idea at all...

If you're still using that version, check the file after doing some CPU intensive tasks with the kext running.
Found one at PikeRAlpha's old thread. I used his compiled version. Here is the output while running geekbench

Code:
Eddys-MacBook-Air:~ eddy$ kextstat|grep -y appleintelcpupowermanagementinfo   21    0 0xffffff7f8279b000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementInfo (1) FBE83D82-9E47-3701-89F3-861AB7D29096 <7 5 4 3 1>
Eddys-MacBook-Air:~ eddy$ grep AICPUPMI /var/log/system.log
Oct 19 09:51:59 Eddys-MacBook-Air kernel[0]: AICPUPMI: CPU P-States [ 18 ]
Oct 19 09:52:48 localhost kernel[0]: AICPUPMI: CPU P-States [ 18 ]
Oct 19 09:52:50 Eddys-MacBook-Air kernel[0]: AICPUPMI: CPU P-States [ 8 18 ]
Eddys-MacBook-Air:~ eddy$
Also, AppleIntelInfo.kext tmp output
View attachment AppleIntelInfo.dat.zip

All while geekbench running
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Found one at PikeRAlpha's old thread. I used his compiled version. Here is the output while running geekbench

Code:
Eddys-MacBook-Air:~ eddy$ kextstat|grep -y appleintelcpupowermanagementinfo   21    0 0xffffff7f8279b000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementInfo (1) FBE83D82-9E47-3701-89F3-861AB7D29096 <7 5 4 3 1>
Eddys-MacBook-Air:~ eddy$ grep AICPUPMI /var/log/system.log
Oct 19 09:51:59 Eddys-MacBook-Air kernel[0]: AICPUPMI: CPU P-States [ 18 ]
Oct 19 09:52:48 localhost kernel[0]: AICPUPMI: CPU P-States [ 18 ]
Oct 19 09:52:50 Eddys-MacBook-Air kernel[0]: AICPUPMI: CPU P-States [ 8 18 ]
Eddys-MacBook-Air:~ eddy$
Also, AppleIntelInfo.kext tmp output
View attachment 157265

All while geekbench running
You're seeing states 8 and 18 in system.log from AICPUPMI.

And 8 and 9 in the other log (which I'm not sure is accurate).

The longer you monitor, the more states you'll see.

I'm not convinced the software you're using is working correctly, or whether you're monitoring long enough with a wide enough variety of tasks. Your CPU has a range of x8 to x19.
 
Joined
Feb 18, 2015
Messages
21
Motherboard
Lenovo Thinkpad X230 Tablet
CPU
Intel Core I5-3320M
Graphics
Intel HD4000
You're seeing states 8 and 18 in system.log from AICPUPMI.

And 8 and 9 in the other log (which I'm not sure is accurate).

The longer you monitor, the more states you'll see.

I'm not convinced the software you're using is working correctly, or whether you're monitoring long enough with a wide enough variety of tasks. Your CPU has a range of x8 to x19.
Yes it should runs at max x19 (1900Mhz) but still Intel Power Gadget show flat line 800Mhz, and it feels like my laptop run with intel atom in it :(

I don't think so if geekbench was not intensive enough for cpu, but from the past experience (10.10.5) when running geekbench, my cpu fan will loudly audible, and HWMon show x19 in cpu. The score about 4.4k in multithread. Right now when running geekbench, there's no change at cpu fan. And the result make me want to punch the wall in front of me (0.8k single thread and 1.3k in multithread).
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Yes it should runs at max x19 (1900Mhz) but still Intel Power Gadget show flat line 800Mhz, and it feels like my laptop run with intel atom in it :(

I don't think so if geekbench was not intensive enough for cpu, but from the past experience (10.10.5) when running geekbench, my cpu fan will loudly audible, and HWMon show x19 in cpu. The score about 4.4k in multithread. Right now when running geekbench, there's no change at cpu fan. And the result make me want to punch the wall in front of me (0.8k single thread and 1.3k in multithread).
At this point, probably best to do a fresh install.
 
Joined
Feb 18, 2015
Messages
21
Motherboard
Lenovo Thinkpad X230 Tablet
CPU
Intel Core I5-3320M
Graphics
Intel HD4000
It's been a while...
For the last 5 days, I've been doing fresh install from 10.9 to the latest 10.11. Even tried some live linux distro n see how the frequency scaling...
Strange thing is, sometimes after relatively long usage time, the frequency scale itself to the highest multiplier x19...
Another strange thing, the proc will run on its lowest freq when power adapter pluged. When I unplug power adapter and run some program, the multiplier will give varieties value rather than flat line x8 when pluged. Is this because I use 2 different power adapter (one at home and the other at work place)?
 
Joined
Nov 12, 2012
Messages
221
Motherboard
Lenovo G570
CPU
2.4 GHz Intel Core i5
Graphics
Intel HD 3000
Mac
MacBook Pro
Mobile Phone
iOS
i Used this Native PM and now i boot without NullCpuPowermanagment.kext but my battery status battery show is gone should i use ACPIbatterymanager.kext or something else and how i check has everything going well..:think:
 
Top