Contribute
Register

Skylake HWP Enable

Status
Not open for further replies.
Hi,

I have a speedstep problem where my 6700k goes to 4 gHz and after a while fluctuates between 4 and 0,8 gHz.
I successfully have HWP running and I looked up my cpu to 4 gHz with HWPValue to 0x00002828,
but still, it still fluctuates between 4 and 0,8 gHz.
I tried disable everything speedstep and EIST related parameter in the BIOS, and also nullCPUPowerManagment.kext and before that, removing a few Apple kexts power related.
Does anyone has this problem? Any idea?

Thanks in advance.

PS: This fluctuation happens in every CPU heavy program like Cinebench, blender cpu rendering, prime 95...
 
I am on high sierra and this thread has allowed me to stress test my mac without it restarting now, which is great. Before, the temps would hit 73 and the computer would reset.

Now it chugs along at 73 and 4.2ghz much better under the 'yes' stress test.

However, in windows the CPU clocks up to 4.5ghz. Is it safe to put the value in for 4.5ghz? (2D I guess) Currently I'm on the same as the one you posted in your example.
 
Hi Guys,

Does anyone know how to restore CPU state (not reboot system)?
My CPU model is 6y30 (0.9GHz~2GHz), when execute 'kextload HWPEnabler.kext', frequency changeto (0.5GHz~2GHz), that's what I want, more power save.:D

but when execute 'kextunload HWPEnabler.kext', it not change back(0.9G~2G)
so how switch it at anytime?
 
Last edited:
@shuhung

I have compiled HWPEnabler with PM calls. Can you try it and tell me the output when your machine comes out of sleep.

It should say something like "HWPEnabler: Changing power state to x"

I'm thinking I can just set MSR_IA32_PM_ENABLE when it comes out of sleep.

You can get the output by running the following line from Terminal
Code:
log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "HWPEnabler")' --style syslog --source --last boot
 
@shuhung

I have compiled HWPEnabler with PM calls. Can you try it and tell me the output when your machine comes out of sleep.

It should say something like "HWPEnabler: Changing power state to x"

I'm thinking I can just set MSR_IA32_PM_ENABLE when it comes out of sleep.

You can get the output by running the following line from Terminal
Code:
log show --predicate 'process == "kernel" AND (eventMessage CONTAINS "HWPEnabler")' --style syslog --source --last boot

Thanks,

Installed kext into /L/E, but HWP not work after sleep
400752
 
Thanks,

Installed kext into /L/E, but HWP not work after sleep

That's weird. I'm pretty sure I implemented it correctly. Please try the attached.
 
That's weird. I'm pretty sure I implemented it correctly. Please try the attached.

Same result, HWP not work after wakeup, use Hackintool to resume HWP functional, work fine.
400772
 
Same result, HWP not work after wakeup, use Hackintool to resume HWP functional, work fine.
Made a silly mistake. Please try the attached one. Should definitely get sleep/wake messages now.
 

Attachments

  • HWPEnabler.zip
    17.5 KB · Views: 406
Status
Not open for further replies.
Back
Top