[Q] Ondemand governor settings - Vibrant Q&A, Help & Troubleshooting

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.

Related

[Q] Kernel Governors

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.

[Q] CPU Governors

Hi everyone,
Like most people I've been trying to find that optimum balance between performance and battery life in my Aria. I'm running CM7.0.3 and the latest version of drowningchild's kernel. With that kernel I switched setCPU from ondemand to smartass, and I can already see the CPU spending most of it's time in either 400 or 480 MHz, but when playing a graphic intensive game it'll go up to 806 MHz and run great.
But, here's the problem. With things like less graphic intensive games, or playing videos, smartass doesn't want to scale up to a useful clock speed, and things get choppy. I switch back to ondemand and everything smoothes out again. I don't want to keep it in ondemand all the time though, because then it's spending half the time in 806 MHz and eating up battery unnecessarily.
So, is there a better governor option for me? Or maybe a way to "whitelist" apps within setCPU, to designate apps that always get the max clock speed?
tl;dr: smartass isn't that smart in certain situations. Is there a better way?
Check out the app "Tasker" in the market. It will allow you to reconfig the governors automatically based on a slew of complex conditions.
If you want smartass roll back to 7-5 of my kernel and it should be fixed as I tweaked it to jump around less in newer versions
I'm still messing around with the new kernel released & will add smartass very soon & hopefully optimized
drowningchild said:
If you want smartass roll back to 7-5 of my kernel and it should be fixed as I tweaked it to jump around less in newer versions
I'm still messing around with the new kernel released & will add smartass very soon & hopefully optimized
Click to expand...
Click to collapse
Hey yea you're right, I didn't notice you had a new kernel out. I'm running 7-5 still but I'll upgrade once smartass is working in the new version.
I've been using "conservative" setting. Although when it initial opens a resource intensive app, its stutters a little, and then compensates by clocking up. I haven't had an issue where a game didnt want to run smooth (also at 806mhz).
I run on demand at 320/768. This to me seems to be a very good combo. The 320 min makes a noticeable difference in responsiveness without much sacrifice to battery. I've found the Max cpu setting doesn't make too much of a difference in most situations.
Sent from my cm7 Aria.

ROM that doesn't lag or lock up: Suggestions?

Every ROM I've tried on T959 (Vibrant) seems to lag or lock up.
What are the best ROM's that won't lag or lock up my phone?
PuritanHope said:
Every ROM I've tried on T959 (Vibrant) seems to lag or lock up.
What are the best ROM's that won't lag or lock up my phone?
Click to expand...
Click to collapse
O-o that's very odd...which roms have you used exactly? Have you stayed mostly with froyo roms? GB roms or ICS?
Also- what kind of settings do you use? Governors and schedulers? frequencies? Do you OC or UV? Etc. Etc.
Xenoism said:
O-o that's very odd...which roms have you used exactly? Have you stayed mostly with froyo roms? GB roms or ICS?
Also- what kind of settings do you use? Governors and schedulers? frequencies? Do you OC or UV? Etc. Etc.
Click to expand...
Click to collapse
I've stayed mostly with the ICS roms.
No governors/schedulers whatever...nothing else on top of the ROM.
ICZen with sub-Zero's kernel was always my favorite ICS build, but you're going to have to accept some kinks when you're running ROM that's been ported over for a device that had official support stop at 2.2. Just be sure to pick a ROM that has some active development. And despite how good a lot of the ICS ROMs are for the Vibrant I don't know if the hardware is going to give you a completely lag-free experience 100% of the time; especially with multitasking (at least from my experience).
You can try to address the lag by changing your CPU Governor to something like ondemand or scary since those will ramp up the CPU clocks to your max frequency the fastest. Smartass and smartass v2 try to balance performance vs battery and were the usual defaults from when I was testing ICZen, but I always found it better to just go for broke since I'm just looking for a full 18 hours off a charge.
Another thing to try is tinkering with the number of apps the system will keep in memory. Try setting it low (3 or 4) if you're experiencing unusual lag.
PuritanHope said:
I've stayed mostly with the ICS roms.
No governors/schedulers whatever...nothing else on top of the ROM.
Click to expand...
Click to collapse
Well, no matter what...your rom is going to have a certain scheduler and governor set...same with cpu frequencies.
If you haven't changed them at all, then you are running on the default that the rom creator set it to...or if you flashed another kernel on top of the rom, then you are running the kernel creator's default. I'd suggest, the person above me suggested...going with ICzen with subzero or devil...then I would suggest downloading NStools free from the market place and experimenting a little with the governors and schedulers....
some good schedulars are: sio, vr, deadline, or noop
and some good governors are: smartassv2, lulzactive, lagfree (if that's what you're going for)
...personally...to avoid lag and get good battery, I go with a modified conservative governor with a slightly higher max frequency of 1200 normally and 1300 if i'm playing a very taxing game like idk,...dungeon defenders or something.
Now, you'll definitely experience better performance by chancing the governor and max frequency.
For reference go here: http://forum.xda-developers.com/showthread.php?t=1420742
and to see what I meant when I said that I "modified" the conservative governor to fit my needs...
go here: http://forum.xda-developers.com/showthread.php?t=1369817
If you have any question, just ask! But I really think that your lag will go away once you become more familiar with tweaking the settings to run smooth.
If you are really interested in tweaking your phone a bit more than this however...
you can also try running this: http://forum.xda-developers.com/showthread.php?t=991276/
with the free app "script manager" from the market. It's definitely worth it in my opinion.
Good luck!
PuritanHope said:
Every ROM I've tried on T959 (Vibrant) seems to lag or lock up.
What are the best ROM's that won't lag or lock up my phone?
Click to expand...
Click to collapse
i'm running FE's CM10 jb preview. disclaimer: it's still in alpha. everything works for me; gps is so-so.
the kernal i have is devil3 1.0.4test3 found here. the governor is set to smartassv2 with min of 200 and max of 1000.
also, animations in developer options settings are set to 0.

