2011년 7월 6일 수요일

Lulzactive Governor

See new Lulzactive Governor v2

http://tegrak2x.blogspot.com/2011/11/lulzactive-governor-v2.html

Lulzactive Governor

Author: Tegrak

Based on "interactive" governor
Inspired by erasmux's "smartass" governor (included in Flykernel)

cpu work load >= 60%
cpu frequency changes from (Lx) to (Lx -1)
up sampling time = 24000us (from smartass governor)
eg )
(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
cpu_load = 60%, current frequency = (L2)800 >> frequency = (L1)1000
cpu_load = 60%, current frequency = (L1)1000 >> frequency = (L0)1200

cpu work load < 60%
cpu frequency keeps the current value or changes from (Lx) to (Lx + 1)
down sampling time = 49000us (from smartass governor)

screen off
cpu frequency is locked at scaling min freqeuncy.
default min freq of Galaxy S II is 200MHz.
you don't need to use "screen off" profile of SetCPU.

debugging
1 = print screen on/off message
2 = print governor start/stop message
4 = print frequency changing
7 = print all above (bitwise or, 1|2|4 = 7, default 1|2 = 3)
echo "7" > /sys/devices/system/cpu/cpufreq/lulzactive/debug_mode
cat /proc/kmsg | busybox grep "lulzactive"

댓글 3개:

  1. This governor is more oriented to battery save or performance?

    답글삭제
  2. @German Kraut / Mainstreamlos
    You're welcome! Thanks :)

    답글삭제