Results 1 to 10 of 10
  1. #1
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0

    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

  2. The Following User Says Thank You to nadlabak For This Useful Post:

    invd (07-27-2010)

  3. #2
    offline 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?

  4. #3
    offline 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

  5. #4
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    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.

  6. #5
    offline Of Mice and Modders
    Join Date
    Mar 2010
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Downloads
    1
    Uploads
    0
    Quote Originally Posted by invd View Post
    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
    hmmm ... i've made an extra .sh in the the folder and i can't select it in setCPU. what did i do wrong?

  7. #6
    offline 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?

  8. #7
    nadlabak's Avatar
    offline Developer
    Join Date
    Feb 2010
    Location
    Praha
    Posts
    86
    Thanks
    3
    Thanked 79 Times in 34 Posts
    Downloads
    14
    Uploads
    0
    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?
    Code:
    chmod 644 /system/lib/modules/cpufreq_interactive.ko
    Have you set the correct owner for it?
    under recovery:
    Code:
    chown 0.0 /system/lib/modules/cpufreq_interactive.ko
    or under running system:
    Code:
    chown root.root /system/lib/modules/cpufreq_interactive.ko
    Last edited by nadlabak; 07-27-2010 at 05:46 AM.

  9. #8
    offline Of Mice and Modders
    Join Date
    Mar 2010
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Downloads
    1
    Uploads
    0
    Quote Originally Posted by nadlabak View Post
    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?
    Code:
    chmod 644 /system/lib/modules/cpufreq_interactive.ko
    Have you set the correct owner for it?
    under recovery:
    Code:
    chown 0.0 /system/lib/modules/cpufreq_interactive.ko
    or under running system:
    Code:
    chown root.root /system/lib/modules/cpufreq_interactive.ko
    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).

  10. #9
    offline Developer
    Join Date
    Apr 2010
    Posts
    407
    Thanks
    20
    Thanked 236 Times in 59 Posts
    Downloads
    7
    Uploads
    0
    Quote Originally Posted by kniffo80 View Post
    @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).
    the best place right now is in the "ramdisk.tar",
    add the command into the "overclock" script, and its loaded at startup.
    you might need to consider having the module in the ramdisk.tar too, as /system is pretty full :-)

  11. #10
    offline Of Mice and Modders
    Join Date
    Mar 2010
    Posts
    54
    Thanks
    7
    Thanked 1 Time in 1 Post
    Downloads
    1
    Uploads
    0
    Quote Originally Posted by dext3r View Post
    the best place right now is in the "ramdisk.tar",
    add the command into the "overclock" script, and its loaded at startup.
    you might need to consider having the module in the ramdisk.tar too, as /system is pretty full :-)
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •