Closed fabio1971 closed 9 years ago
Hello Pike when you have time you can answer thanks
Sure I can. These are processor package MSR's:
MSR_PKG_C[2/3/6/7]_RESIDENCY
Time spent of the whole package – all cores – in a certain C-State. They can be zero for two reasons:
1.) Not initialised at boot time, when the kext was loaded from /S/L/Extensions* 2.) Power management isn't fully functional.
By the way. Sorry for my late response, but I did not receive a notification.
Thanks for the answer (Unload and reload the kext (with kextunload/kextload) to get the values!) I did not understand what you mean, can you explain Thanks
If you have the kext in: /System/Library/Extensions then the values will be zero (at startup and later on) and in order to see the values of the MSR's you need to unload the kext and reload it with help of:
sudo kextunload /System/Library/Extensions/AppleIntelInfo.kext
sudo kextload /System/Library/Extensions/AppleIntelInfo.kext
var /var/log/system.log | grep AICPUPMI
Hello Pike you can check if it is okay
Edit: Data moved to next comment.
Sure, but it is a little hard to read so could you please clean it up like I did? Note that a code block starts and ends with 3 "`" (without the quotes of course).
Hello Pike you can check if it is okay
AICPUPMI: v1.0 Copyright © 2012-2014 Pike R. Alpha. All rights reserved
AICPUPMI: logMSRs............................: 1
AICPUPMI: logIGPU............................: 1
AICPUPMI: logIntelRegs.......................: 1
AICPUPMI: logCStates.........................: 1
AICPUPMI: logIPGStyle........................: 1
AICPUPMI: InitialTSC.........................: 0x1ee4a3f31e6d
AICPUPMI: MWAIT C-States.....................: 270624
AICPUPMI: MSR_CORE_THREAD_COUNT......(0x35) : 0x40008
AICPUPMI: MSR_PLATFORM_INFO..........(0xCE) : 0x80838F3012300
AICPUPMI: MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E000005
AICPUPMI: MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x21814
AICPUPMI: IA32_MPERF.................(0xE7) : 0x1949C7026A6
AICPUPMI: IA32_APERF.................(0xE8) : 0x195819F8B17
AICPUPMI: MSR_FLEX_RATIO.............(0x194) : 0xE0000
AICPUPMI: MSR_IA32_PERF_CONTROL......(0x199) : 0x2700
AICPUPMI: IA32_CLOCK_MODULATION......(0x19A) : 0x0
AICPUPMI: IA32_THERM_STATUS..........(0x19C) : 0x88420000
AICPUPMI: IA32_MISC_ENABLES..........(0x1A0) : 0x850089
AICPUPMI: MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
AICPUPMI: MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x25262727
AICPUPMI: IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
AICPUPMI: MSR_POWER_CTL..............(0x1FC) : 0x4005F
AICPUPMI: MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
AICPUPMI: MSR_PKG_POWER_LIMIT........(0x610) : 0x42FFFF001AFFFF
AICPUPMI: MSR_PKG_ENERGY_STATUS......(0x611) : 0x381A2179
AICPUPMI: MSR_PKG_POWER_INFO.........(0x614) : 0x2A0
AICPUPMI: MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x10141400001FFF
AICPUPMI: MSR_PP0_POWER_LIMIT........(0x638) : 0x0
AICPUPMI: MSR_PP0_ENERGY_STATUS......(0x639) : 0x1BF0B1DE
AICPUPMI: MSR_PP0_POLICY.............(0x63a) : 0x0
AICPUPMI: MSR_PP1_POWER_LIMIT........(0x640) : 0x0
AICPUPMI: MSR_PP1_ENERGY_STATUS......(0x641) : 0xF61FF5
AICPUPMI: MSR_PP1_POLICY.............(0x642) : 0x18
AICPUPMI: MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x23
AICPUPMI: MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x0
AICPUPMI: MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x0
AICPUPMI: MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
AICPUPMI: MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
AICPUPMI: MSR_PKGC3_IRTL.............(0x60a) : 0x8842
AICPUPMI: MSR_PKGC6_IRTL.............(0x60b) : 0x8873
AICPUPMI: MSR_PKGC7_IRTL.............(0x60c) : 0x8891
AICPUPMI: MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x18B6A2DA3D99
AICPUPMI: MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
AICPUPMI: MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
AICPUPMI: MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
AICPUPMI: IA32_TSC_DEADLINE..........(0x6E0) : 0x1EE4A5F2B5EE
AICPUPMI: CPU Low Frequency Mode.............: 800 MHz
AICPUPMI: CPU Maximum non-Turbo Frequency....: 3500 MHz
AICPUPMI: CPU Maximum Turbo Frequency........: 3900 MHz
AICPUPMI: IGPU Current Frequency.............: 200 MHz
AICPUPMI: IGPU Minimum Frequency.............: 200 MHz
AICPUPMI: IGPU Maximum Non-Turbo Frequency...: 350 MHz
AICPUPMI: IGPU Maximum Turbo Frequency.......: 1250 MHz
AICPUPMI: IGPU Maximum limit.................: No Limit
AICPUPMI: CPU P-States [ 35 37 (38) ] iGPU P-States [ (4) ]
AICPUPMI: CPU C3-Cores [ 1 2 3 5 6 ]
AICPUPMI: CPU C6-Cores [ 0 1 2 6 7 ]
AICPUPMI: CPU C7-Cores [ 0 1 4 7 ]
AICPUPMI: CPU P-States [ 32 35 37 38 (39) ] iGPU P-States [ (4) ]
AICPUPMI: CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
AICPUPMI: CPU C6-Cores [ 0 1 2 4 5 6 7 ]
AICPUPMI: CPU C7-Cores [ 0 1 2 4 5 6 7 ]
AICPUPMI: CPU P-States [ (8) 32 35 37 38 39 ] iGPU P-States [ (4) ]
AICPUPMI: CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
AICPUPMI: CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
AICPUPMI: CPU P-States [ (8) 32 35 36 37 38 39 ] iGPU P-States [ (4) ]
AICPUPMI: CPU P-States [ 8 32 35 36 (37) 38 39 ] iGPU P-States [ 4 (5) ]
AICPUPMI: CPU P-States [ 8 29 32 35 36 37 38 (39) ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 29 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 28 29 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 26 28 29 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 25 26 28 29 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ 8 25 26 27 28 29 32 33 (35) 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 25 26 27 28 29 31 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 24 25 26 27 28 29 31 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 23 24 25 26 27 28 29 31 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 20 23 24 25 26 27 28 29 31 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 20 21 23 24 25 26 27 28 29 31 32 33 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ 8 20 21 23 24 25 26 27 28 29 31 32 33 34 (35) 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ (8) 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ (4) 5 ]
AICPUPMI: CPU P-States [ 8 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 (39) ] iGPU P-States [ 4 5 (7) ]
AICPUPMI: CPU P-States [ 8 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 (39) ] iGPU P-States [ 4 5 7 (8) ]
AICPUPMI: CPU P-States [ (8) 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ 4 5 (6) 7 8 ]
Thanks
I'm afraid not. Look at this:
AICPUPMI: MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
AICPUPMI: MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
AICPUPMI: MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
These should not all be zero. Try this. Unload the kext and then, after a while, load it again. If that doesn't help then see if you can change the SMBIOS so that this is 0x05 or higher.
AICPUPMI: IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
Hello pike I'm using 14.2 which I can try Thanks
First run:
./ssdtPRGen.sh -s [sandy/ivy/haswell]
That will give you a list with board-id/model names. Pick the board-id of one of the MacBook Pro models and copy the file over the Mac-27ADBB7B4CEE8E61.plist in:
/S*/L*/E*/IOPlat*/C*/P*/X86PlatformPlugin.kext/C*/R*/
But make a backup of the untouched file first.
./ssdtPRGen.sh -s haswell The models board-id / model names: Mac-189A3D4F975D5FFC / MacBookPro11,1 Mac-3CBD00234E554E41 / MacBookPro11,2 Mac-2BD1B31983FE1663 / MacBookPro11,3 replace the name of the file Mac-27ADBB7B4CEE8E61.plist in Mac-2BD1B31983FE1663.plist
Correct.
cd /S*/L*/E*/IOPlat*/C*/P*/X86PlatformPlugin.kext/C*/R*/
sudo mv Mac-27ADBB7B4CEE8E61.plist Mac-27ADBB7B4CEE8E61_backup.plist
sudo cp Mac-2BD1B31983FE1663 Mac-27ADBB7B4CEE8E61.plist
Then you reboot and unload/load the kext after a while to see if the zero's are gone.
ok. Question but I have to replace the SMBIOS in 11.3 or not
No. That is not required. You only need to replace the plist. You don't need to change your SMBIOS configuration. That should be enough to see if the values have changed after a reboot.
Result is equal.
But the kext is working, and this corner of Gitbub issue is for the AppleIntelInfo.kext so let's continue this over at https://github.com/Piker-Alpha/ssdtPRGen.sh/issues/ otherwise it will get too confusing for people,
Hello Pike, Question: Can you tell me the meaning of:
result AppleIntelinfo.kext
Thanks