Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,957 Members 38,504 Now Online
XDA Developers Android and Mobile Development Forum

Learning something about governers

Tip us?
 
dheeraj (dhlalit11)
Old
(Last edited by dheeraj (dhlalit11); 6th October 2012 at 05:02 PM.) Reason: added WHEATLEY
#1  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor - OP
Thanks Meter 1443
Posts: 2,442
Join Date: Sep 2011
Location: fatehabad (hry)
Lightbulb Learning something about governers

What's new:-

added wheatley governor
added hotplug governor
added lionheart
added lionheartx
added Scary governor
added SavagedZen governot



Working of governers

Quote:
WHEATLEY:- this is yet another governor for the users who want to save battery as much as they can

The governor intelligently set the frequencies according the usage of the CPU, if the usage is high then frequency will also be high and when usage is low it will set the low frequency

This governor is made by doing changes in the ondemand governor and can be used in the place of conservative
Quote:
HOTPLUG:- The “hotplug” governor scales CPU frequency based on load, similar to“ondemand”. It scales up to the highest frequency when “up_threshold”is crossed and scales down one frequency at a time when “down_threshold”is crossed. Unlike those governors, target frequencies are determinedby directly accessing the CPUfreq frequency table, instead of takingsome percentage of maximum available frequency.

The key difference in the “hotplug” governor is that it will disableauxillary CPUs when the system is very idle, and enable them again oncethe system becomes busy. This is achieved by averaging load overmultiple sampling periods; if CPUs were online or offlined based on asingle sampling period then thrashing will occur

Sysfs entries exist for “hotplug_in_sampling_periods” and for“hotplug_out_sampling_periods” which determine how many consecutiveperiods get averaged to determine if auxillery CPUs should be onlined orofflined. Defaults are 5 periods and 20 periods respectively.Otherwise the standard sysfs entries you might find for “ondemand” and“conservative” governors are there.
Quote:
LIONHEARTX:- LionheartX is based on Lionheart but has a few changes on the tunables and features a suspend profile based on Smartass governor.
Quote:
LIONHEART:- Lionheart is a conservative-based governor which is based on samsung's update3 source. Tweaks comes from 1) Knzo 2) Morfic. The original idea comes from Netarchy. See here. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
Quote:
SCARY:- This is just a weird governor. It's based on Conservative which has a slower ramping than Ondemand butthen again it has Smartass elements which is a governor with one the fastest rampings.
Quote:
SAVAGED ZEN:- Another Smartass-based kernel with many modifications aiming to attain both better battery and performance.
Quote:
LULZACTIVE:- This new find from Tegrak is based on Interactive & Smartass governors and is one of the favorites. When workload is greater than or equal to 60%, the governor scales up CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step. When screen is off, frequency is locked to global scaling minimum frequency.
Quote:
INTELLIDEMAND:- Intellidemand aka Intelligent Ondemand from Faux is yet another governor that's based on ondemand. Unlike what some usersbelieve, this governor is not the replacement for OC Daemon (Having different governors for sleep and awake). The original intellidemand behaves differently according to GPU usage. When GPUis really busy (gaming, maps, benchmarking, etc) intellidemand behaves like ondemand. When GPU is 'idling' (or moderately busy), intellidemand limits max frequency to a step depending on frequencies available in your device/kernel for saving battery. This is called browsing mode.
Quote:
ONDEMAND X:- governor code from latest linux (3.0 at the moment) source *plus* the suspend/wake logic. No further optimization is done.
Quote:
ONDEMAND:- Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Quote:
INTERACTIVE:- Available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to theondemand governor with an even greater focus on responsiveness.
Quote:
CONSERVATIVE:- Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
Quote:
PERFORMANCE:- Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to thesame value and using ondemand because the system will not waste resources scanning for CPU load.
Quote:
POWERSAVE:- Available in some kernels. It will keep the CPU running at the “min” set value at all times.
Quote:
USERSPACE:- A method for controllingthe CPU speed that isn't currently used by SetCPU. For best results, donot use the userspace governor.
Quote:
SAMRTASS:- Included in some customkernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Quote:
ALWAYS MAX:- The Performance “governor”, called “Always Max” on previous versions of SetCPU, allows your phone to run at maximum speed, ignoring all power saving functions.
Quote:
SMOOTHASS:- The same as the Smartass “governor” But MUCH moreaggressive & across the board this one has a better battery life that is about a third better than stock KERNEL.
Quote:
INTERACTIVEX:- The same thing as interactive but it clocks the cpu downto 300mhz in sleep mode.
Quote:
SMARTASS V2:- 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.
Quote:
BRAZILIANWAX:- Similar to smartassV2. More aggressive ramping, so more performance, less battery.
Quote:
LAG FREE:- This driver is rather similar to the 'ondemand' governor both in its source code and its purpose, the difference is its optimization for better suitability in a battery powered environment. The frequencyis gracefully increased and decreased rather than jumping to 100% when speed is required.
Quote:
MIN/MAX:- stays at minimum speed until more speed is needed then goes straight to highest speed.
APPLY THESE GOVERNERS WISELY
The Following 30 Users Say Thank You to dheeraj (dhlalit11) For This Useful Post: [ Click to Expand ]
 