Which CPU Governor

alright. ive been playing around and cant find some good governors for what i want.
for hardcore gaming, what governor have you found that works the best
for best batter saving, but still be able to watch videos, surf web, email and just general navigating without it being too slow.
which governors do you guys use for both of those? thanks
Quadrider10 said:
alright. ive been playing around and cant find some good governors for what i want.
for hardcore gaming, what governor have you found that works the best
for best batter saving, but still be able to watch videos, surf web, email and just general navigating without it being too slow.
which governors do you guys use for both of those? thanks
Click to expand...
Click to collapse
anyone?
Use the smartassV2 governor. It regulates the CPU frequency according to load (sorta like ondemand except it works better).
darkghost568 said:
Use the smartassV2 governor. It regulates the CPU frequency according to load (sorta like ondemand except it works better).
Click to expand...
Click to collapse
i tried and i liked it, but it like locked my cpu at 1.24ghz (thats the max i have it set to) and even if i changed it, it would lock to the max frequency????
Quadrider10 said:
i tried and i liked it, but it like locked my cpu at 1.24ghz (thats the max i have it set to) and even if i changed it, it would lock to the max frequency????
Click to expand...
Click to collapse
I'll have v1 of Funky kernel out soon if you want to try out wheatley.
I've been a fan of smartassV2 since the first time I used it on the Thunderbolt. It is as close to an ideal governor as I've ever used. SmartassV2, with a complete sysfs implementation, can be tweaked very nicely. It is a governor that you can really tune so that most of the time it's not running balls out, but it's not loafing along either, which is how a governor SHOULD function. (I like to see a nice bell curve peaking at an ideal frequency, and spiked way out at the bottom frequencies when I look at a bar chart of my time-in-state's.) From what I can tell, few if any devs tune their governors to their kernels. I'm thinking that's how we ended up with a dozen or so governors that are rather similar, yet rarely ideal.
Snuzzo said:
I'll have v1 of Funky kernel out soon if you want to try out wheatley.
Click to expand...
Click to collapse
Wheatley is epic.
Sent from my Rezound using Tapatalk 2
loonatik78 said:
I've been a fan of smartassV2 since the first time I used it on the Thunderbolt. It is as close to an ideal governor as I've ever used. SmartassV2, with a complete sysfs implementation, can be tweaked very nicely. It is a governor that you can really tune so that most of the time it's not running balls out, but it's not loafing along either, which is how a governor SHOULD function. (I like to see a nice bell curve peaking at an ideal frequency, and spiked way out at the bottom frequencies when I look at a bar chart of my time-in-state's.) From what I can tell, few if any devs tune their governors to their kernels. I'm thinking that's how we ended up with a dozen or so governors that are rather similar, yet rarely ideal.
Click to expand...
Click to collapse
Alright now my problem is that I set my CPU to 192mhz lowest and 1.24 max. And that's for normal use. I'm running smart ass2 Nd it's not licking my CPU at max anymore, but it keeps.moving the max to 1.51ghz.
any ideas on how to fix tht?
Quadrider10 said:
any ideas on how to fix tht?
Click to expand...
Click to collapse
No frills CPU in play store
Sent from my ADR6425LVW using Tapatalk 2
Quadrider10 said:
Alright now my problem is that I set my CPU to 192mhz lowest and 1.24 max. And that's for normal use. I'm running smart ass2 Nd it's not licking my CPU at max anymore, but it keeps.moving the max to 1.51ghz.
Click to expand...
Click to collapse
Quadrider10 said:
any ideas on how to fix tht?
Click to expand...
Click to collapse
Yeah. Don't use DSB's kernel. I spent DAYS trying to figure out what his kernel is trying to do as far as governors. I'm not going to talk smack about the guy's work, but I will tell you what I know.
I doesn't appear any of the governors have been tweaked for his kernel. It looks like code was just tossed in there and left however someone else wrote it. For instance, smartassV2 has a sleep_wakup_freq of .998GHz, which is much slower than it should be. It SHOULD be near or equal to scaling_max_freq. Likewise, the max_cpu_load (which determines when the cpu should scale up) is 70, a fairly aggressive number, while the awake_ideal_freq and sleep_ideal_freq are pointlessly high. If I had to guess, these look like parameters for a Snapdragon S1 SoC, not the dual core S3 the Rezound has. No matter what governor you choose, it's only active on "cpu0". "cpu1" runs ondemand no matter what. The reason you have trouble making settings for the governor stick is because the sysfs location disappears and reappears for no obvious reason. It appears when things pop in and out (presumably when cpu1 goes on and off line), things are reset.
Cold hard reality is this: You're NEVER going to optimize any kernel out there to it's fullest potential. Either the options aren't there to tweak, or they behave in inexplicable ways. I can't tell you why DSB's kernel (not to single out a dev or his work, but I'm certain that's the kernel you're talking about) does what it does, but it's so far divorced from optimized on such basic levels you're better off not wasting your time.
As an aside:
After getting a rough feel for what some of these kernels are doing, I'm not at all surprised some kernels have had significant heat and battery drain issues. There are things that simply do not work right or work consistently. The devs shouldn't be blamed for this. These are probably the issues they're trying to work around that they inherited from the sources they're starting from and what makes tweaking them so difficult.
I acutely got everything to work. I'm just trying to overclock the GPU.

Whats the best kernel governor that you have use for battery life?

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

Categories

Resources