lulzactive

lulzactive


Needs a custom kernel that has "lulzactive" cpu governor.

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

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

(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
inc_cpu_load=50%, pump_up_step=2
cpu_load = 50%, current frequency = (L2)800 >> frequency = (L0)1200
cpu_load = 50%, current frequency = (L4)200>> frequency = (L2)800

cpu work load < [inc_cpu_load]%
cpu frequency keeps the current value or changes from (Lx) to (Lx + pump_down_step)
down sampling time = 49000us (from smartass governor)
eg )
(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
inc_cpu_load=60%, pump_down_step=1
cpu_load = 59%, current frequency = (L2)800 >> frequency = (L3)500
cpu_load = 23%, current frequency = (L1)1000 >> frequency = (L2)800

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.
eg )
(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
screen_off_min_step=3
(L4)200 ~ (L3)500

screen_off_min_step=1
(L4)200 ~ (L1)1000

Values
Following values are in /sys/devices/system/cpu/cpufreq/lulzactive/

inc_cpu_load: 0~100%, default is 60%
pump_up_step: 0 ~ (frequency_table_size - 2), default is 1
pump_down_step: 0 ~ (frequency_table_size - 2), default is 1
screen_off_min_step: 0 ~ (frequency_table_size - 1), default is (frequency_table_size - 2)
up_sample_time: 10,000 ~ 50,000μs, default is 24,000μs
down_sample_time: 10,000 ~ 100,000μs, default is 49,000μs

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"

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

Recent changes:
[ v1.1 ]
*fixed a displaying pump_down_step bug.
Add to list
Free
93
4.7
User ratings
96
Installs
10,000+
Concerns
0
File size
67 kb
Screenshots
Screenshot of lulzactive Screenshot of lulzactive Screenshot of lulzactive
About lulzactive
Needs a custom kernel that has "lulzactive" cpu governor.

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

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

(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
inc_cpu_load=50%, pump_up_step=2
cpu_load = 50%, current frequency = (L2)800 >> frequency = (L0)1200
cpu_load = 50%, current frequency = (L4)200>> frequency = (L2)800

cpu work load < [inc_cpu_load]%
cpu frequency keeps the current value or changes from (Lx) to (Lx + pump_down_step)
down sampling time = 49000us (from smartass governor)
eg )
(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
inc_cpu_load=60%, pump_down_step=1
cpu_load = 59%, current frequency = (L2)800 >> frequency = (L3)500
cpu_load = 23%, current frequency = (L1)1000 >> frequency = (L2)800

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.
eg )
(L0)1200 - (L1)1000 - (L2)800 - (L3)500 - (L4)200
screen_off_min_step=3
(L4)200 ~ (L3)500

screen_off_min_step=1
(L4)200 ~ (L1)1000

Values
Following values are in /sys/devices/system/cpu/cpufreq/lulzactive/

inc_cpu_load: 0~100%, default is 60%
pump_up_step: 0 ~ (frequency_table_size - 2), default is 1
pump_down_step: 0 ~ (frequency_table_size - 2), default is 1
screen_off_min_step: 0 ~ (frequency_table_size - 1), default is (frequency_table_size - 2)
up_sample_time: 10,000 ~ 50,000μs, default is 24,000μs
down_sample_time: 10,000 ~ 100,000μs, default is 49,000μs

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"

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

Recent changes:
[ v1.1 ]
*fixed a displaying pump_down_step bug.

Android Market Comments
A Google User
Jun 12, 2015
Good App First, I thougt it was a problem when i set on boot isn't working but it is not.. It was my fault because you must install it on internel storage not on sd card, finally its working very fine and there is no prblem anymore... BEST APP!!
A Google User
Nov 1, 2014
Clemente Mejia Guzman
A Google User
Aug 3, 2014
Doesn't work with lulzactiveq And it could...
A Google User
Jan 14, 2014
Excellent but does not persist settings I'm using a Galaxy W w/ CM 10.1 and Hurtsky's kernel REV 2 and the set on boot option isn't working.
A Google User
Jun 11, 2013
good user friendly and comes with basic instructions but a few (and random) times parameters don't stick after reboot. controlling through init.d seems more reliable. on a side note, ezterry kernel is solid stable. request: (tested) prebuilt profiles for performance, battery saving and balanced. it takes hours of experimentation and fine tuning to find the sweet spot. btw in my tablet it shows debug mode 11.
Version 1000000
Version 1000000