Thread: CPUfreq interactive governor
- 07-26-2010, 06:46 AM #1
CPUfreq interactive governor
If you want to try the new interactive governor, (readme) on Milestone, you can find the adapted version for the Milestone 2.6.29 kernel (binary + source) here:
Interactive governor | android.doshaska.net
-
The Following User Says Thank You to nadlabak For This Useful Post:
invd (07-27-2010)
- 07-27-2010, 03:08 AM #2
Developer
- Join Date
- Apr 2010
- Posts
- 407
- Thanks
- 20
- Thanked 236 Times in 59 Posts
- Downloads
- 7
- Uploads
- 0
i've tested this, and changes aren't noticable?
anyway i can see something physically change or? is it purely cpu related, so if im on 1000Mhz i dont notice much?
- 07-27-2010, 04:06 AM #3
Itty Bitty Modder
- Join Date
- May 2010
- Posts
- 6
- Thanks
- 8
- Thanked 0 Times in 0 Posts
- Downloads
- 2
- Uploads
- 0
works, thanks!
for anybody who wants to try: if u use overclocking and setcpu u must change "Scaling" in SetCPU to "interactive" because otherwise SetCPU overwrites the "echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
BTW: insmod can be included in "71_overclocking.sh", works great
- 07-27-2010, 04:34 AM #4
dext3r: the governor controls the switching between available CPU frequencies. The goal of a governor is to provide an optimal balance between the available CPU power and the battery life by clocking the CPU at higher frequencies only when it is actually needed. Usually, when it detects higher CPU load, it switches to higher frequency, when the CPU load drops, it switches to lower freq. Different governors use different switching strategies and different load sensing. The new interactive governor reacts faster than the default ondemand, making the responsiveness of the phone to UI actions even quicker. You can easily switch and compare the governors by SetCPU. The reactions of the conservative governor are the slowest, ondemand is faster, interactive is the fastest.
Last edited by nadlabak; 07-27-2010 at 04:49 AM.
- 07-27-2010, 05:20 AM #5
Of Mice and Modders
- Join Date
- Mar 2010
- Posts
- 54
- Thanks
- 7
- Thanked 1 Time in 1 Post
- Downloads
- 1
- Uploads
- 0
- 07-27-2010, 05:25 AM #6
Itty Bitty Modder
- Join Date
- May 2010
- Posts
- 6
- Thanks
- 8
- Thanked 0 Times in 0 Posts
- Downloads
- 2
- Uploads
- 0
can u post your script?
- 07-27-2010, 05:43 AM #7
What's in your script?
Has your script the correct permissions (755)?
Have you copied the cpufreq_interactive.ko to /system/lib/modules?
Have you set the correct permissions for it?Have you set the correct owner for it?Code:chmod 644 /system/lib/modules/cpufreq_interactive.ko
under recovery:
or under running system:Code:chown 0.0 /system/lib/modules/cpufreq_interactive.ko
Code:chown root.root /system/lib/modules/cpufreq_interactive.ko
Last edited by nadlabak; 07-27-2010 at 05:46 AM.
- 07-27-2010, 05:48 AM #8
Of Mice and Modders
- Join Date
- Mar 2010
- Posts
- 54
- Thanks
- 7
- Thanked 1 Time in 1 Post
- Downloads
- 1
- Uploads
- 0
hi nadlabak, sorry for early post. perhaps i should have had a deeper look at the things missing

it's running now fine. owner needs not to be changed
i simply forgot to copy the kernel module to the correct place. now, i can select it in SetCPU. I will let it run a few days and then i'll report back, if it's working fine!
@dexter: maybe, you may teach me how to insmod this module with the froyo "frankenstein" port
this will be fine. where do i have to add the lines? in mot_boot_mode at /system/ or in the root directory (as i know, these files are overwritten by ramdisk).
- 07-27-2010, 07:08 AM #9
Developer
- Join Date
- Apr 2010
- Posts
- 407
- Thanks
- 20
- Thanked 236 Times in 59 Posts
- Downloads
- 7
- Uploads
- 0
- 07-27-2010, 07:16 AM #10
Of Mice and Modders
- Join Date
- Mar 2010
- Posts
- 54
- Thanks
- 7
- Thanked 1 Time in 1 Post
- Downloads
- 1
- Uploads
- 0
perhaps you might consider to call a "modding.sh" script from a point in the ramdisk where are modifications may start? something like:
/system/bin/modding.sh
And check before, if this file exists? From there, everyone may start with modding (such as adding the new governor).
I'm not familar with ramdisk. Extracting it and repackage it with WinRaR ist not possible i think?


LinkBack URL
About LinkBacks
Reply With Quote
