Jump to content
Sign in to follow this  
Followers 0
Allan

Como checar seus states - AppleIntelInfo / AICPMInfo / MSRDumper

4 posts in this topic

Recommended Posts

Primeiramente quero informar que todos os créditos pelas ferramentas e usabilidade vão para: Pike R. Alpha

Caso tenham problemas com alguma .kext, informe isso na sua pagina: GitHub Piker-Alpha (Pike)

 

Para utilizar a AppleIntelInfo.

 

Download: AppleIntelInfo

Faça download do .zip, extraia e complite a kext usando o Xcode.

 

E siga estes passos para executar o .kext e ver os resultados.

cd /Users/youruser/Downloads
sudo chown -R root:wheel ./AppleIntelInfo.kext
sudo chmod -R 755 ./AppleIntelInfo.kext
sudo kextload AppleIntelInfo.kext
cat /var/log/system.log | grep "AICPUPMI:"

Depois de verificar os states, faça com que o processo seja cancelado:

sudo kextunload AppleIntelInfo.kext

PS: Esta .kext é recomendada para CPUs mais atuais, como IvyBridge para frente. Se possui um CPU da 1º ou 2º geração poderá usar a .kext AICPMInfo ou o app Intel® Power Gadget

Share this post


Link to post
Share on other sites
Advertisement

Como compilar o AppleIntelInfo.kext?

 

Vai precisar do Xcode atualizado e instalado em seu OS X.

 

Abra o arquivo e encontre o .xcodeproj

ZCc.png

 

Agora, mude o OS X Deployment Target para 10.8.

 

YCc.png

 

E mude o Base SDK tambem, depois disso clique no botão "Play, e a kext será criada.

 

XCc.png

Você vai encontrar a kext em:

Suasório (seu Usuário)/Library/Developer/Xcode/DerivedData/AppleIntelInfo/Build/Products/Debug/AppleIntelInfo.kext 

Share this post


Link to post
Share on other sites

AppleIntelCPUPowerManagementInfo.kext

 

Faça download aqui.

 

Extraia a kext, e se preferir deixe ela na pasta Downloads, caso deseje usar outro local, mude isso nos comandos abaixo:

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

Depois disso você verá seus resultados, dessa maneira:

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 ]

Se todos os states estão listados então tudo está ok.

 

PS: Pode acontecer que se você usa o HWMonitor/iStat Menus verá apenas 2 ou 3 states, isso acontece com aqueles que faze uso de um SMBios de iMac, mas esses valores são mostrados até mesmo nos iMacs reais.

Não tem com o que se preocupar, o mais importante é rodar o kext e checar se está ok.

 

PS 2: Não utilize esta kext com CPUs atuais como: IvyBridge, Haswell ou Broadwell

 

Após verificar seus states, cancele o processo usando esse comando:

sudo kextunload AppleIntelCPUPowerManagementInfo.kext

Share this post


Link to post
Share on other sites

MSRDumper.kext


 


Download: zip.gif  MSRDumper.kext.zip   13.83KB   0 downloads


 


Navegue até o diretório que contem o seu .kext descompactado:



cd /Users/youruser/Downloads

Abra Terminal, e execute esses comandos:



sudo chown -R 0:0 MSRDumper.kext

E rode o comando abaixo, executando assim o .kext 



sudo kextload MSRDumper.kext

Abra o Console e veja os resultados no 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 

Para cancelar o processo  da MSRDumper rode o comando abaixo:



sudo kextunload MSRDumper.kext

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

×