My favorites | Sign in
Project Logo
                
Search
for
Updated Aug 16, 2008 by mercurysquad
Labels: Featured, Phase-QA
TestingTheKext  
Information on how to test the kext

What to test

  1. That you can actually switch CPU speed
  2. Whether your timing is stable (ie. OSX UI/animations should be smooth, not stuttering in audio)
  3. Test whether you can still sleep and then resume - if your sleep/resume worked before

How to test

Most of the testing is done in the command line. There are GUI apps available for regular use, get them from the Downloads page.

To see which frequencies are available:

sysctl kern.cputhrottle_freqs

To switch frequency:

sudo sysctl -w kern.cputhrottle_curfreq=YYYY

(replace YYYY with what you want from the list you got. You can also set a single digit number directly which is the frequency (pstate) number: 0 is highest speed, 1 is next lowest etc.

Similarly for kern.cputhrottle_curvolt. However keep in mind you should not mess with voltages if your processor with factory default voltages performs adequately without overheating.

Getting debug logs and bug reporting

To get debug log messages, first edit the Info.plist file inside the kext and set DebugMessages to <true/>, then unload/reload the kext and type this in Terminal:

sudo dmesg | grep IntelEnhancedSpeedStep

If it doesn't work for you, paste on pastebin the output of the above command, and of

sysctl machdep.cpu && uname -a

then create a new bug report (Issues tab), and attach the URL of the report along with problem description.

To get information about the current freq/voltage and available freq/voltage, type sysctl -a | grep throttle


Comment by compu829, Aug 18, 2008

I just installed, and I am able to throttle my C2D 2.33Ghz Thinkpad T60p. I am also pleased to report that it functions fine with AppleIntelCPUPowerManagement.kext loaded via disabler.kext.

One thing I noticed, was when I ran"sudo sysctl -w kern.cputhrottle_curfreq=1333", it displayed "kern.cputhrottle_curfreq: 2333 -> 1333". When I ran "sudo sysctl -w kern.cputhrottle_curfreq=2333" it displayed "kern.cputhrottle_curfreq: 1333 -> 1333". I then ran "sysctl -a | grep throttle" which reported that all the values have changed appropriately. Great job! I am going to try and figure out how to integrate this into PowerManagement?.bundle and see if I can get some sort of auto-speedstep working!

IF you need any information from me, or would like anything else tested, please feel free to email me at compu829 (at) comcast.net. Keep up the good work!!

Comment by goraya.gagan, Nov 09, 2008

Hi Mercurysquad, Its awesome!!!! I installed the version 1.4.0 on HP Laptop dv6114tx with Intel core duo processor T2050@1.gHz,DDR2 1gb RAM,945M,ich7....works great. Just wanted to know that my FSB is reported wrong :

w.busfrequency = 2132000000 hw.busfrequency_max: 2132000000 hw.busfrequency_min: 2132000000 hw.busfrequency: 2132000000

Will this have any side effects on speed stepping ?

Comment by christopher.j.werner, Oct 10, 2009

Works great on my older T2400 Thinkpad T60 running 10.6.1.

I copied it to extensions and it instantly was recognized and loaded, no rebooting or anything, NICE!


Sign in to add a comment
Hosted by Google Code