mercurysquad Posted October 24, 2008 Share Posted October 24, 2008 Hi friends, I've uploaded v1.4.0 of the IntelEnhancedSpeedStep.kext. You can get it from http://code.google.com/p/xnu-speedstep. The major highlight of this release is that it includes a no-configuration 'just works' auto-throttler. You don't need speedstep GUI for it to work. Just install the kext and you're done. It will do its job in the background, throttling up or down as required. The algorithm used is quite interesting, as it doesn't have any step up/down threshold or timers to configure. The timer is adaptive and the stepping happens directly based on a target load. I'll continue improving the algorithm so it takes into account previous load trends and temperatures too. Some notes: Deactivate any throttling GUI you are using. Put it in manual mode, not auto. If you have made a custom Info.plist, save it, install the new kext, then copy back your custom Info.plist Hope you like this version. Raves go here. Bugs go on google code. (Check sig for link to the page). NOTE: No, AMD Cool'n'quiet is not yet included but I'm working on it. Read the other thread for info on it. Link to comment Share on other sites More sharing options...
mitch_de Posted October 24, 2008 Share Posted October 24, 2008 THANKS! First tests with C2D 4400 OC to 2400MHZ worked perfect! Question: Is it possible that the .kext sets MHZ to highest at kextunload (autotrottle stops but stays at slowest MHZ) time ? Is it possible that (no priority) you include an temp sysctl value which could be later read out by an gui/menüe tool made by someone else ? Q2: little off topic, but do you know if the alingement settings in XCODE (G4 / G5 /NONE, mtune= ) does matter or not because PPC and Intel have some differnet alingements ? Link to comment Share on other sites More sharing options...
nebuluz Posted October 24, 2008 Share Posted October 24, 2008 Works nice with my vanilla install on my Laptop (C2D 1.83ghz) Ive used superhais kext, but to me this seems abit smoother for me right now. Anyway, what i realy want now is a good gui app that can display Mhz and Temp. Are there some other nice app for that around, except coolbook? Link to comment Share on other sites More sharing options...
souto Posted October 25, 2008 Share Posted October 25, 2008 Hi, I don't post much around here, although I have interest in having speedstep for OS X kernel. I gave a try a few minutes ago with the new version and all went fine! I have a Core 2 Duo T5500, three available Pstates (1000, 1333, 1833), and some voltages, although I don't have interest on those right away. The computer in question is a Dell Inspiron 1525, just for the record, vanilla kernel. Do you think having speedstep will set much difference on battery time? It is the main reason why I keep searching for this functionality. Thanks a lot! PS: I would gladly donate in a few days, if you give me a paypal account to do so. (keep it opensource!) Some functionality that might be interesting: - Keeping the CPU at full throttle when plugged to AC (or not as low as the minimum). Link to comment Share on other sites More sharing options...
mitch_de Posted October 25, 2008 Share Posted October 25, 2008 Works nice with my vanilla install on my Laptop (C2D 1.83ghz) Ive used superhais kext, but to me this seems abit smoother for me right now. Anyway, what i realy want now is a good gui app that can display Mhz and Temp. Are there some other nice app for that around, except coolbook? 1. coolbook is NOT an speedstep app - it does not use the speedstep (cpu buildin function) insted uses own softwarecode (much more cpu cycles to do the same thing). 2. superhai has now told us that there are 2 constants which can be added into the .plist to change the throttleing. Look at my post. Now , with lower added settings superhais is also perfect + has the values in the menü (running control app). But i think: if both .kexts (superhai + mercurysquad) are well tested and yozu setup superhais by .plist - you DONT need really an GUI or control app !! Link to comment Share on other sites More sharing options...
mercurysquad Posted October 27, 2008 Author Share Posted October 27, 2008 THANKS!First tests with C2D 4400 OC to 2400MHZ worked perfect! Question: Is it possible that the .kext sets MHZ to highest at kextunload (autotrottle stops but stays at slowest MHZ) time ? Is it possible that (no priority) you include an temp sysctl value which could be later read out by an gui/menüe tool made by someone else ? Q2: little off topic, but do you know if the alingement settings in XCODE (G4 / G5 /NONE, mtune= ) does matter or not because PPC and Intel have some differnet alingements ? 1) Sure, good idea. I'll add that. 2) Not sure what you mean by alignment settings: do you mean the optimization setting? It matters for mostly algorithmic or math-heavy apps. Not so much for this kext. what i realy want now is a good gui app that can display Mhz and Temp. Are there some other nice app for that around, except coolbook? You can use tuxx's SpeedStep.app to see the current MHz (set it to manual mode so it doesnt try to autothrottle). For temp, if you have a dell laptop, you can try I8kfanGUI. Can't say about others. I'll try to add a sysctl key for cpu temp in the next version. Do you think having speedstep will set much difference on battery time? It is the main reason why I keep searching for this functionality. PS: I would gladly donate in a few days, if you give me a paypal account to do so. (keep it opensource!) Some functionality that might be interesting: - Keeping the CPU at full throttle when plugged to AC (or not as low as the minimum). 1) Yes people are reporting at least 30min extra battery backup with speedstep active. For me the bigger benefit is a cooler CPU. 2) Many thanks. Though I'm not asking for donations yet, some people have expressed interest and I think it's rude to refuse my paypal address is the same as the email mentioned when loading the kext (sudo dmesg). 3) Keeping CPU on full throttle on AC is a matter of individual preference. The user is able to switch to a frequency of his choice via GUI and turn auto-throttle off via commandline. I'm working on a prefernce pane or menubar applet to make this even easier. Link to comment Share on other sites More sharing options...
djmastera2000 Posted October 28, 2008 Share Posted October 28, 2008 Wow, long awaited version! Damn good peace of code budd, works till now without issues...just copied to s/l/e, set rights, deleted mkext and rebooted, without configuring anything! Auto-throttling rocks without an app, that's the way life ist lol Keek good coding THX IntelEnhancedSpeedStep: INFO Initializing version 1.4.0 (C) Prashant Vaibhav <mercurysquad@yahoo.com> IntelEnhancedSpeedStep: INFO Using 4 PStates. Link to comment Share on other sites More sharing options...
pimpinmonkey247 Posted November 13, 2008 Share Posted November 13, 2008 Hey i finally got the time to try this and it did stop the fan but my computer is veryyy laggy really slow with sound and all my computer specs are: Sony fs-980 Intel pentium m 1.73 ghz Gma900 1gb ram 80gb hd installed with ideneb 10.5.5 And also i did try voodoo beta 2 but it gave me a kernal panic on the load up Is there anyway to fix the lag thanks! Link to comment Share on other sites More sharing options...
FavleX Posted November 13, 2008 Share Posted November 13, 2008 Just installed on mine DS4 , seems everything is working well.Mus I check anything (dmesg and something console errors..?) Now I'm going to try it on my Wind Msi. Just a question: using for testing the superhai app and kext I need to get the fsb and memorytype at prompt on the wind , with yours can I do it w/out ? Thanks for ur job :-) [Edit] hopes help sysctl hw | grep frequency hw.tbfrequency: 1000000000 hw.cpufrequency_max: 2660000000 hw.cpufrequency_min: 2660000000 hw.cpufrequency: 2660000000 hw.busfrequency_max: 1520000000 hw.busfrequency_min: 1520000000 hw.busfrequency: 1520000000 hw.busfrequency = 1520000000 hw.cpufrequency = 2660000000 hw.tbfrequency = 1000000000 Link to comment Share on other sites More sharing options...
FavleX Posted November 13, 2008 Share Posted November 13, 2008 well..on the msi Wind I got KP few moments later I installed it..maybe I must install it with the system is not running ? Tried with voodoo_beta2c Link to comment Share on other sites More sharing options...
lazetime Posted November 13, 2008 Share Posted November 13, 2008 Working fine on my Pentium M (725A). The temperature really drop down. Thanks for your effort. Link to comment Share on other sites More sharing options...
djmastera2000 Posted November 13, 2008 Share Posted November 13, 2008 well..on the msi Wind I got KP few moments later I installed it..maybe I must install it with the system is not running ?Tried with voodoo_beta2c Look here: http://forum.insanelymac.com/index.php?showtopic=130247 Link to comment Share on other sites More sharing options...
FavleX Posted November 13, 2008 Share Posted November 13, 2008 Look here: http://forum.insanelymac.com/index.php?showtopic=130247 oh..thanks , I've watched the whole thread u pointed me. Than I have understood that we to the point.. The problem seems to be at the moment where we write the new p-state control to the processor. According to Intel docs, this will happen only if the pstate we are writing (frequency and voltage) is invalid. So I'm trying to figure out why it's invalid on an Atom, which should follow the same convention as any other Intel processor with speedstep support. ..I keep trying a bit with it and wait ahead.. Link to comment Share on other sites More sharing options...
dokadoka Posted November 13, 2008 Share Posted November 13, 2008 posting a bug on google page for atom on acer aspire one Link to comment Share on other sites More sharing options...
pimpinmonkey247 Posted November 13, 2008 Share Posted November 13, 2008 Working fine on my Pentium M (725A). The temperature really drop down.Thanks for your effort. How did you get yours working on pentium M im having bad lag but it did cut the fan off just cant take that lag Link to comment Share on other sites More sharing options...
mercurysquad Posted November 14, 2008 Author Share Posted November 14, 2008 How did you get yours working on pentium M im having bad lag but it did cut the fan off just cant take that lag As I said before, you have to use Voodoo kernel to fix this problem on Pentium M. I have the same CPU as you. Link to comment Share on other sites More sharing options...
pimpinmonkey247 Posted November 14, 2008 Share Posted November 14, 2008 As I said before, you have to use Voodoo kernel to fix this problem on Pentium M. I have the same CPU as you. i get a kernal panic while trying the voodoo kernel beta 2 am i spose to use another version Link to comment Share on other sites More sharing options...
mercurysquad Posted November 14, 2008 Author Share Posted November 14, 2008 i get a kernal panic while trying the voodoo kernel beta 2 am i spose to use another version From the PDF included with Voodoo beta 2c : Procedure 1 (Kernel Panic debug procedure) 1. Does the computer reboot instantly after the boot-loader prompt? [_] Yes [_] No 2. If yes, go to step 4. 3. If no, the boot-up should have stopped at some stage with debug information displayed on the screen. Take a photo of this kernel panic screen (as clearly as possible!) and attach it to your report. 4. Reboot using another kernel which works. 5. Double-click the included “System_Information_Collection.command” file. It will create a file on your desktop with a name similar to “yourname@machinename.domain.zip”. Attach it to your report. If you did not get an instant reboot, you can stop here. Otherwise follow Procedure 3 (Bus ratio / TSC) also. Hope that helps. Link to comment Share on other sites More sharing options...
FavleX Posted November 14, 2008 Share Posted November 14, 2008 Hi Mercury dou you think I can try to insert different values in the .plist to get the KP solved , or it's useless in Your opinion ? Link to comment Share on other sites More sharing options...
lordbath Posted November 14, 2008 Share Posted November 14, 2008 ok first of all great job, the kext is working just fine but i have some questions. i have an intel core duo 2, T7100, the app displays 3 different states for my cpu 1800, 1200, 800, though it never goes to 800 even if i force it. do u know why? and second of all, the speedstep app quits/crashes quite often, i mean one minute it's there the other it is gone, how can i fix this?? once again great work keep it up Link to comment Share on other sites More sharing options...
Nick14 Posted November 16, 2008 Share Posted November 16, 2008 you might need to undervolt it to reach 800mhz Link to comment Share on other sites More sharing options...
mercurysquad Posted November 16, 2008 Author Share Posted November 16, 2008 ok first of all great job, the kext is working just fine but i have some questions. i have an intel core duo 2, T7100, the app displays 3 different states for my cpu 1800, 1200, 800, though it never goes to 800 even if i force it. do u know why? and second of all, the speedstep app quits/crashes quite often, i mean one minute it's there the other it is gone, how can i fix this?? once again great work keep it up Speedstep app is not needed anymore since v1.4.0 onwards do auto-throttling. Going below 1 GHz is a bit experimental and I've not tested it properly for FSB more than 133 MHz. Link to comment Share on other sites More sharing options...
NeXT Posted November 19, 2008 Share Posted November 19, 2008 Binary/prebuilt package for Tiger anyone? Link to comment Share on other sites More sharing options...
MacNutty Posted November 19, 2008 Share Posted November 19, 2008 Hi, I am very new to this topic can you please explain what is SpeedStep and Throttle and how does it helps Intel based Hackintosh? Link to comment Share on other sites More sharing options...
mercurysquad Posted November 19, 2008 Author Share Posted November 19, 2008 Binary/prebuilt package for Tiger anyone? No tiger support yet, sorry. Not worth the time but will do for $10 or larger bounty Source is available for anyone who wants to attempt. Hi, I am very new to this topic can you please explain what is SpeedStep and Throttle and how does it helps Intel based Hackintosh? It means changing your cpu's speed and voltage while it is running. Usually it is based on the processor load. Higher load needs higher speed (and thus higher voltage). Sometimes it is also based on temperature, because higher speed means higher temperature, so when temp of cpu goes too high it might be good to put the cpu in a low power state. This type of throttling helps conserve power and keeps the cpu cool. Like pentium M at full speed consumes 27 W, but at lowest speed it consumes only 7W, using 75% less battery power. More info at http://en.wikipedia.org/wiki/SpeedStep Link to comment Share on other sites More sharing options...
Recommended Posts