Jump to content
Allan

How to check your states – Using AICPMInfo, MSRDumper or AppleIntelInfo

5 posts in this topic

Recommended Posts

First I want to inform that all credits for tools and usability go to: Pike R. Alpha
If they have problems with some .kext inform here: GitHub Piker-Alpha (Pike)

Source v2.4

How to use it:
Download Xcode, and compile with it.
Open Terminal and type:

cd /Library/Developer/Xcode/DerivedData/AppleIntelInfo-*/Build/Products/Debug

Load it:

sudo kextload AppleIntelInfo.kext

Do some tests, e.g: Watch a video in Youtube in 1080p, run Geekbench, etc...
After that, cancel the .kext process:

sudo kextunload AppleIntelInfo.kext

And now, to check the results, run this command:

sudo cat /tmp/AppleIntelInfo.dat

You'll see the output like this:

AppleIntelInfo.kext v1.9 Copyright © 2012-2016 Pike R. Alpha. All rights reserved

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1

Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0x44346f26290 (187 MHz)
MWAIT C-States...........................: 135456

Processor Brandstring....................:        Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz

Processor Signature..................... : 0x306A9
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 9
 - Model................................ : 0x3A (58)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0x0
------------------------------------------
 - Core Count........................... : 2
 - Thread Count......................... : 4

