[Q] What is the difference between a kernel - governor - and speedtweak - Thunderbolt General

Hello,
I am by no means a developer but have had a few android phones and today started thinking about what the difference is between the following...
A kernel
A Governor
And then how does speedtweak fit into the equation?
Seems like a kernel tells the different hardware in the phone how to work - then the governor is kinda like regulating how the processor works and handles tasks - but the speed tweak really confuses me - is that just kind of a way to regulate how the governor works?
Thanks in advance for your help and for being nice in your reponse.

You are right about what the kernel is doing. The governor only controls how the cpu goes from min to max frequency. A speedtweak changes some of the kernel parameters (most of the time).
Sent from my ADR6400L using Tapatalk 2

Thanks so much man.
Cheers.
Sent from my ADR6400L using xda premium

Related

Kernal voltages?

I'm sorry for the noob question but I really don't understand voltage terms and what's it for and how it work I was wandering if anyone could explain it to me?
In the past I would use set CPU and create a few profiles and would be done with it but I been reading on the forums about setting voltages higher and lower for better performance.
Currently i'm on eagles blood 2.3.5 ROM, trinity t15 (fun) kernel.
Any help would be much appreciated.
Sent from my LG-P999 using XDA App
Don't know what it does don't use it
Sent from my LG-P999 using XDA App
ritthyhang said:
I'm sorry for the noob question but I really don't understand voltage terms and what's it for and how it work I was wandering if anyone could explain it to me?
Click to expand...
Click to collapse
It's to save power and get better battery life. You lower the amount of power the chip gets at various clockspeeds until it starts not working correctly, then back up to a voltage at which the chip is stable at that clockspeed. Some chips can handle lower voltages than others while still working correctly.
Overclocking = get better performance
Undervolting = get better battery life
Both can lead to phone instability if you set the values to extremes.
Thank you for the info
Sent from my LG-P999 using XDA App
lannister80 said:
It's to save power and get better battery life. You lower the amount of power the chip gets at various clockspeeds until it starts not working correctly, then back up to a voltage at which the chip is stable at that clockspeed. Some chips can handle lower voltages than others while still working correctly.
Overclocking = get better performance
Undervolting = get better battery life
Both can lead to phone instability if you set the values to extremes.
Click to expand...
Click to collapse
So lemme ask this how do I undervolt and what voltage is safe to undervolt?
Sent from my LG-P999 using XDA App
ritthyhang said:
So lemme ask this how do I undervolt and what voltage is safe to undervolt?
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
It all depends on the kernel your using and if it supports UV, it should say if it does in the name of the kernel tho(just look for uv ) Setcpu 2.2.4 will allow you to change voltages only if your kernel/rom support it.
you can safely undervolt -50 -75 at most all the way up to 1.0ghz-1.1ghz i wouldn't undervolt past that.
d12unk13astard said:
It all depends on the kernel your using and if it supports UV, it should say if it does in the name of the kernel tho(just look for uv ) Setcpu 2.2.4 will allow you to change voltages only if your kernel/rom support it.
you can safely undervolt -50 -75 at most all the way up to 1.0ghz-1.1ghz i wouldn't undervolt past that.
Click to expand...
Click to collapse
So what your saying is I can use setcpu to change the voltage?I just recently changed kernels I saw that option available but I didn't understand how to use it.under voltages it shows all the GHz underneath it it shows 0.From here what do I do?, do I go too each GHz profile and -50 from all of it?
Sent from my LG-P999 using XDA App

G2x doesn't show OC governor?

I have Dragon kernel v1.5.1 and have tried various other kernels such as Trinity and none are giving me the overclock governor, like powersave and on demand. I find these functions very useful and would like them back on my phone. Any help is appreciated!
Sent from my LG-P999 using XDA App
Tegra doesn't have traditional CPU governors like other chipsets have. That is why they are not available to use, they don't exist for this chipset.
But I've had them before on this same phone on previous installs of Cyanogen...unless I'm crazy. That may be the case here..
Sent from my LG-P999 using XDA App
Depending on the kernel, there may be an option present in setcpu. It wont let you change it though. Those governors are just not available on the Tegra2 (as I've read anyway). Sorry for the bad news.
Sent from my LG-P999 using Tapatalk
i haven't seen any rom/kernel with tegra2 has a custom governor, because tegra2 dont use it at all, the chipset adjusts the frequency itself

Poll: Which governors do you use the most in your kernels?

I decided to start a thread for governors used in your favorite kernels such as eugene373-kernel or ezekeel-kernel OR steve.garon-kernel OR mathkid95-kernel OR netarchy-kernel OR terryhau-kernel OR morfic-kernel ..... I may be missing a couple but I think these are the most used kernels for our Nexus S devices.
The reason for this poll is to help our devs include/exclude governors not being used at all or the least used! And also to establish what is the most used governor giving a hint to our devs to maybe start hacking them to make them even better.
Lulzactive v2. It gives me a nice control over how it works so I can tweak on my needs.
Sent from my Nexus S using XDA App
lulzactive V2
Thanks guys! I just added the options for voting your best governor, if you do not mind please VOTE and also add what IO-scheduler is used as well.
ondemand..
15000 sampling rate, 98 up threshold.
Lulzactive V2 with SIO Scheduler.
This is great!!! Tks for the votes! Let's help our devs with DATA and we help them help us!
BTW, I am using LULZACTIVEV2 - SIO combo as well!
Lazy smartass
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.
I'd like to use lulzactive v2 but it has too many options to configure and I like it simple so I switched to smartass v2 + sio
provolinoo said:
I'd like to use lulzactive v2 but it has too many options to configure and I like it simple so I switched to smartass v2 + sio
Click to expand...
Click to collapse
This is my favorite configuration as well.
lulzactivev2 is up.... yep it has more options, therefore better to test for more battery savings!
I read good things about new governor eugene373 implemented in his kernel called *scary*.... might try this one later when done testing steve.garon's kernel and lulzactive gov.
Interactive is the best for me. I recall a kernel/rom dev stating that he uses solely interactive as well.
I've been on math kids kernels since 5.0 on ginger bread cfs and smart ass v2 btw. I've tried lag free but it makes my music player stutter when the screen is off. My phone likes speedy kernels too so I switch back and forth
Sent from my Nexus S 4G using XDA App
Lazy with Max screen off
Good ol' ondemand for me.
Ondemand here.
Sent from my Nexus S 4G using xda premium
Lulzactive V2 (I REALLY wish it had a better name!) with SIO. Works best with Matr1x, SG-NS-ICS and ICUP on my NS.
Edit: I think I got a little hasty answering this, Ondemand, by far the one I've used most, considering I used to run Oxygen on my Desire and Thalamus' kernels are phenomenal. So Ondemand for me too.
Ondemand for me.
Ondemand and lulzactivev2 winning the race!
I can confirm sio-lulzactive work nicely with Steve.Garon, eugene373, mathkid95. I had more success with Matr1x kernel with this combo my battery last me 30+ hours of heavy use!
Sent from my Nexus S using Tapatalk
Just did a fresh install of latest Peter Alfonso's ROM and speedy 5 kernel.... I'm testing the scary governor along with noop IO scheduler... so far so good!

Overclocking

Hey guys will overclocking drain the battery quicker even with stock voltages?
Sent from my Nexus S using XDA Premium App
Different voltages are specified as stock for different frequencies. As the frequency changes, the voltage does too. Running 1200mhz with the stock 1000mhz voltage will probably cause instability and crashing.
Harrb, great post.
Sent from my Nexus S 4G using XDA App. Developer of brickROM, and OP of XDA Thread of The Year 2011.
And if increase voltage, the power consumption should also increase.
i haven't played with voltages yet but in my experience the benefits of overclocking are minimal anyway, and they make nexus reboot often and other bad things :/
With the right settings you can get a fully stable and functional overclock, but it is on a per-phone basis due to varying quality of the same CPU during manufacture.
Harbb said:
Different voltages are specified as stock for different frequencies. As the frequency changes, the voltage does too. Running 1200mhz with the stock 1000mhz voltage will probably cause instability and crashing.
Click to expand...
Click to collapse
Currently I'm using icup kernel speedy 5 clocked at 1.4 and its been extremely stable. So what your saying is that the voltages automatically increase when I select a higher frequency, because I did not change them manually.
Sent from my Nexus S using XDA Premium App
xmatrix13 said:
Currently I'm using icup kernel speedy 5 clocked at 1.4 and its been extremely stable. So what your saying is that the voltages automatically increase when I select a higher frequency, because I did not change them manually.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Open NSTools and select Voltage tab. That's the list of "stock" voltages for each frequency.
suksit said:
Open NSTools and select Voltage tab. That's the list of "stock" voltages for each frequency.
Click to expand...
Click to collapse
Thanks
Sent from my Nexus S using XDA Premium App
A CPU governor such as on demand, lulzactive and lazy tells the CPU what clock to be at and automatically change. While reading, it will be at 100 or 200mhz, while playing a game it will be at the maximum clock you tell it to. Saves power this way.
your asian said:
i haven't played with voltages yet but in my experience the benefits of overclocking are minimal anyway, and they make nexus reboot often and other bad things :/
Click to expand...
Click to collapse
yes, usually 1 GHz is enough , UV or OC also may reduce hardware's physical life

CPU Governors explained (link)

Stempox did a very nice write-up of CPU governors over in Android General ... I thought some of you might find it useful.
http://forum.xda-developers.com/showthread.php?t=1767797
Bump ... as many are playing with new kernels.
Sent from my SCH-I535 using xda premium
Question what governor for KT747 do you think gives best battery life and performance?
Thank you finally I know what those profiles mean other than the obvious performance mode...
fr8cture said:
Question what governor for KT747 do you think gives best battery life and performance?
Click to expand...
Click to collapse
i have tried every govenor/ io scheduler combination on different kernels and always end up back on deadline/ondemand.
It really depends on your needs and usage.
I am running KT747, 192 - 2106, custom voltage table, SmartassV2/sio -- Synergy.r71.
SmartassV2 can ramp up very quickly to meet demand and also attempts to ramp down quickly when demand lightens. You get a performance bias when you are interacting with the phone and a powersave bias when you are not.
As schedulers go, I figure simpler is better ... sio, all the way.
Sent from my SCH-I535 using xda premium

Categories

Resources