Hi guys.
I would like to know the differences amongst various governors. I googled a bit and both on the net and XDA I found some explanations, but not all the governors I have are properly explained. Some of them are not explained at all.
Is there anybody able to help me?
I found some info here and here
The governors I have with FM1.5 not explained are:
lazy
lulzactive
lagfree
intellidemand
smartassv2
ondemandx
Ok, some of them like lagfree could be self-explanatory, but I would be grateful if somebody could be more clear...
Thanks as usual to all!!
bump.
no one?
Note to myself: answer this thread when you get home...
Not at home? :-D
Sent from my GT-N7000 using Tapatalk
Diamantes said:
Not at home? :-D
Sent from my GT-N7000 using Tapatalk
Click to expand...
Click to collapse
have you reached home yet? would be glad if you could answer
I was in Prague for a week
Ok, so, to be honest using only Google I found this:
lazy (http://forum.xda-developers.com/showthread.php?t=1276092) - is ondemand but with an added option to stay longer on a certain frequency. This is due to the fact that some CPU's dont like too quick freq changes when sampling rate for decision making is set too low. See link for more.
lulzactive (http://tegrak2x.blogspot.com/2011/11/lulzactive-governor-v2.html) - is basically interactive governor with added smartass bits and variable (as opposed to fixed amout) frequency scaling, based on currently occuring cpu loads. Has, like smartass, a sleep profile built-in. See link for details on exact scaling.
lagfree (http://forum.xda-developers.com/showthread.php?t=1272933) - seems to be ondemand but with a lessend tendency to ramp up to 100% but rather also use steps available in between 0-100%.
intellidemand (freely translated from http://www.android-hilfe.de/root-hacking-modding-fuer-samsung-galaxy-s2/185085-ist-ein-governor.html) - behaves like ondemand when the system is under heavy use, it behaves differently when the system is mostly ideling. That mode is colled "browsing mode" or "browser mode" or whatever. It seems to be some sort of "intelligent" demand sensing/analysing ondemand governor.
smartassV2 - this one should be known. It's the same as smartass(V1) but tweaked. Same code author. I heard one should use smartassV2 instead of smartass when available.
ondemandx - is ondemand with an added sleep profile built-in. I believe all ...X kernels are the default kernels but with an added sleep profile.
Just in case you wonder: I use Savagedzen, I somehow like it best. And I have to get up at 4:20am thats in 2:48h so you may excuse me if I go to bed.
thanks +1
Hope you found the info you were looking for already, if not - take a look at this: http://forum.xda-developers.com/showthread.php?t=1369817
Related
/Discuss
In previous ROMs for other devices I had good experience with smoothass/brazillianwax and savagedzen but ever since I tried MinMax it's the best one for me.
What do you guys think?
(I/O Sched is Simple by far, there's no chance to others like V(R) or BFQ)
ondemand...
Stock user have to use
hectorrent said:
I miss one option: "What's a governor?" xDDDDDDDDD
Click to expand...
Click to collapse
The "governor" is that piece of software that switches the CPU of you phone between the different speeds and voltages, thus it is responsible to some performance issues and the power consumption of the battery.
Or in other words:
The "wrong" governor results in poor battery duration, while another "wrong" governor may result in great battery duration but poor performance. The "best" governor is the one that switches the CPU to exactly that speed that is really needed so the system can run with full performance and best battery duration.
As user of the stock ROM you do not have the choice as the kernel supports exactly one specific governor (named ondemand). If you want to try the differnt governors try the Nova ROM of Noejn: this great ROM allows you to switch between several different governors.
Noejn said:
What do you guys think?
Click to expand...
Click to collapse
I only tried MinMax and ondemand. To make it short: ondemand sucks, MinMax works great for me.
Aves83 said:
I only tried MinMax and ondemand. To make it short: ondemand sucks, MinMax works great for me.
Click to expand...
Click to collapse
Ondemand make lags.. But damn Stock kernel only supports craps..
I'm using emanoN V4 with No-Frills, and since CM7.1 with SetCPU, I always used 'ondemand' as Governor.
But reading other posts on other devices forums about this, some people say SmartassV2 is the best...
So, as each device is different (specially by the ARM version and manufacturer), I decided to begin this conversation here, and listen to what people with the same device as me has to say about it.
So which Governor do you consider the best for SGM?
Im using cm7.2, setting at nofrilis Governor : SavagedZen io : sio and undervolt at cm setting, give more battery life.
Sory for bad english
Squadzone my idols
felipevsw said:
I'm using emanoN V4 with No-Frills, and since CM7.1 with SetCPU, I always used 'ondemand' as Governor.
But reading other posts on other devices forums about this, some people say SmartassV2 is the best...
So, as each device is different (specially by the ARM version and manufacturer), I decided to begin this conversation here, and listen to what people with the same device as me has to say about it.
So which Governor do you consider the best for SGM?
Click to expand...
Click to collapse
sio if u need less laggy n smooth
v-mix said:
sio if u need less laggy n smooth
Click to expand...
Click to collapse
Thanks for the reply, but as I can see on No-Frills, sio is th I/O Scheduler, that is already set. I'm asking here about the Governor.
Ondemand and set noop
Sent from my GT-S5570 using xda premium
on emanonV4 i use Smartassv2 nd i/o noop
I see that people are very divided between ondemand and SmartassV2.
Now with sio and noop as I/O Scheduler.
Anyone else would like to share?
i will say ondemand because cpu will be set at lowest frequency and when you need it it will set at higher frquency which will save your battery and if you want performance then no lag will be good
The principle of the ondemand governor I'd already figured out (and actually didn't like it, very rough).
I would like to hear more about the principle of the SmartassV2, whereas since this morning I'm using SmartassV2 + noop and I noticed my SGM way smoother than with ondemand + sio.
Now is wait and see if the battery is sucked more.
felipevsw said:
The principle of the ondemand governor I'd already figured out (and actually didn't like it, very rough).
I would like to hear more about the principle of the SmartassV2, whereas since this morning I'm using SmartassV2 + noop and I noticed my SGM way smoother than with ondemand + sio.
Now is wait and see if the battery is sucked more.
Click to expand...
Click to collapse
smartassV2 is a re-working of the original smartass governor, it allows for the CPU to scale through all frequencies from the lowest you set to the highest, based on the load occuring. Basically it scales CPU based on realtime needs of the system, saV2 supposedly incorporates some more agressive settings for screen off, and I believe quicker scaling than the original smartass.
dhlalit11 said:
smartassV2 is a re-working of the original smartass governor, it allows for the CPU to scale through all frequencies from the lowest you set to the highest, based on the load occuring. Basically it scales CPU based on realtime needs of the system, saV2 supposedly incorporates some more agressive settings for screen off, and I believe quicker scaling than the original smartass.
Click to expand...
Click to collapse
Thanks a lot, man! And now I think that I had made my choice:
Governor: SmartassV2
I/O Scheduler: noop
Highly recommended!
Hi! I really want interactive or interactivex governor on my phone. I know we can use custom kernel to have that. I cant unlock my bootloader... so.... Is there anyway to install it? I had searched in Google but no luck... HELP!
Sent from my W8 using Tapatalk
Hallo...
Sent from my W8 using Tapatalk
Halllllllooooooo....
Sent from my W8 using Tapatalk
What does interactive n interactivex do?
Sent from my E15i using Tapatalk
I heard it has more performance and stability.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
lucastan96 said:
I heard it has more performance and stability.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
I tried it..
I set the cpu freq to 787
But the antutu benchmark score is really low.... Only about 1100+ =_=
And..
Red light when im going to play dead space
Sent from my E15i using Tapatalk
lucastan96 said:
Hi! I really want interactive or interactivex governor on my phone. I know we can use custom kernel to have that. I cant unlock my bootloader... so.... Is there anyway to install it? I had searched in Google but no luck... HELP!
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
interactive is same as smartass!
---------- Post added at 09:10 AM ---------- Previous post was at 09:04 AM ----------
lucastan96 said:
Hi! I really want interactive or interactivex governor on my phone. I know we can use custom kernel to have that. I cant unlock my bootloader... so.... Is there anyway to install it? I had searched in Google but no luck... HELP!
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
interactive is same as smartass!
Powersave
Constantly runs the processor at its slowest speed. While technically this sounds like it would save power in practise it doesn’t, as it takes so much longer to complete tasks the CPU cannot fall into sleep states where it truly saves power.
Ondemand
Dynamically changes CPU frequency in response to CPU utilization. Probably the best balanced governor to choose as it selects the highest available processor frequency when the processor load rises above a definable threshold (up_threshold). Could create an amount of latency.
Conservative
A more aggressive version of the Ondemand governor that would be a better choice for more demanding tasks, as it’s responds more quickly in meeting increases in CPU demand and keeps the speed rating higher for longer, at the price of battery life.
Userspace
Use the userspace governor if you want to impose a unique power policy that is not provided by other kernel governors or if you want to experiment with directly setting different power policies.
Interactive
This uses an alternative approach to sampling CPU demand at a set rate. It uses a fixed timer that if the CPU is 100% busy when it fires, continues to ramp the CPU speed to the maximum setting. If it’s not the speed is ramped down based on recent measured demand.
SmartAss (v2)
Available with a number of kernels but doesn’t have any official description beyond being an improved variant of the Interactive governor. It’s the one we tend to opt for.
Ok... thanks for helping... edward, you should open a thread you written above in general section.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
lucastan96 said:
Ok... thanks for helping... edward, you should open a thread you written above in general section.
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Click to expand...
Click to collapse
I agree
Sent from my X8i using Tapatalk
What abouth SavagedZen???
drapeti said:
What abouth SavagedZen???
Click to expand...
Click to collapse
Well, the best description you can find is in the changelog of savagedzen's Kernel on Github ...
Brand spanking new SavagedZen CPU Governor !!! Based off of the SMARTASS gov. Brings the smartass goodness plus a few more tweaks.
Click to expand...
Click to collapse
Now take your own pick what this means, or what improvements it may bear.
edward091810 said:
interactive is same as smartass!
---------- Post added at 09:10 AM ---------- Previous post was at 09:04 AM ----------
interactive is same as smartass!
Powersave
Constantly runs the processor at its slowest speed. While technically this sounds like it would save power in practise it doesn’t, as it takes so much longer to complete tasks the CPU cannot fall into sleep states where it truly saves power.
Ondemand
Dynamically changes CPU frequency in response to CPU utilization. Probably the best balanced governor to choose as it selects the highest available processor frequency when the processor load rises above a definable threshold (up_threshold). Could create an amount of latency.
Conservative
A more aggressive version of the Ondemand governor that would be a better choice for more demanding tasks, as it’s responds more quickly in meeting increases in CPU demand and keeps the speed rating higher for longer, at the price of battery life.
Userspace
Use the userspace governor if you want to impose a unique power policy that is not provided by other kernel governors or if you want to experiment with directly setting different power policies.
Interactive
This uses an alternative approach to sampling CPU demand at a set rate. It uses a fixed timer that if the CPU is 100% busy when it fires, continues to ramp the CPU speed to the maximum setting. If it’s not the speed is ramped down based on recent measured demand.
SmartAss (v2)
Available with a number of kernels but doesn’t have any official description beyond being an improved variant of the Interactive governor. It’s the one we tend to opt for.
Click to expand...
Click to collapse
So you dont want to open thread? I will help you open it..
Hit the THANKS button if I helped!!
Sent from my W8 using Tapatalk
Ok guys, this is going to be a long post but I think in the end, it will put a lot of good information to everyone to help them understand kernels a little better. I may not have a machine to be able to develop but I do know quite a bit of stuff lol. Anyway, here's a thread to inform everyone about the different sections of kernels.
First I would like to give some "thanks."
mtmichaelson - for giving us this badass 1.9gHz kernel to play with and for doing soooooo much for development! We are forever in your debt.
droidphile - for teaching me just about everything I know.
*I'm sure there are more people and if I missed you, let me know!*
First, let's start with "governors."
OnDemand:
The default governor in almost all stock kernels. One main goal of the ondemand governor is to switch to max frequency as soon as CPU activity is detected to ensure the responsiveness of the system. Effectively, it uses the CPU busy time as the answer to the "how critical is performance right now" question. So Ondemand jumps to maximum frequency when CPU is busy and decreases the frequency gradually when CPU is less loaded/apporaching idle. Even though many of us consider this a reliable governor, it falls short on battery saving and performance on default settings. One potential reason for ondemand governor being not very power efficient is that the governor decides the next target frequency by instant requirement during sampling interval. The instant requirement can respond quickly to workload change, but it does not usually reflect workload real CPU usage requirement in a longer time and it possibly causes frequent changes between highest and lowest frequency.
Conservative:
A slower Ondemand which scales up slowly to save battery. The conservative governor is based on the ondemand governor. It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization. However, the conservative governor increases and decreases CPU speed more gradually. Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle. Conservative governor aims to dynamically adjust the CPU frequency to current utilization, without jumping to max frequency. The sampling_down_factor value acts as a negative multiplier of sampling_rate to reduce the frequency that the scheduler samples the CPU utilization. For example, if sampling_rate was equal to 20,000 and sampling_down_factor is 2, the governor samples the CPU utilization every 40,000 microseconds.
Smartass2:
Version 2 of the original smartass governor from Erasmux. Another favorite for many people. The governor aims for an "ideal frequency", and ramps up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.
Userspace:
Instead of automatically determining frequencies, it lets the user set the frequencies.
Powersave:
Locks max frequency to min frequency. Can not be used as a screen-on or even screen-off (if scaling min frequency is too low).
Performance:
Sets min frequency as max frequency. Very useful while benchmarking!
Smoothass:
The same as the Smartass “governor” But MUCH more aggressive & across the board this one has a better battery life that is about a third better than stock KERNEL.
Now for the "schedulers."
Noop:
Inserts all the incoming I/O requests to a "First In First Out" queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like a flash drive). Advantage here is that flash drives do not require reordering of multiple I/O requests unlike in normal hard drives.
*Advantages*1. Serves I/O requests with least number of cpu cycles. (Battery friendly?)
2. Best for flash drives since there is no seeking penalty.
3. Good throughput on db systems.
*Disadvantages*1. Reduction in number of cpu cycles used is proportionate to drop in performance.
Deadline:
Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.
*Advantages*1. Nearly a real time scheduler.
2. Excels in reducing latency of any given single I/O.
3. Best scheduler for database access and queries.
4. Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
5. Like noop, a good scheduler for solid state/flash drives.
*Disadvantages*1. When the system is overloaded, the set of processes that may miss deadline is largely unpredictable.
CFQ:
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process.
*Advantages*1. Considered to deliver a better balanced i/o performance.
2. Easiest to tune.
3. Excels on multiprocessor systems.
4. Best database system performance after deadline.
*Disadvantages*1. Some users report that media scanning takes longer to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
2. Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.
SIO:
Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. SIO is a mix between noop & deadline. No reordering or sorting of requests.
*Advantages*1. Simple, very very reliable.
2. Minimized starvation of requests.
*Disadvantages*1. Slow random-read speeds on flash drives, compared to other schedulers.
2. Sequential-read speeds on flash drives also not so good.
============================================================
That's about all I have for now lol. If I can think of anymore stuff to post on here, I'll get it as soon as I get a chance. Thanks for reading!
Reserved for more info!
Thanks!!!
Can you also include information about smoothass?
Missed interactive. Fyi stock gov on this thing. Which is odd and the first time I've ever seen that.
Sent from my Transformer Prime TF201 using xda premium
Haro912 said:
Missed interactive. Fyi stock gov on this thing. Which is odd and the first time I've ever seen that.
Sent from my Transformer Prime TF201 using xda premium
Click to expand...
Click to collapse
Blitzed doesn't have Interactive which is why I left it out. Fyi not the default lol
Sent from my Volted Ice Revo using Tapatalk.
spc_hicks09 said:
Blitzed doesn't have Interactive which is why I left it out. Fyi not the default lol
Sent from my Volted Ice Revo using Tapatalk.
Click to expand...
Click to collapse
By on this thing I was hoping everyone would realize that I was on my Prime at the time. It's the default on there
Haro912 said:
By on this thing I was hoping everyone would realize that I was on my Prime at the time. It's the default on there
Click to expand...
Click to collapse
Oh lol sorry I thought you were talking about the Revo.
Sent from my Volted Ice Revo using Tapatalk.
Thanks for taking the time to explain all of that. I learned a few things.
Sent from my Blitzed supercharged Volted Ice Revo
scyther2333 said:
Thanks!!!
Can you also include information about smoothass?
Click to expand...
Click to collapse
I should be adding stuff about smoothass soon.
Sent from my Volted Ice Revo using Tapatalk.
Excellent thread hicks, thanks for the info!
Sent from my VS910 4G using XDA App
thanks a lot...
don't mean to add more work for you but i think it would be great if you could give an overview of governors and schedulers and how/why they work in android
scyther2333 said:
thanks a lot...
don't mean to add more work for you but i think it would be great if you could give an overview of governors and schedulers and how/why they work in android
Click to expand...
Click to collapse
Lol that's pretty much exactly what this thread is.
I second that
Obsidian_soul said:
Thanks for taking the time to explain all of that. I learned a few things.
Sent from my Blitzed supercharged Volted Ice Revo
Click to expand...
Click to collapse
Thanks from me too... very informative.... and appreciated.
St3vi3
Can we get an explanation of smoothass please? I can't seem to find much with a standard google search, well except for some things I'd rather not mention lol
Thanks hicks
Sent from my VS910 4G using XDA App
OP updated with the "short and sweet" descriptive of "Smoothass."
scyther2333 said:
thanks a lot...
don't mean to add more work for you but i think it would be great if you could give an overview of governors and schedulers and how/why they work in android
Click to expand...
Click to collapse
corypwrs said:
Can we get an explanation of smoothass please? I can't seem to find much with a standard google search, well except for some things I'd rather not mention lol
Thanks hicks
Sent from my VS910 4G using XDA App
Click to expand...
Click to collapse
^ This made me laugh my ass off haha. I just pictured someone sitting at maybe a library or some public computer and innocently trying to find info on the "smoothass" governor hahahahaha!
spc_hicks09 said:
^ This made me laugh my ass off haha. I just pictured someone sitting at maybe a library or some public computer and innocently trying to find info on the "smoothass" governor hahahahaha!
Click to expand...
Click to collapse
I wasn't really thinking about it much until the search results came up. Luckily I was on my laptop at home or else it would've been awkward for me lol
Sent from my VS910 4G using XDA App
Just curious, why does, smartass2 and smoothass only utilize stock cpu speeds?
Sent from LG Revo Gingervolt 2.0, Hack the Planet. Using XDA App
SnoeDogg said:
Just curious, why does, smartass2 and smoothass only utilize stock cpu speeds?
Sent from LG Revo Gingervolt 2.0, Hack the Planet. Using XDA App
Click to expand...
Click to collapse
It doesn't. It uses all speeds that I included.
Sent from my VS910 4G using xda premium
mtmichaelson said:
It doesn't. It uses all speeds that I included.
Sent from my VS910 4G using xda premium
Click to expand...
Click to collapse
+1
Most of the descriptions here are for a stock Gingerbread kernel.
Sent from my Dread Ginger Revo using Tapatalk.
I figured it out. Im using CPU Master and i had to set thru the program and then thru the widget for some reason. Thanks
Sent from LG Revo Gingervolt 2.0, Hack the Planet. Using XDA App
Hey guys,
I know the HTC One has a few cpu governors like msm-dcvs, intellidemand, ondemand etc... and gpu governors like ondemand, simple and interactive... and I know there's a thread that explains each governor, but what are the differences between each governor in relation to the HTC One, and which would you recommend for a nice balance of battery and performance? and what are the limitations of each one? Thanks a bunch!
This is the thread you're talking for...
However, the difference is how the governor work.
And the chose of the governor depends about your use of the phone...
There is still no answer about GPU governors. Aswell as specific settings in every governor which can we set