- Joined
- Jan 18, 2013
- Messages
- 271
- Motherboard
- Mac mini
- CPU
- i[5/7]
- Graphics
- HD[3/4]000
- Mac
- Classic Mac
- Mobile Phone
Introduction
One of my latest sub-projects, AppleIntelCPUPowerManagementInfo.kext – successor of MSRDumper.kext – is ready for its first public appearing.
Target Audience
This is not something everyone here should run. Not yet. What we like to see is feedback from people who know how to compile Xcode projects, move and fire up kexts. That is also why I won't discuss that here. Sorry folks.
Note: If you are happy with the output of MSRDumper.kext then keep using it.
Output
MSR_CORE_THREAD_COUNT......(0x35) : 0x40004
MSR_PLATFORM_INFO..........(0xCE) : 0x100070012100
MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x18000403
MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x414
IA32_MPERF.................(0xE7) : 0x9F321F893D
IA32_APERF.................(0xE8) : 0x6CA11BA565
MSR_IA32_PERF_STATUS.......(0x198) : 0x285A00002200
MSR_IA32_PERF_CONTROL......(0x199) : 0x2200
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x88440000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x22232425
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x4
MSR_POWER_CTL..............(0x1FC) : 0x4005F
rdmsr64....................(0x602) : 0x1814149480001FFF
MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
MSR_PKG_POWER_LIMIT........(0x610) : 0x800087F8001487F8
MSR_PKG_ENERGY_STATUS......(0x611) : 0x426C0DA9
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x1942669E
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_PP1_POWER_LIMIT........(0x640) : 0x0
MSR_PP1_ENERGY_STATUS......(0x641) : 0x2C6F25A
MSR_PP1_POLICY.............(0x642) : 0x10
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x20B65562FEF
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x5474531CB83
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
Low Frequency Mode : 1600 MHz
Clock Speed : 3300 MHz
Max Turbo Frequency: 3700 MHz
Graphics Core Ratios:
Current Ratio : 0x11
Max Non-Turbo Ratio : 0x11
Max Turbo Ratio : 0x16
AICPUPMI: CPU P-States [ 16 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 33 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 35 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 34 36 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 34 35 36 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 33 34 35 36 37 ] GPU P-States [ 17 ]
Note: We are still dumping data in /var/log/system.log but this should soon be a thing of the past. When the front-end app is released.
Source Code
The source code can be found in my Github repository for RevoBoot (clang branch):
https://github.com/Piker-Alpha/RevoBoot/tree/clang/i386/libsaio/cpu/tools/PMinfo
Compiled Kext
1) Download the attached kext and copy it to: /System/Library/Extensions/
2) Fix ownership and permissions with the tool of your choice, or do it from a terminal window with:
3) Reboot
4) Use this terminal command to show the data:
Notes
1) This version won't dump the MSR's and GPU data (compile it yourself when you need this infowant that).
2) It can be used as a replacement for MSRDumper.kext
3) One big advantage is that this kext won't clog up: /var/log/system.log
4) Another advantage is that it will show all reached P-States (MSRDumper.kext won't)
One of my latest sub-projects, AppleIntelCPUPowerManagementInfo.kext – successor of MSRDumper.kext – is ready for its first public appearing.
Target Audience
This is not something everyone here should run. Not yet. What we like to see is feedback from people who know how to compile Xcode projects, move and fire up kexts. That is also why I won't discuss that here. Sorry folks.
Note: If you are happy with the output of MSRDumper.kext then keep using it.
Output
MSR_CORE_THREAD_COUNT......(0x35) : 0x40004
MSR_PLATFORM_INFO..........(0xCE) : 0x100070012100
MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x18000403
MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x414
IA32_MPERF.................(0xE7) : 0x9F321F893D
IA32_APERF.................(0xE8) : 0x6CA11BA565
MSR_IA32_PERF_STATUS.......(0x198) : 0x285A00002200
MSR_IA32_PERF_CONTROL......(0x199) : 0x2200
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x88440000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x22232425
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x4
MSR_POWER_CTL..............(0x1FC) : 0x4005F
rdmsr64....................(0x602) : 0x1814149480001FFF
MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
MSR_PKG_POWER_LIMIT........(0x610) : 0x800087F8001487F8
MSR_PKG_ENERGY_STATUS......(0x611) : 0x426C0DA9
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x1942669E
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_PP1_POWER_LIMIT........(0x640) : 0x0
MSR_PP1_ENERGY_STATUS......(0x641) : 0x2C6F25A
MSR_PP1_POLICY.............(0x642) : 0x10
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x20B65562FEF
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x5474531CB83
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
Low Frequency Mode : 1600 MHz
Clock Speed : 3300 MHz
Max Turbo Frequency: 3700 MHz
Graphics Core Ratios:
Current Ratio : 0x11
Max Non-Turbo Ratio : 0x11
Max Turbo Ratio : 0x16
AICPUPMI: CPU P-States [ 16 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 33 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 35 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 34 36 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 34 35 36 37 ] GPU P-States [ 17 ]
AICPUPMI: CPU P-States [ 16 24 29 33 34 35 36 37 ] GPU P-States [ 17 ]
Note: We are still dumping data in /var/log/system.log but this should soon be a thing of the past. When the front-end app is released.
Source Code
The source code can be found in my Github repository for RevoBoot (clang branch):
https://github.com/Piker-Alpha/RevoBoot/tree/clang/i386/libsaio/cpu/tools/PMinfo
Compiled Kext
1) Download the attached kext and copy it to: /System/Library/Extensions/
2) Fix ownership and permissions with the tool of your choice, or do it from a terminal window with:
Code:
sudo chown -R root:wheel /S*/L*/Extensions/AppleIntelCPUPowerManagementInfo.kext
sudo chmod -R 755 /S*/L*/Extensions/AppleIntelCPUPowerManagementInfo.kext
sudo touch /S*/L*/Extensions
sudo -k
exit
4) Use this terminal command to show the data:
Code:
cat /var/log/system.log | grep "AICPUPMI:"
Notes
1) This version won't dump the MSR's and GPU data (compile it yourself when you need this infowant that).
2) It can be used as a replacement for MSRDumper.kext
3) One big advantage is that this kext won't clog up: /var/log/system.log
4) Another advantage is that it will show all reached P-States (MSRDumper.kext won't)