Jump to content

Haswell speed stepping without multiplier change?


  • Please log in to reply
11 replies to this topic

#1
K3Rl

K3Rl

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Folks,

 

I got my system up and running on mavericks quite well with clover boot loader. But i must say I'm a bit confused by the power management: 

 

When I take a look into the Intel Power Gadget, my system seems to speedstep nicely between 0.8 and 3.3 ghz on the CPU, and also GPU stepping seems to work fine. But when I run MSRDumper, It seems to me that only the lowest + 2 turbo boost states should actually work:

23.02.14 09:03:46,000 kernel[0]: MSRDumper PStatesReached: 8 31 32 33 

At the moment my system runs a patched Kernel bc I was experiencing kernel panics (I know my GA board should not lock the register, but Iit seems to run fine now), Clover is on vanilla config.plist (only with DumpOEM=true and SSDT for HDMI audio) – so GeneratePStates and GenerateCStates are both on. And of course native AppleIntelCPUPowerManagement.kext.

 

I tried a generated SSDT for Power Management but that ended in the same result.

 

So can I trust MSRDumper or the Intel Utility? Or does the CPU even step via front side bus when it detects the missing ability to change multiplicators? Would seem strange to me though.

 

Ideas very much appreciated!

 



#2
Dontview

Dontview

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
  • Gender:Male
  • Location:Germany

Hey,

 

I have exactly the same situation. My CPU is a haswell i5 4570. I use clover and SSDT for Power Management. 

Didn’t find any solution so far. 



#3
Liankao

Liankao

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Me,too.I have tried using the ssdt.aml generated by ssdtPRGen.sh,But HWmonitor showed only two states,no matter how I configure clover. My CPU is i5-4200m.

#4
lunacory

lunacory

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
  • Gender:Male
  • Location:Beijing, China

If you open the log file of Intel Power Gadget, you can see steps was only few ones. The graphic is not accurate.

 

My cpu is E3-1230 V3 (3.3G-3.7G), with Gigabyte H87N-WIFI, non-SSDT, the speed steps are 8\33\34\35\36\37 (blue means normal、red means boost)

I check My RMBP13's cpu, I5-3210M (2.5G-3.1G), the speed steps are 12/22/25/26/27/28/29/30/31 (blue means normal、red means boost)

 

2 normal speeddsteps  VS 3 normal speedsteps

 

This result is acceptable



#5
Dontview

Dontview

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
  • Gender:Male
  • Location:Germany
Well,
but your two CPUs aren't Haswell. Speedstepping with Haswell CPUs is a different case, since they using the osx kernel instead of acpm.

#6
Laberlohe

Laberlohe

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 218 posts
  • Gender:Male
  • Location:Frankfurt (Home of the Woscht)

Erm, the Xeon E3-1230 V3 is a Haswell cpu (like all E3 v3 // E3 v2 was IvyBridge). Generally speaking it is a i7-4770 without the graphics part...



#7
Dontview

Dontview

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts
  • Gender:Male
  • Location:Germany

Erm, the Xeon E3-1230 V3 is a Haswell cpu (like all E3 v3 // E3 v2 was IvyBridge). Generally speaking it is a i7-4770 without the graphics part...

 

You are right - sorry my bad.

 



#8
wastez

wastez

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts
  • Gender:Male
Thats a simple thing.
Mavericks is able to manage the pm over the kernel (xnu CPU Power Management) if the x86platform kext is loaded.
The old pm is working over the aicpupm.kext. In the meanwhile there are not so much p states.
But p-states are not the hole pm, this is what you see when you are using the intel power gadget because it displays p and c states.

If you want to use the old pm you can do two things:
Edit your ssdt or use a kernel where xcpm is not integrated.

#9
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,202 posts
  • Gender:Male
  • Location:Moscow

Guys,

why use ssdtPRGen.sh if you use Clover? It generates the same tables. The script needed for Chameleon users.



#10
Pike R. Alpha

Pike R. Alpha

    InsanelyMac Sage

  • Developers
  • 285 posts
  • Gender:Male

Folks,

 

I got my system up and running on mavericks quite well with clover boot loader. But i must say I'm a bit confused by the power management: 

 

When I take a look into the Intel Power Gadget, my system seems to speedstep nicely between 0.8 and 3.3 ghz on the CPU, and also GPU stepping seems to work fine. But when I run MSRDumper, It seems to me that only the lowest + 2 turbo boost states should actually work:

23.02.14 09:03:46,000 kernel[0]: MSRDumper PStatesReached: 8 31 32 33 

At the moment my system runs a patched Kernel bc I was experiencing kernel panics (I know my GA board should not lock the register, but Iit seems to run fine now), Clover is on vanilla config.plist (only with DumpOEM=true and SSDT for HDMI audio) – so GeneratePStates and GenerateCStates are both on. And of course native AppleIntelCPUPowerManagement.kext.

 

I tried a generated SSDT for Power Management but that ended in the same result.

 

So can I trust MSRDumper or the Intel Utility? Or does the CPU even step via front side bus when it detects the missing ability to change multiplicators? Would seem strange to me though.

 

Ideas very much appreciated!

Haswell processors do not use AppleIntelCPUPowerManagement.kext but XCPM – power management via mach_kernel – and thus you are doing it wrong.

 

Make sure to use a SMBIOS setup that supports FrequencyVectors in IOPlatformPluginFamily.kext/*/Resources/Mac-[board-id].plist and accept that you will see less P-States with MSRDumper.kext. Using the Intel Power Gadget or my AppleIntelCPUPowerManagementInfo.kext will however show every single frequency change.



#11
Simonej

Simonej

    InsanelyMac Protégé

  • Members
  • PipPip
  • 62 posts
  • Gender:Male
  • Location:Venice(Italy)

Sorry Slice, I had Haswell i5 with Clover, Gen P,C states + Drop OEM and it work well (better than SSDTGen i think), but now I have X79 16020v2 i need to use SSDT, with Clover i have states error in my Console.

I'm happy to help if Clover has problem with my setup.

 

Thank you.



#12
K3Rl

K3Rl

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Haswell processors do not use AppleIntelCPUPowerManagement.kext but XCPM – power management via mach_kernel – and thus you are doing it wrong.

 

Make sure to use a SMBIOS setup that supports FrequencyVectors in IOPlatformPluginFamily.kext/*/Resources/Mac-[board-id].plist and accept that you will see less P-States with MSRDumper.kext. Using the Intel Power Gadget or my AppleIntelCPUPowerManagementInfo.kext will however show every single frequency change.

 

Thanks for the answer, Pike!

 

So the speed changes that I had been seeing were all correct - I removed the SSDT and everything works the same - which indeed proves this to be correct.

 

Thanks again and keep up the great work!







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy