Set CPU governor by app start - Motorola Droid and Milestone General

Hi,
is there an app that sets the cpu governor to performance and back when i start an app like gameboid?
Thanks for your help.

Related

[Q] OverClock -Governor- Antutu CPU Master

HELLO AND SALAM SATU MALAYSIA
Since i was newbie about android,
i try to overclock my Xperia X8.
so i went to market and i found Antutu CPU Master.
the problem is i found something that i never heard before.::::::
"GOVERNOR"
could someone told me..what is governor actually...
and what different better the governor module?
i only found about smartass..the other module..i didnt find in xda forum.
i hope someone could help me here..before i accidentally brick my phone.
Cpu governor is control the Cpu freq.
- The OnDemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed.
- The Conservative sets the CPU speed in a similar way to the Ondemand governor, but scales the CPU up much less rapidly. This would theoretically save battery power, but may lead to less responsiveness.
- The Userspace governor is currently useless. It’s another way for applications to set the CPU speed that setCPU does not use.
- The Performance governor always keeps the CPU at the maximum set frequency.
Additionally, he makes reference to another option, which is not currently part of the setCPU app, so I am assuming that this is one that was removed in later versions.
- The Powersave governor always keeps the CPU at the minimum set frequency.
- Except for “Userspace,” no matter which governor you set, the CPU will always stay within the bounds of the maximum and minimum speeds you set in setCPU.
tony-noob said:
Cpu governor is control the Cpu freq.
- The OnDemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed.
- The Conservative sets the CPU speed in a similar way to the Ondemand governor, but scales the CPU up much less rapidly. This would theoretically save battery power, but may lead to less responsiveness.
- The Userspace governor is currently useless. It’s another way for applications to set the CPU speed that setCPU does not use.
- The Performance governor always keeps the CPU at the maximum set frequency.
Additionally, he makes reference to another option, which is not currently part of the setCPU app, so I am assuming that this is one that was removed in later versions.
- The Powersave governor always keeps the CPU at the minimum set frequency.
- Except for “Userspace,” no matter which governor you set, the CPU will always stay within the bounds of the maximum and minimum speeds you set in setCPU.
Click to expand...
Click to collapse
thanks button click =)
btw,what apps u use to overclock.?
and what governor u preferred? and what is ur min n max scale?
naim.kamiya said:
thanks button click =)
btw,what apps u use to overclock.?
and what governor u preferred? and what is ur min n max scale?
Click to expand...
Click to collapse
I'm not using any app. I overclocked in my system (alfs+GDX). My governor is OnDemand. Min 129mhz - max 748 mhz.
tony-noob said:
I'm not using any app. I overclocked in my system (alfs+GDX). My governor is OnDemand. Min 129mhz - max 748 mhz.
Click to expand...
Click to collapse
owh.ok...
thanks again.
im not using GDX,,but..can i install alfs in my phone?
im using Linux Escha Arch v1
naim.kamiya said:
owh.ok...
thanks again.
im not using GDX,,but..can i install alfs in my phone?
im using Linux Escha Arch v1
Click to expand...
Click to collapse
Offcourse you can install alfs but you should unlock your bootloader...
tony-noob said:
Offcourse you can install alfs but you should unlock your bootloader...
Click to expand...
Click to collapse
i already make it,...
thanks a lot.
last question...what version u have?
it is ok to use alfs kernel with different roms,not GDX?
naim.kamiya said:
i already make it,...
thanks a lot.
last question...what version u have?
it is ok to use alfs kernel with different roms,not GDX?
Click to expand...
Click to collapse
I have vesion 5. You can use alfs with other roms but maybe wifi won't work or vibration....
tony-noob said:
I have vesion 5. You can use alfs with other roms but maybe wifi won't work or vibration....
Click to expand...
Click to collapse
i use alf kernel version 3..
so far,i didnt find any bug.
wifi n vib work very well with my linuxperia arch v1 rom.
i use antutu benchmark..i get 1881..
superb ..thanks a lot.
1881 good. Do you like LinuXperia v1 ? Come soon LinuXperia Esca Arch 3 ( overclock, bravia hack, xloud, dsp manager vs )
alessiocerci said:
1881 good. Do you like LinuXperia v1 ? Come soon LinuXperia Esca Arch 3 ( overclock, bravia hack, xloud, dsp manager vs )
Click to expand...
Click to collapse
Cant wait for linuxperia v3
Sent from my E15 using xda premium

[Q]What are governors?

I'm a slightly android noob. but What are Governors i kept hearing about, especially on the AbyssNote kernel thread page.
angelom said:
AbyssNote kernel 3.3 Original Logo
Changelog:
Changed conservative governor
Changed default governor ondemand with sampling rate of 100000. use setcpu or scripts to lower it (or try conservative governor) if you prefer performance over battery life.
Changed lulzactive governor so that it uses idle notifier + some other tiny tweaks
Added Hotplug Governor
Changed Wifi drives...
Click to expand...
Click to collapse
Does it refer to the SetCPU's profile option?
And by the way when we set the profile on SetCPU, does it automatically help us to undervolt the Note? Or undervolting is left to the user to set?
For a guide on govenors take a look at this
Govenors
i dont oc or uv bbut these are normally set by the user, many threads have recommended settings

[Q] Overclock and Underclock App ???

i want a power saving app which can underclock the mobile depending on the standby time or usage and i want to require root only because i dont want to put a custom kernal so anyone have any suggestions ?
no-frills cpu control just search no frills on the play store
this one is by far the simplest one out there. if you just want to overclock and underclock your device this is it. can also change governer and I/O scheduler
XPERIAAplooper said:
no-frills cpu control just search no frills on the play store
this one is by far the simplest one out there. if you just want to overclock and underclock your device this is it. can also change governer and I/O scheduler
Click to expand...
Click to collapse
thank you :good:

[Q] Best CPU Governor and I/O Scheduler for One Power Guard

Hi,
I'm using Co-Core 8.2 and I want to test One Power Guard to improve my battery life.
But I don't have any idea about which CPU governor and I/O scheduler to choose.
Could someone tell me which combination provides the best balance between power-save and performance?
I'm on Jelly Bean 4.1.2
NB. Cocafe recommends PegasusQ as CPU governor and either SIO/ROW for I/O scheduler but I would like to get some feedback from people already using One Power Guard.
Thanks in advance
luisblop said:
Hi,
I'm using Co-Core 8.2 and I want to test One Power Guard to improve my battery life.
But I don't have any idea about which CPU governor and I/O scheduler to choose.
Could someone tell me which combination provides the best balance between power-save and performance?
I'm on Jelly Bean 4.1.2
NB. Cocafe recommends PegasusQ as CPU governor and either SIO/ROW for I/O scheduler but I would like to get some feedback from people already using One Power Guard.
Thanks in advance
Click to expand...
Click to collapse
Pegasus and sioplus
OR
Hotplug and sioplus
DaRkRhiNe said:
Pegasus and sioplus
OR
Hotplug and sioplus
Click to expand...
Click to collapse
Thanks for the answer. I will give a try with Pegasus
However I noticed that sioplus is not available on One Power Guard settings. Only row and sio.
Is sioplus available in Co-core 8.2?
These apps like this just drains your battery. If you want play with CPU, download a CPU controller app. (like SetCPU) and install CoCore 9.0 which is newest version.
When you don't use phone ; 600 MHz Max & HotPlug
When you don't use phone V2 ; 600 MHz Max & Ondemand & deeper sleep status
When you lock phone, don't decrease speed (too much) because it will use whole CPU if it needs ; 800 MHz Max & Ondemand Q/Lulzactive Q/Pegasus Q
When using ; 1000 MHz Max & Ondemand/Interactive/Lulzactive Q/Pegasus Q
When you get mad and crazy about performance, lock the min to max; 1000 MHz min and max & Ondemand & SmartAss (still exists or not I don't know)
If you increase minimum speed it will keep it. So I suggest always keep min to 200MHz. (if exists 0 MHz I don't remember it too)
Edit: and don't go deeper sleep if you use hot plugger governors like Hotplug, Pegasus, Lulzactive Q
FYI
http://forum.xda-developers.com/showthread.php?t=2312491
Powered by CM11
Thanks guys,
I will compare the battery draining with One Power Guard just to give it a try.
If I don't notice any improvement then I will tweak with SetCPU
King ov Hell said:
Edit: and don't go deeper sleep if you use hot plugger governors like Hotplug, Pegasus, Lulzactive Q
Click to expand...
Click to collapse
Hi again,
What exactly do you mean wit "deeper sleep"?
Is that an option or when the display is off after several minutes?
Sorry for my ignorance
luisblop said:
Hi again,
What exactly do you mean wit "deeper sleep"?
Is that an option or when the display is off after several minutes?
Sorry for my ignorance
Click to expand...
Click to collapse
Go to the CoCore's thread you'll see. It's deep sleep level which can increase your battery life when you don't use the device. It's not about using, it's about when it's stand-by.
Ok
After one day even if One Power Guard is a nice app I prefer to switch governor depending on the display status. So I was thinking about using tasker (instead setCPU) which is already running on my phone and this way not adding more background processes.
I set a couple of task using the CPU control from tasker. It is working fine switching governors but I noticed that the frequencies (min and max) don't change. I tried even with shell script and still I don't get to set the max frequency. Then I prefer to make you a couple of questiosn:
-In tasker when using the CPU control. If I change governor. Should it be set in both CPUs (0 and 1) or only in a single one? In my case i set the governor in both.
-I use the terminal to check the current governor and max frequency (for instance for the cpu0)
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor​cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq​
As said above the governor is succesfully changed but that's not the case for the frequency. Then I tried to run a shell script to change the max frequency as follows:
echo #frequency > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq​
But it seems not working neither. So I wonder if I'm doing something wrong.
NB. By the way I'm happy using the governor hotplug while not using my phone (thanks for the advice). In normal use I set pegasusq with sio and seems working great.

How to change governor tunables?

Hello,
I created a profile that set the cpu governor to interactive when I use some apps (browser, games etc...) and set the cpu governor to conservative when I close those apps.
I would like to change some tunables of the conservative governor, because right now the tunables are set to the standard values.
To be more precise, currently, when tasker set the cpu governor to conservative, the tunables are set like this:
down_threshold:20
up_threshold:80
These are the standard values, while I would like to have:
down_threshold:50
up_threshold:95
Is there any way to do this? Maybe with a plugin? Or running shell command?
I don't know, maybe something like this can work (Kernel Adiutor)

Categories

Resources