MSR_PLATFORM_INFO................(0xCE)  : 0x80C10E0011900
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x19 (2500 MHz)
 - Ratio Limit for Turbo Mode........... : 0 (not programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 0 (LMP not supported)
 - Number of ConfigTDP Levels........... : 0 (only base TDP level available)
 - Maximum Efficiency Ratio............. : 12
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x1E008404
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 1 (enabled, IO read of MSR(0xE4) mapped to MWAIT)
 - CFG Lock............................. : 1 (MSR locked until next reset)
 - C3 State Auto Demotion............... : 1 (enabled)
 - C1 State Auto Demotion............... : 1 (enabled)
 - C3 State Undemotion.................. : 1 (enabled)
 - C1 State Undemotion.................. : 1 (enabled)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x20414
------------------------------------------
 - LVL_2 Base Address................... : 0x414
 - C-state Range........................ : 2 (C7 is the max C-State to include)

IA32_MPERF.......................(0xE7)  : 0xD9B3C8E451
IA32_APERF.......................(0xE8)  : 0xD76551A23F

MSR_FLEX_RATIO...................(0x194) : 0x100000
------------------------------------------

MSR_IA32_PERF_STATUS.............(0x198) : 0x21C900001D00
------------------------------------------
 - Current Performance State Value...... : 0x1D00 (2900 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x1D00
------------------------------------------
 - Target performance State Value....... : 0x1D00 (2900 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x8
IA32_THERM_STATUS................(0x19C) : 0x88350008

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Performance Monitoring............... : 1 (available)
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - CFG Lock............................. : 0 (MSR not locked)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x691200
------------------------------------------
 - Turbo Attenuation Units.............. : 0 
 - Temperature Target................... : 105
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x400001
------------------------------------------
 - EIST Hardware Coordination........... : 1 (hardware coordination disabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x1D1D1D1F
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 1F (3100 MHz) 
 - Maximum Ratio Limit for C02.......... : 1D (2900 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x4
------------------------------------------

MSR_POWER_CTL....................(0x1FC) : 0x14005F
------------------------------------------
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA1003
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 16 (15.3 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x8000815E00DC8118
------------------------------------------
 - Package Power Limit #1............... : 35 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 0 (disabled)
 - Time Window for Power Limit #1....... : 110 (163840 milli-Seconds)
 - Package Power Limit #2............... : 43 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 0 (disabled)
 - Time Window for Power Limit #2....... : 0 (2 milli-Seconds)
 - Lock................................. : 1 (MSR locked until next reset)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x22C9A00A
------------------------------------------
 - Total Energy Consumed................ : 8905 Joules (Watt = Joules / seconds)

MSR_PKG_POWER_INFO...............(0x614) : 0x10000000C00118
------------------------------------------
 - Thermal Spec Power................... : 35 Watt
 - Minimum Power........................ : 0
 - Maximum Power........................ : 0
 - Maximum Time Window.................. : 0

MSR_PP0_POWER_LIMIT..............(0x638) : 0x0

MSR_PP0_ENERGY_STATUS............(0x639) : 0x135DE075
------------------------------------------
 - Total Energy Consumed................ : 4957 Joules (Watt = Joules / seconds)

MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0
MSR_PP1_CURRENT_CONFIG...........(0x602) : 0x1814149480000190

MSR_PP1_POWER_LIMIT..............(0x640) : 0x0

MSR_PP1_ENERGY_STATUS............(0x641) : 0x593CD2
------------------------------------------
 - Total Energy Consumed................ : 89 Joules (Watt = Joules / seconds)

MSR_PP1_POLICY...................(0x642) : 0x10
------------------------------------------
 - Priority Level....................... : 16

MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x19
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0xC0000000000000
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0xC0000000000000
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
MSR_PKGC3_IRTL...................(0x60a) : 0x883B
MSR_PKGC6_IRTL...................(0x60b) : 0x8850
MSR_PKGC7_IRTL...................(0x60c) : 0x8857
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x240109E550
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0xB22C5C10
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x22B90F113B
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x27135115870

IA32_TSC_DEADLINE................(0x6E0) : 0x443572AC506

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 25 (2500 MHz)
Maximum Turbo Ratio/Frequency............: 31 (3100 MHz)

IGPU Info:
------------------------------------------
IGPU Current Frequency...................:  350 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  650 MHz
IGPU Maximum Turbo Frequency.............: 1100 MHz
IGPU Maximum limit.......................: No Limit

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (12) 23 29 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ (12) 17 23 29 ] iGPU P-States [ (7) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ 12 17 23 27 (29) ] iGPU P-States [ (7) ]
CPU P-States [ 12 17 23 27 (29) 30 ] iGPU P-States [ (7) ]
CPU P-States [ (12) 17 19 23 27 29 30 ] iGPU P-States [ (7) ]
CPU P-States [ 12 17 19 23 25 27 (29) 30 ] iGPU P-States [ (7) ]
CPU P-States [ (12) 17 18 19 23 25 27 29 30 ] iGPU P-States [ (7) ]
CPU P-States [ 12 17 18 19 (22) 23 24 25 27 29 30 ] iGPU P-States [ (7) ]
CPU P-States [ 12 17 18 19 20 (22) 23 24 25 27 29 30 ] iGPU P-States [ (7) ]
CPU P-States [ 12 17 18 19 20 (22) 23 24 25 27 29 30 ] iGPU P-States [ 7 (10) ]
CPU P-States [ (12) 17 18 19 20 21 22 23 24 25 27 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ (12) 14 17 18 19 20 21 22 23 24 25 27 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ (12) 14 16 17 18 19 20 21 22 23 24 25 27 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ (12) 14 15 16 17 18 19 20 21 22 23 24 25 27 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ (12) 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ 12 14 15 16 17 18 19 20 21 (22) 23 24 25 26 27 28 29 30 ] iGPU P-States [ (7) 10 ]
CPU P-States [ 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 (31) ] iGPU P-States [ (7) 10 ]

PS: If you want you can use Intel® Power Gadget.app too.

If you have the wrong results with Intel Power Gadget + Skylake CPUs, Patrick Konsor one of the Development Team, says that it's a issue with the old version of this app, so for you fix that, go to Intel Power Gadget page and download the newest version.

See what he says here

Note: Where I put "youuser", enter your User name.

Share this post


Link to post
Share on other sites
Advertisement

How to compile AppleIntelInfo.kext

 

Go to Piker GitHub page, and donwload the project:

sXYXGGj.png

Extract the .zip, open the folder, and run the xcode project:

Open the project with Xcode

Now click in "Play" button, and the kext was built.

06hFYTE.png

The kext is here:

User (Your User)/Library/Developer/Xcode/DerivedData/AppleIntelInfo/Build/Products/Debug/AppleIntelInfo.kext 

Share this post


Link to post
Share on other sites

AppleIntelCPUPowerManagementInfo.kext

Download the kext, open Terminal:

cd /Users/youruser/Downloads
chmod -R go=u-w /Users/youruser/Downloads/AppleIntelCPUPowerManagementInfo.kext
chown -R root:wheel /Users/youruser/Downloads/AppleIntelCPUPowerManagementInfo.kext
sudo kextload AppleIntelCPUPowerManagementInfo.kext
cat /var/log/system.log | grep "AICPUPMI:"

After this code, you will see results, like this:

Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: v3.3 Copyright © 2012-2014 Pike R. Alpha. All rights reserved
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: logMSRs............................: 1
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: logIGPU............................: 0
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: logCStates.........................: 1
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: logIPGStyle........................: 1
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MWAIT C-States.....................: 135456
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_CORE_THREAD_COUNT......(0x35)  : 0x20004
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PLATFORM_INFO..........(0xCE)  : 0x80C10E0011900
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E008404
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x20414
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_MPERF.................(0xE7)  : 0x603532E
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_APERF.................(0xE8)  : 0x5C9445D
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_FLEX_RATIO.............(0x194) : 0x100000
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_IA32_PERF_STATUS.......(0x198) : 0x21F200001D00
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_IA32_PERF_CONTROL......(0x199) : 0x1D00
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_CLOCK_MODULATION......(0x19A) : 0x8
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_THERM_STATUS..........(0x19C) : 0x88370000
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_MISC_ENABLES..........(0x1A0) : 0x850089
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x1D1D1D1F
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x4
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_POWER_CTL..............(0x1FC) : 0x14005F
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_POWER_LIMIT........(0x610) : 0x8000815E00DC8118
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_ENERGY_STATUS......(0x611) : 0x273287F7
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKGC3_IRTL.............(0x60a) : 0x883B
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKGC6_IRTL.............(0x60b) : 0x8850
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKGC7_IRTL.............(0x60c) : 0x8857
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x1814149480000380
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PP0_POWER_LIMIT........(0x638) : 0x0
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PP0_ENERGY_STATUS......(0x639) : 0xEB53CF4
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PP0_POLICY.............(0x63a) : 0x0
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x19
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL1......(0x649) : 0xC0000000000000
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0xC0000000000000
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x32DC444350
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0xB3374E58
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x395FCA25EF
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x52EDFDB31E9
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU Low Frequency Mode.............: 1200 MHz
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU Maximum non-Turbo Frequency....: 2500 MHz
Mar  1 15:57:57 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU Maximum Turbo Frequency........: 3100 MHz
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (22) 25 29 ]
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU C3-Cores [ 0 2 3 ]
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU C6-Cores [ 0 1 3 ]
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU C7-Cores [ 0 1 2 3 ]
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 20 22 25 29 ]
Mar  1 15:57:58 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU C6-Cores [ 0 1 2 3 ]
Mar  1 15:57:59 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 17 20 (22) 25 29 ]
Mar  1 15:57:59 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU C3-Cores [ 0 1 2 3 ]
Mar  1 15:57:59 Allans-MacBook-Pro.local Console[664]: setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
Mar  1 15:57:59 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 17 20 22 25 27 (29) ]
Mar  1 15:58:00 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 17 20 22 23 25 27 29 ]
Mar  1 15:58:01 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 17 20 22 23 24 25 27 29 ]
Mar  1 15:58:02 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 17 20 21 22 23 24 (25) 27 29 ]
Mar  1 15:58:02 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 17 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:05 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 17 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:06 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 17 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:07 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 17 19 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:08 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 15 17 19 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:09 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 15 16 17 19 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:29 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 ]
Mar  1 15:58:56 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 (31) ]
Mar  1 15:59:33 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 (25) 26 27 29 30 31 ]
Mar  1 15:59:49 Allans-MacBook-Pro kernel[0]: AICPUPMI: CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 (25) 26 27 28 29 30 31 ]

