I am working on a massive update of AppleIntelInfo.kext and slowly working towards v2.0 but I need feedback, so what I have available for you right now is the source code of v1.6 And what else is more self explanatory… as the new self explanatory output of AppleIntelInfo.kext itself:
AppleIntelInfo.kext v1.6 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x4cfcc0f7c8e
MWAIT C-States.....................: 1319200
Model Specific Registers (MSRs)
---------------------------------------
MSR_CORE_THREAD_COUNT..........(0x35) : 0x40008
----------------------------------------
- Core Count......................... : 4
- Thread Count....................... : 8
MSR_PLATFORM_INFO..............(0xCE) : 0x80838F1012200
----------------------------------------
- Maximum Non-Turbo Ratio............ : 34
- Ratio Limit for Turbo Mode......... : 1 (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........... : 8
- Minimum Operating Ratio............ : 8
MSR_PMG_CST_CONFIG_CONTROL.....(0xE2) : 0x7E000008
----------------------------------------
- I/O MWAIT Redirection Enable....... : 0 (not enabled)
- CFG Lock........................... : 0 (MSR not locked)
- 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...... : 1 (enabled)
- Package C-State Undemotion......... : 1 (enabled)
MSR_PMG_IO_CAPTURE_BASE........(0xE4) : 0x31814
----------------------------------------
- LVL_2 Base Address................. : 0x1814
- C-state Range...................... : 3 (C-States not included, I/O MWAIT redirection not enabled)
IA32_MPERF.....................(0xE7) : 0x33E0B3CD05
IA32_APERF.....................(0xE8) : 0xC9C422E20
MSR_FLEX_RATIO.................(0x194) : 0x0
----------------------------------------
MSR_IA32_PERF_STATUS...........(0x198) : 0x274F00002500
----------------------------------------
- Current Performance State Value.... : 0x2500
MSR_IA32_PERF_CONTROL..........(0x199) : 0x2800
----------------------------------------
- Target performance State Value..... : 0x2800
- Intel Dynamic Acceleration......... : 0 (IDA engaged)
IA32_CLOCK_MODULATION..........(0x19A) : 0x0
IA32_THERM_STATUS..............(0x19C) : 0x884B0800
IA32_MISC_ENABLES..............(0x1A0) : 0x850089
----------------------------------------
- Fast-Strings....................... : 1 (enabled)
- Automatic Thermal Control Circuit.. : 1 (enabled)
- Performance Monitoring............. : 1 (available)
- Enhanced Intel SpeedStep Technology : 1 (enabled)
MSR_MISC_PWR_MGMT..............(0x1AA) : 0x18C1
----------------------------------------
- EIST Hardware Coordination......... : 1 (disabled)
MSR_TURBO_RATIO_LIMIT..........(0x1AD) : 0x25262728
----------------------------------------
- Maximum Ratio Limit for C00........ : 40
- Maximum Ratio Limit for C01........ : 39
- Maximum Ratio Limit for C02........ : 38
- Maximum Ratio Limit for C03........ : 37
IA32_ENERGY_PERF_BIAS..........(0x1B0) : 0x1
----------------------------------------
- Power Policy Preference.............: 1 (highest performance)
MSR_POWER_CTL..................(0x1FC) : 0x2C005F
MSR_RAPL_POWER_UNIT............(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT............(0x610) : 0x42FFD0001A8208
MSR_PKG_ENERGY_STATUS..........(0x611) : 0x6ACF78F
MSR_PKG_POWER_INFO.............(0x614) : 0x208
MSR_PP0_POWER_LIMIT............(0x638) : 0x0
MSR_PP0_ENERGY_STATUS..........(0x639) : 0x5754BCB
MSR_TURBO_ACTIVATION_RATIO.....(0x64C) : 0x0
MSR_PKGC6_IRTL.................(0x60b) : 0x8876
MSR_PKGC7_IRTL.................(0x60c) : 0x8894
MSR_PKG_C2_RESIDENCY...........(0x60d) : 0x2FD0B893448
MSR_PKG_C3_RESIDENCY...........(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY...........(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY...........(0x3fa) : 0x0
IA32_TSC_DEADLINE..............(0x6E0) : 0x4CFCF5A38F1
MSR_PPERF......................(0x63E) : 0xFFFFFF802ADF09F0 (122)
IA32_PM_ENABLE.................(0x770) : 0x3700000000 (HWP Enabled)
IA32_HWP_CAPABILITIES..........(0x771) : 0x1102228
----------------------------------------
- Highest Performance................ : 40
- Guaranteed Performance............. : 34
- Most Efficient Performance......... : 16
- Lowest Performance................. : 1
IA32_HWP_INTERRUPT.............(0x773) : 0x0
----------------------------------------
- Guaranteed Performance Change...... : 0 (Interrupt generation disabled)
- Excursion Minimum.................. : 0 (Interrupt generation disabled)
IA32_HWP_REQUEST...............(0x774) : 0x8000FF01
----------------------------------------
- Minimum Performance................ : 1
- Maximum Performance................ : 255
- Desired Performance................ : 0
- Energy Efficient Performance....... : 128
- Activity Window.................... : 0, 0
- Package Control.................... : 0
IA32_HWP_STATUS................(0x777) : 0x0
----------------------------------------
- Guaranteed Performance Change...... : 0 (has not occured)
- Excursion To Minimum............... : 0 (has not occured)
CPU Ratio Info:
----------------------------------------
CPU Maximum Efficiency Ratio...........: 800 MHz
CPU Maximum non-Turbo Frequency........: 3400 MHz
CPU Maximum Turbo Frequency............: 4000 MHz
IGPU Info:
----------------------------------------
IGPU Current Frequency.................: 0 MHz
IGPU Minimum Frequency.................: 350 MHz
IGPU Maximum Non-Turbo Frequency.......: 350 MHz
IGPU Maximum Turbo Frequency...........: 1150 MHz
IGPU Maximum limit.....................: No Limit
Now what?
It should be pretty straightforward for developers, but just in case you don’t know what to do. This should help:
1.) Download the updated source code.
2.) Compile it with Xcode.
3.) cd /Library/Developer/Xcode/DerivedData/AppleIntelInfo-*/Build/Products/Debug
4.) sudo chown -R root:wheel AppleIntelInfo.kext
5.) sudo chmod -R 755 AppleIntelInfo.kext
6.) sudo kextload AppleIntelInfo.kext
What is next?
I also have a new command line tool in the works that will output the same kind of (MSR) data but I won’t release it until after AppleIntelInfo.kext is done.
Update: Ok. Many thanks for the feedback and output of the updated kext. You may have noticed that I started to fix a couple of issues, and there is a lot more to do for me. I’ll get back to you when I am done with the next set of changes. Again. Thanks again for your feedback!