Contribute
Register

Skylake HWP Enable

Status
Not open for further replies.
System seems slow and PM is so aggressive (seems every time at 0.80)

Sorry, I do not know what the problem is, when using Clover HWPEnable method, frequency steady at 0.8 GHz when idle is problem? It seems to be best for power consumption.

If so, why not use X86PlatformPlugin Injection method, change smbiosxx.plist settings to match your expectation.
 
@shuhung I tried all type of Power Management.
Cannot find a good PM for my i7-6700K.
I use Sierra 10.12.5 iMac 17,1 with board-id Mac-65CE76090165799A(i7-6700K Mac 5K)
With ssdtprgen my frequency jump too much and in idle hardly going on 0.80.(XCPM mode)

With HWP+XCPM Mode Disabled(FakeID+NullCpu kext)+X86PlatformPlugin/Inject +AGPM(ssdtprgen).
System seems slow and PM is so aggressive (seems every time at 0.80)
All verified from IOReg.

How could I find a PROPER PM ?

Tried ARTFrequency but in Sierra doesn't work.
It's making me go crazy.

Thanks in advance for your reply.

Try attached kext, uncheck HWPEnable and remove FakeCPUID from config.plist.

For iMac 17,1 Mac-65CE76090165799A
 

Attachments

  • X86PlatformPluginInjector.kext.zip
    44.5 KB · Views: 146
I think the only different is how to generate PM ssdt with Piker script, I completely disable XCPM control to generate standard PM ssdt, my ssdt work fine with XCPM enable and or disabled,
Will XCPM on or off make a difference for the generated ssdt? I am not sure about that.

BTW, I tried the x86injector and the ssdt-pr.aml. It did not enable hwp. Quite surprised.
 
Will XCPM on or off make a difference for the generated ssdt? I am not sure about that.

BTW, I tried the x86injector and the ssdt-pr.aml. It did not enable hwp. Quite surprised.


For SKL/KBL Pentium CPU using X86PlatformPlugin HWP enable method, need active XCPM first.

For El Capitan 10.11.x, check boot flag -XCPM and uncheck HWPEnable from config.plist.

For Sierra 10.12.x, add XCPM bootstrap for 0x0306a0 patch and uncheck HWPEnable from config.plist, see below patch,

KernelToPatch
Find
83c3c483 fb22

Replace
83c3c683 fb22

MatchOS
10.12
 
It seems that PM stay at 0.80 or slow frequency response also at high loads.

Clover HWPEnable method should not cause this problem, it must be something wrong.

I still using Clover HWPEnable method, response is fast and power consumption is the best.
 
@shuhung Your method works.
I've another question:What X86PlatfotmPluginInjector does?
AppleIntelInfo.kext says IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)


My Folder and Tests:
 

Attachments

  • IntelPowerGadget.png
    IntelPowerGadget.png
    68.4 KB · Views: 179
  • IOReg.ioreg
    16.6 MB · Views: 121
  • EFI.zip
    16.4 MB · Views: 134
  • AppleIntelInfo-TerminalOutput.zip
    4.3 KB · Views: 88
Last edited:
@shuhung Your method works.
I've another question:What X86PlatfotmPluginInjector does?
AppleIntelInfo.kext says IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)


My Folder and Tests:

For reference, see post #152.

I do not use AppleIntelInfo.kext to check HWP, just use terminal command to verify XCPM status, type "sysctl machdep.xcpm" in terminal.

Apple HWP control are registered through XCPM functions, maybe should call it "XCPM is HWP" or "HWP in XCPM".

Clover HWP method seems to be direct call kernel functions, and bypass XCPM functions, therefore it should be pure HWP, also it may highly depended on mobo BIOS ACPI code, newer 200 series BIOS should be better than older 100 series BIOS.
 
Last edited:
For reference, see post #152.

I do not use AppleIntelInfo.kext to check HWP, just use terminal command to verify XCPM status, type "sysctl machdep.xcpm" in terminal.

Apple HWP control are registered through XCPM functions, maybe should call it "XCPM is HWP" or "HWP in XCPM".

Clover HWP method seems to be direct call kernel functions, and bypass XCPM functions, therefore it should be pure HWP, also it may highly depended on mobo BIOS ACPI code, newer 200 series BIOS should be better than older 100 series BIOS.

With X86Injector isn't pure HWP right ?
is now my PM proper like the 17,1 with my same CPU model?
 
Last edited:
For SKL/KBL Pentium CPU using X86PlatformPlugin HWP enable method, need active XCPM first.

For Sierra 10.12.x, add XCPM bootstrap for 0x0306a0 patch and uncheck HWPEnable from config.plist, see below patch,
Yeah. I have to use the patch to enable XCPM for Pentium and another patch for xcpm_idle. But AppleIntelCPU.kext still reports hwp disabled. result of "sysctl machdep.xcpm" is 1. So xcpm is on.
 
Status
Not open for further replies.
Back
Top