I'm new to the whole governor bit. What is the best program for governor control for the h932?
Related
I have found explanations for most of the governors but would be nice to have a better explanation of the governors in particular the Smartass governor. Any kernel devs want to do a nice writeup explaining these.
Thanks.
the thing with governors is that they typically vary by developers and sometimes even by individual kernels. The concept of smartass is to throttle back when not used and ramp up using more slots to accurately match your speed to your usage. Most devs throw their own tweaks into each governor though, specifically the smartass one most
hope that helps a little bit...
Nice development thread!
This is more of a general question (and probably will rightfully be moved there soon enough)
Here it is though
Performance (never use): Keeps CPU at max all of the time
Powersave (never use):Keeps the CPU at min at all times
Conservative (personally suggested): Keeps CPU at lowest clockspeed possible while trying to perform well
interactive: Generally not used
smartass: works like conservative most of the time but locks the CPU at a low clock speed with screen off (depends on the kernel on exacts)
interactiveX: Seen in a kernel for my TB but NO idea what it does at all
Any I miss?
Userspace. Nobody knows what the hell its for.
Ondemand...lowers clock when not needed, ramps up very quickly when needed.
Interactive is very similar in that manner.
smartass can be configured to act like conservative or ondemand. I have it acting more like ondemand.
Standard Linux governors.
I am running CM7 with the Streamline kernel and have mostly used Conservative or SamrtassV2, but recently I have been trying out Ondemand.
What values are people using with Ondemand (Sampling rate, Up threshold, etc)?
Nobody uses Ondemand?
my phones don't seem to like on-demand with any kernel.... I've had more SOD's trying to use on-demand I finally got tired of screwing with it and went back to conservative, some battles just are not worth the effort you know!
My phone is doing really well with Ondemand and a slight overclock. I've played with the settings a bit, but I'm having a hard time noticing any difference, so I'm wondering what settings others are using/have found to be good.
i been using setcpu for a while now and want to no how to use advanced settings.. just looking to make my phone run better.. thanks
I havent used setCPU for a long time so Im not sure if you mean some advance settings in the app itself?
Are you talking about like adjusting the governor settings? Modifying voltages? adjusting I/O scheduler? Tweaking kernel settings? Tweaking VM settings?
EniGmA1987 said:
I havent used setCPU for a long time so Im not sure if you mean some advance settings in the app itself?
Are you talking about like adjusting the governor settings? Modifying voltages? adjusting I/O scheduler? Tweaking kernel settings? Tweaking VM settings?
Click to expand...
Click to collapse
if u go into advanced it has sampling rate..... up threshold......... ignore nice load....... powersave bias...
I really wouldn't mess with those unless you want to brick your device and fry your processor.
evod3 said:
if u go into advanced it has sampling rate..... up threshold......... ignore nice load....... powersave bias...
Click to expand...
Click to collapse
Ah so governor settings then. None of the actual advanced things
Sampling rate has an impact on battery life and smoothness. Set it to around 15000-20000 for good smoothness on a governor, 50000 or so if you want decent smoothness but better battery.
This is how often it samples the load to the CPU to choose if speed should be ramped up or down.
UpThreshold also has a big effect on smoothness as this tells how much load % is needed on the CPU to increase the speed.
Powersave bias is basically slowing the CPU down a certain number of frequency steps. SO lets say you ahve your CPU set at default max speed of 1188000, a powersave bias of 50 would mean your new max speed is 1134000 which is the next step down.
Governor settings change how your governor reacts. Only some governors can be modified and some to more extent than others. I think Conservative has the most adjustment, but the best sampling rate it cna have is only 200,000. So that makes it kind of useless for any sort of smoothness. If you tweaked conservative to give great smoothness then you would be better off with OnDemand as at the same smoothness OnDemand would give better battery life since it can stay at a slower speed more often as its sampling rate is much better.
sitlet said:
I really wouldn't mess with those unless you want to brick your device and fry your processor.
Click to expand...
Click to collapse
Thats kinda terrible advice. All this is doing is changing governor settings. He didnt say anything about wanting to mess with voltages.
Hi all, now i'm using vr- lulzactive with 100-1200 and stock voltages can somowone teach me what is the best governor and i/o for this rom?
cfq/ondemand are usually paired with siyah kernel
AleDB said:
Hi all, now i'm using vr- lulzactive with 100-1200 and stock voltages can somowone teach me what is the best governor and i/o for this rom?
Click to expand...
Click to collapse
This is difficult to say, as it depends on your hardware, apps, settings, region, carrier and usage ... and what is "best" for you (best performance or best battery life).
So, you may have to check out the available governors and schedulers yourself.
Here is a very good thread about io schedulers and governors => http://forum.xda-developers.com/showthread.php?t=1369817
If you don't read it already and want to know more.
Currently i am still on testing roms and kernel for my perfect daily usage (RN4SD)..when it comes to kernel, it made an ocean of choice in term of choosing governor..so far whats your input on blu_active and impulse? I am using impulse and i notice a greater battery life..i never tested blu active so many years even i have many phones and kernel that offers blu_active governor, i always end up choosing either smartass, impulse or interactive(default option if i had no choice) Impulse and interactive are my number one choice..so i need to hear from you how blu_active reacts on each of your phones..actually im not trying to find the "best" since not every one taste were the same..but i am just trying to fine tune with my daily usage as i dont want to keep on changing kernels and roms every day..it might hurt the battery as well..
Are you using Nougat or Oreo ?
Use interactive governor and change the cpu governor tunables using this thread https://forum.xda-developers.com/redmi-note-4/how-to/tweak-interactive-governor-tunables-t3608118