If you see all states and turbo, everything works fine.

For unload kext, use the last code:

sudo kextunload AppleIntelCPUPowerManagementInfo.kext

Note: Where I put "youuser", enter your User name.

Share this post


Link to post
Share on other sites

MSRDumper.kext

Download: MSRDumper.kext.zip
Enter in the directory that contains MSRDumper (unzipped):

cd /Users/youruser/Downloads

Open Terminal, and run:

sudo chown -R 0:0 MSRDumper.kext

And load the kext: 

sudo kextload MSRDumper.kext

Open the Console.app and see the kernel.log:

MacBook-Pro kernel[0]: MSRDumper CoreMulti(31)
MacBook-Pro kernel[0]: MSRDumper PStatesReached:  11 16 19 23 25 26 27 28 29 30 31 
MacBook-Pro kernel[0]: MSRDumper CoreMulti(31)
MacBook-Pro kernel[0]: MSRDumper PStatesReached:  11 16 19 23 25 26 27 28 29 30 31 

To stop MSRDumper run the following command in Terminal:

sudo kextunload MSRDumper.kext

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By netgear
      Un ottimizzazione importante
      Si tratta di come viene gestito il risparmio energetico del Processore. Come su tutti i sistemi moderni se non si esegue nessuna operazione, o siamo su uno stadio intermedio, la CPU viene posizionata di conseguenza sulla frequenza più idonea, questo per avere il migliore rapporto prestazioni/consumo, ma anche dissipazione del calore, rumore e longevità stessa della macchina.
      Verifichiamolo con una applicazione fornita da intel: Intel® Power Gadget, il programma Monitorizza in tempo reale il comportamento della nostra CPU, se tutto è corretto la vedremo lavorare nell'intero spettro di frequenze:

      Possiamo affinare ulteriormente la verifica con AppleIntelInfo.kext
      Scarichiamolo e posizioniamolo sul Desktop
      Da Terminale (premere invio dopo ogni comando):
      sudo chown -R root:wheel ~/desktop/AppleIntelinfo.kext
      sudo chmod -R 755  ~/desktop/AppleIntelinfo.kext
      sudo kextload ~/desktop/AppleIntelinfo.kext
      sudo cat /tmp/AppleIntelInfo.dat
      Il terminale ci restituirà un output:

      Questa Kernel Extension registrerà tutte le posizioni che sono state toccate dalla CPU, le posizioni (moltiplicatori) sono a passi di UNO (100 Mhz).
      Lasciate aperto il terminale, ogni tanto ripetiamo il comando:
      sudo cat /tmp/AppleIntelInfo.dat
       
      Vedrete le posizioni aggiornarsi, se coprono tutto il Range di Frequenze (in questo caso 8-33 800-3300 Mhz) avrete una gestione del PM perfetta:

      Il risultato dipende dalla tipologia di hardware e dal metodo utilizzato per gestire il PM.
      Il più semplice è quello di utilizzare PStates e CStates di Clover spuntando nel config.plist Generate PStates e Generate PStates, tramite Clover Configurator nella sezione ACPI/SSDT:

      Riavviare e Testare
      I risultati migliori però si ottengono generando un file (SSDT) che informi il Sistema nel dettaglio delle caratteristiche della nostra CPU.
      Possiamo generare questo file con ssdtPRGen.sh
      Disabilitiamo nel config.plist Generate PStates e Generate PStates, tramite Clover Configurator nella sezione ACPI/SSDT:

       
      Per facilitare il compito usiamo lo script creato da gengik84 SSDT_Automator, decomprimiamolo sul Desktop:

      Lanciamolo e rispondiamo ad alcune semplici domande:
      Press [1]  Se la nostra CPU è di Default
      Press [2] Se abbiamo overcloccato le frequenze Turbo

      Nel secondo caso [2] ci verrà chiesto di specificare il valore del Turbo da 3500-5000 (espresso in Mhz)

      Nel caso in cui abbiamo impostato nel BIOS le frequenze Turbo a 4000 Mhz (4 Ghz):

       
      Alla domanda: Do you want to open ssdt.dsl (y/n) rispondiamo pure n.
      Ci troveremo sul Desktop una cartella Power_Management con dentro il nostro SSDT.aml pronto per l’uso, posizioniamolo nella EFI, precisamente: \EFI\CLOVER\ACPI\patched\
      Riavviare e Testare
      Se la CPU sembra che lavori sbilanciata verso l’alto, per via di una sorta di blocco sui moltiplicatori:

      Abilitiamo nel config.plist il KernelPM, sempre con Clover Configurator, nella sezione Kernel and Kext Patches:

      Riavviare e Testare
    • By William Parker
      Testing the waters on my new Z170 build based off the entry level board and the Intel 6th gen i7-6700K. I was intending to complete the build, have it up & running smoothly before beginning this post. But I've run into problems where no amount of reading into Pike R. Alpha's post nor Google is helping. So here I am.
      Reading around I got to downloading the 10.11.4 from Apple cause the Skylake build it appears needed that. Made the bootable with Clover-on-it-USB.
      Clover strangely would not install. Showed complete progress but at the end I had no EFI partition mounted on my desktop which meant it was not okay. Naturally I was doing a UEFI only install. Learnt of needing to run "nvram -c" command in the terminal without quotes and the command to format the EFI partition as FAT32 & repeated the process & it succeeded.
      Now I had the Monitor (LP2065) connected via DVI to the onboard video. I got the display on BIOS and the first thing I did was to flash latest F7 BIOS. Rebooted and set the values I thought were okay.
      Among the new ones was the APIC numbered setting that I disabled. But as I later found enabling did not change anything. I already had few edits in the config.plist. (a.) The patch for USB port limit (b.) Skylake graphics patch (c.) IOGraphicsFamly patch (for taking care of the second stage glitch).
      In verbose mode the USB Stick booted right up. It was throwing a few unfamiliar messages but the installer booted okay. Without much fuss I had the Samsung 850EVO connected and so installed on it. Went through quite fast compared to my older install on Z97-4790K system.
      Rebooted SSD and installed clover on it & it worked right away.
      Time to look into the Power Management side of things.
      the ssdtprgen Beta script downloads and works and also makes a SSDT.aml file. But the thing appears to do nothing. I placed it in ACPI patched and rebooted. Checked with the Intel Power Gadget idles at about 1.6 Ghz (1.51 Ghz to be lowest) at 25º C. Loading the CPU with the dummy yes command in terminal (single instance) takes CPU to 4.0 Ghz with temps at 40º and 6 more instances make the CPU reach 55º. Subsequently killing all yes instances bring CPU idle back to 1.57 Ghz.
      So I tired to install plugins to FaleSMC (HWSensors) and used Istatmenus. It showed identical values. I believe HWmonitor would too since I have seen it behave similarly in the past.
      Next option left to check was the AppleIntelInfo kext from Pike R. Alpha. Here is where I get lost The thing does not output anything in the terminal or the console. I swear in the early days of building the 4790K system I had the results in terminal. Now nothing. No error messages nothing.
      So as things stand - power management is incomplete. System idles at 1.5 Ghz instead of 800 Mhz and turbo boosts to 4.0Ghz. at least what IntelPowerGadget V 3.0.3 tells me. The presence of SSDT does not change anything. But speed stepping is working regardless of its state in the BIOS, enabled or disabled..
      So friends any ideas?
       
      EDIT:1 - Just checked - sleep not working yet
    • By erbas
      Hi friends need help with Ivy Bridge processor. 
       
      Multiplier is between the minimum and the maximum x16 and x34. 
       
      I'm looking for a solution for states, I have a hackintosh 10.9.4 maverick with a large helping Arthur. 
       
      Motherboard ASUS P8H77-I Mini ITX, bootloalder clover UEFI, 
       
      Rest ok. SSDT, DSDT ta ok. 
       
      Bios imac 13.1. More multiplier is between the minimum and maximum 16x34 and this problem. 
       
      Core-i3-3240 Ivy Bridge, this all working except the states. 
       
      Flashmodbios with dcpimanager of CodeRush. 
       
      I need help with what else I should try? 
       
      DSDT, SSDT, clover info.plist of all attached 
       
        Sorry my english. Grateful.
      Asus P8H77-I.rar
×