Jump to content

64bit p-state


  • Please log in to reply
128 replies to this topic

#21
cparm

cparm

    InsanelyMac Legend

  • Retired
  • 997 posts
  • Gender:Male
hi,

i wondered how to set my vmin and vmax

as you can see here vmin=987 and vmax=1100

Posted Image

Posted Image

but accordding to the intel website those value should be vmax=1362.5mv and vmin=850mv

#22
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,880 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Maybe the calulation from the right VID to mV is other than expected.
For my knowledge there are 2 ways to calculate them , depends on cpu type.
Also an reason why for example MSR tool shows other mV than voodoopower , even both use same VID (hex)!

#23
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

THANKS!

But how can i set that PstateLimit High (fastest) to 1 ?
I started the Pstatechanger, PREFS and changed the P-Min (is that same as PstateLimitHigh in screenshoot i have in voodoopower?) but i only hear "DONG", error beep. If i leave the Pstatechanger and run again the vefore added new values are not saved. I clicked APPLY + SAVE but onl heared the DONG sound.
Also no .plist was created in the preferences (home).

I must have that Pstate Limit before i can load the .kext, because without that KP if short Pstate 0.

Can i put that key (which name ?) in the .kext itself as an workaround ?

Here the screenshoot of my voodoopower .plist, which works perfect chaning that Limit from 0 > 1

You hear "DONG" if you set pstate-min (highest) > p-state max (lowest). Did you change only pstate-min from default ?

#24
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,880 posts
  • Gender:Male
  • Location:Stuttgart / Germany
I only want to change PstateLimitHigh (so named in voodoopower .plist, Screenshoot 2 post above) from 0 > 1.
What the key name in the pref i must change ? One was 0 one was -1 by default.

#25
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

I only want to change PstateLimitHigh (so named in voodoopower .plist, Screenshoot 2 post above) from 0 > 1.
What the key name in the pref i must change ? One was 0 one was -1 by default.

Set p-state max to 1 ( default = 0 ) and leave p-state max as is ( default = 4 ? ).

#26
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

as you can see here vmin=987 and vmax=1100
...
but according to the intel website those value should be vmax=1362.5mv and vmin=850mv

As far as I know, Intel Core CPU's voltage is calculated as ( maybe ) :
voltage = 850.0 + VID * 0.0125 ( desktop CPU )
voltage = 712.5 + VID * 0.0125 ( mobile CPU )
and VoodooPower follows those equations.
Though VID-Voltage relationship is defined for VID = 0..0x3F, available max/min VIDs defined by BIOS may differ among CPU/MB, so the range is different from the widest range in spec.

#27
userx

userx

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 124 posts
This works great. Thanks!

Any way of making a Sys Pref Pane for this instead of

using the App, or minimizing it to the menubar?

#28
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

This works great. Thanks!

Any way of making a Sys Pref Pane for this instead of

using the App, or minimizing it to the menubar?

As the app needs to be resident, it is hard to do p-state switching solely by PrefPane.
It is possible in theory by splitting app into daemon / PrefPane ( or converting it into toolbar app ), though it is not an easy programing exercise.

For now, just hide it from Apple Menu.

#29
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,880 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Set p-state max to 1 ( default = 0 ) and leave p-state max as is ( default = 4 ? ).

Thanks will try that later and report.

#30
tdh

tdh

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Working well on the hp mini 2140 thanks!!

#31
Onixs

Onixs

    Since 2007

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
hnak

Is it possible to make this kext a standalone (will work even without launching the app)?

Thanks,

#32
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

hnak

Is it possible to make this kext a standalone (will work even without launching the app)?

Thanks,

Please read my first post --- at least, I could not make it.
If you are comfortable with 32bit, VoodooPower is all that you need.

#33
Brewers

Brewers

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts
Works quite well with my E6600 and Snow Leopard, thanks!

I found out that CPU-X doesn't show the correct CPU frequency when this tool does set the CPU to a lower P-state, e.g. PStateChanger shows 1600Mhz (lowest PState), but CPU-X always shows 2400Mhz (stock freq). This was not the case with VoodooPower and CPU-X under Leopard. Did someone else observe this behaviour?

And, might it somehow be possible to add more PStates with this tool?
And of course... a toolbar app would be _very_ nice!

#34
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

Works quite well with my E6600 and Snow Leopard, thanks!

I found out that CPU-X doesn't show the correct CPU frequency when this tool does set the CPU to a lower P-state, e.g. PStateChanger shows 1600Mhz (lowest PState), but CPU-X always shows 2400Mhz (stock freq). This was not the case with VoodooPower and CPU-X under Leopard. Did someone else observe this behaviour?

And, might it somehow be possible to add more PStates with this tool?
And of course... a toolbar app would be _very_ nice!

It's because VoodooPState.kext does not update CPU frequency variables of kernel. I thought it is not necessary as PStateChanger.app shows the values.

The number of p-state is the same as VoodooPower. You need to tweak the code if you want more.

I looked at a menubar app sample code, but Apple discourages ordinary applications to use the menubar.
1.0.2 shows workloads/pstates in doc icon when it's hidden. Just launch and hide it (command-H).

By the way, I use the same MB (P5B-E Plus) patching AppleYukon2 Info.plist.

#35
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,880 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Would be really nice if you adding that "changing freq for variables of kernel" so that an sysctl -a or any other tool reads out that can see the pstate changes =MHz changes also !
Only MSR read Tools like MSR would be able to readout the real MHz, but for my knowledge no MSR SL is available. And also if i use MSR after some time (minutes) it stalls may whole system.
Thanks for already done great work !!!

#36
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

Would be really nice if you adding that "changing freq for variables of kernel" so that an sysctl -a or any other tool reads out that can see the pstate changes =MHz changes also !
Only MSR read Tools like MSR would be able to readout the real MHz, but for my knowledge no MSR SL is available. And also if i use MSR after some time (minutes) it stalls may whole system.
Thanks for already done great work !!!

I made a build to reflect frequency change and updated 1.0.2 links in the first post.

#37
pug999

pug999

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
when wake form sleep,


sleep will kill "Auto pstate" ,

have to cancel & select "Auto" once

Intel T3200 2.0GHZ (Pentium Dual-Core)
voodoopower 1.2.3 fine
but only 32bit in snowleopoard

#38
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

when wake form sleep,


sleep will kill "Auto pstate" ,

have to cancel & select "Auto" once

Intel T3200 2.0GHZ (Pentium Dual-Core)
voodoopower 1.2.3 fine
but only 32bit in snowleopoard

It seems to be an application side problem. Quit and relaunch works ?
Unfortunately, however, sleep never works on my system, so the the symptom cannot be reproducible here and I cannot fix it.
I wish someone who has sleep-enabled system solve this problem.

#39
pug999

pug999

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Quit and relaunch works ?


Yes,Quit and relaunch is ok..

But, no need.
Just do once ----- cancel & select "Auto"

#40
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

Quit and relaunch works ?


Yes,Quit and relaunch is ok..

So the problem is not in kext but application. It should be easy if my system could sleep...





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