marKyAn
Old
#2  
Member
Thanks Meter 11
Posts: 91
Join Date: Jan 2009
Location: Sg Besar
where can i get SMARTASS V2?
i use No-frill but don't have it..
The Following User Says Thank You to marKyAn For This Useful Post: [ Click to Expand ]
 
dheeraj (dhlalit11)
Old
#3  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor - OP
Thanks Meter 1443
Posts: 2,442
Join Date: Sep 2011
Location: fatehabad (hry)
Quote:
Originally Posted by marKyAn View Post
where can i get SMARTASS V2?
i use No-frill but don't have it..
developer of the kernel have to add the governor to kernel
 
kitrax59
Old
#4  
kitrax59's Avatar
Senior Member
Thanks Meter 730
Posts: 1,466
Join Date: Dec 2011
Quote:
Originally Posted by marKyAn View Post
where can i get SMARTASS V2?
i use No-frill but don't have it..
It depends on the OC kernel if the developer included it. Are you using a custom ROM? SMARTASS V2 is the default governor of CM7 RC0 by subpsyke. :
 
dheeraj (dhlalit11)
Old
#5  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor - OP
Thanks Meter 1443
Posts: 2,442
Join Date: Sep 2011
Location: fatehabad (hry)
Guys if you need ny info about any governor then please write it here and i will add that
 
kitrax59
Old
#6  
kitrax59's Avatar
Senior Member
Thanks Meter 730
Posts: 1,466
Join Date: Dec 2011
Quote:
Originally Posted by dhlalit11 View Post
Guys if you need ny info about any governor then please write it here and i will add that
Would appreciate if you can add the custom kernel by squad, lilgv2.. and its difference with smartassv2..

Sent from my GT-S5570 using XDA App
Hit THANKS if my post helped..

 

Devices:


Sony Xperia Z1 Compact D5503
ROM: Stock KK .757 LBL / Rooted / Xposed / Deodexed Black UI

Samsung Galaxy Note N7000
ROM: AryaMOD V7


Samsung Galaxy SII I9100
ROM: Wizzedkat ROM


Sony Ericsson Neo V MT11i
ROM: LegacyXperia CM11


[Discontinued]Transparency Support/Soft Buttons for CM7.2 (GT-S5570)

 
Anass Ahmed
Old
#7  
Anass Ahmed's Avatar
Senior Member
Thanks Meter 67
Posts: 256
Join Date: Dec 2011
Location: Giza
Quote:
Originally Posted by kitrax59 View Post
Would appreciate if you can add the custom kernel by squad, lilgv2.. and its difference with smartassv2..

Sent from my GT-S5570 using XDA App
+1

Sent from my GT-S5570 using XDA App
Samsung Galaxy Note II - GT-I7100

Middle East Version (Egypt)

Stock ROM

I'm Python Programmer, Linux User.
 
dheeraj (dhlalit11)
Old
#8  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor - OP
Thanks Meter 1443
Posts: 2,442
Join Date: Sep 2011
Location: fatehabad (hry)
Quote:
Originally Posted by Anass Ahmed View Post
+1

Sent from my GT-S5570 using XDA App
i have seen that many people are looking for the info about lilgv2 but it is device specific and specially created by squadzone for gmini

so i have contacted squadzone for the info but didn't get any reply yet

when i get reply i will add it here so please wait for some time
 
gumball3000
Old
#9  
gumball3000's Avatar
Senior Member
Thanks Meter 86
Posts: 123
Join Date: Jan 2012
Thx a lot, i was always using performance and my battery was draining really fast.

Sent from my GT-S5570L using XDA App
 
dheeraj (dhlalit11)
Old
#10  
dheeraj (dhlalit11)'s Avatar
Recognized Contributor - OP
Thanks Meter 1443
Posts: 2,442
Join Date: Sep 2011
Location: fatehabad (hry)
Quote:
Originally Posted by gumball3000 View Post
Thx a lot, i was always using performance and my battery was draining really fast.

Sent from my GT-S5570L using XDA App
why just saying thanks why not pressing it

Tags
galaxy mini, governer, information, kernel, set cpu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes