yashsingh1/xdaforums huggingface dataset:
[General Topics] V4LKyR:
I know they're located in github. But the thing is, I'm a fresh developer yet and I don't know how to use github perfectly, so finding them is kinda hard for me. Also, I think people would want to be able to download most of the CPU governors from a fixed location. So, don't just tell me to go on github and look around. I know that already.
[General Topics] neonkat:
so you know what files you need to edit to make a governer work?what extra stuffs you need to add/modify in your source?(makefile,defconfig,kconfig,etc)

some cpu governers need modification on source side too(elementalx).only adding the governer.c and governer.h will not add the governer to kernel.

well,github will only help you here.

and its not difficult to search the commit.just use the search option,find your governer.c and look for the commit which adds in the governer.;)

or maybe tell me the governer name,i can forward you to the commits of my kernel.:p
[General Topics] V4LKyR:
I understand brother, so could you at least link a few famous and commonly used cpu governors' githubs? Well, I've succeeded adding "zzmoove" governor to my kernel and it works, I think. I've made it the default CPU governor. I also want to add GPU governors and I/O schedulers and stuff.

Anyway, like I said, I think it would be just amazing to add a link to all these beautifully explained governors', and then this topic would be The Most Ultimate Source of All Kinds of Android Governors EVER In The World"
[General Topics] neonkat:
yup i understand that but this guide is already full.i think op should request mods to give him a few more posts on page #1 or maybe make a new thread?;)

tell me the names,i have some popular governers in my kernel(yankactive,yankdemand,elementalx,zzmove,bluactive,intelli....).:p
[General Topics] V4LKyR:
Thank you, but this is a whole different subject. What I'm talking about is to make all these governors in the OP reachable.

Can you PM me if you have Skype? I can ask you questions better on there.
[General Topics] Saber:
Done.

I have requested mods to give me more space so I can post more info. ;)

gsstudios

Edit: Many thanks to [MENTION=4153349]Heisenberg[/MENTION] for responding to my request :)
[General Topics] Saber:
OP updated

Here are todays changes:

30/05/16:
- Initial reorganization of content - Tuning guides have been separated and will soon include examples of profiles
- I/O scheduler tuning guide is back!
- Initial guide for TCP algorithms
- More to come soon ;)

gsstudios
[General Topics] Mrcactuseater:
In that "more to come" part, could we see information on Toolchains?

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] dsjiffry:
Dude I have a small problem between interactive and intelliactive governors.

Intelliactive is the newer one right? And ignores hotplugging so does this mean better or worse battery savings on normal use??

Also what would you recommend between the two for a person who does only 1 or ½ hour of gaming per day. But does more light stuff like video watching (not streaming) and whatsapp during other hours???? (Also some web browsing now and then)

I read your recommended governors and in the balanced section you have rated both of these as "great". I don't have any of the governors which you have rated as "best" so I would like your opinion on this.
[General Topics] Saber:
That would be for a different thread :)

gsstudios
[General Topics] Saber:
Intelliactive would have slightly less battery life, but the smoothness gains and performance gains make it seem insignificant. For a gamer, intelliactive would be the better choice. If you don't like it, try playing around with interactive.

gsstudios
[General Topics] dsjiffry:
Thank you.

Also one more thing it says that intelliactive avoids hotplugging.

Is the hotplugging it has inbuilt better than mpdecision?????
[General Topics] Saber:
Intelliactive is a governor and can be used with mpdecision. It should be use with intelliplug for optimal battery life and performance (if possible). In other words, it doesn't do any form of hotplugging, but it works in-sync with hotplug methods.
[General Topics] Saber:
OP updated

As per user request, I have added some info about cpuquiet (in the hotplug section).

gsstudios
[General Topics] ramrastus:
Can you pls add intelliplug hotplug battery profile settings?
[General Topics] Saber:
No wrys. I will have a look when I have time. Right now I am too consumed on exam studies ;)

gsstudios
[General Topics] ramrastus:
Its okie..Thank you mate!! Don't forget :) I really miss intelliplug hotplug settings :(
[General Topics] dsjiffry:
[MENTION=2483636]Ggs[/MENTION]tudios

I was tweaking the interactive governor and could you tell me how to make a soft cap on processor scaling.

Before going to the max. Frequency I would like the processor to cap at 1.7GHz for about 3 seconds.
[General Topics] nexus_vl:
3 seconds is much to long 0.3 sounds better

Try something lile this: above_highspeed_delay "20000 1766400:60000"

target_loads: "80 1766400:99"

It will definitely keep speeds much longer under 1,7MHz
[General Topics] Mrcactuseater:
[MENTION=5811506]gsstudios[/MENTION] could you provide a description for ThunderX? Governor 100!?

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] Saber:
Done

We've officially reached 100 CPU governors ;)

gsstudios
[General Topics] cL0uD`:
Can anybody explain zen hotplug?

My understanding is that it's supposed to unplug 2 cores when screen is off or when battery is below 15%, is it correct?

I have it set to 15% and 3000 ms, which is 3 seconds and I tried turning off the screen, but all 4 cores remain active according to kernel adiutor. What am I doing wrong?
[General Topics] myrums:
[MENTION=5811506]gsstudios[/MENTION] any chance you can do a review of fast hotplug? Info in second post http://xdaforums.com/xperia-z2/orig-development/kernel-abricot-kernel-v3-t2965480
[General Topics] Saber:
I will have a look when I have time. Sorry guys, been busy lately.

gsstudios
[General Topics] myrums:
Take your time. You have already done massive work here.:good:
[General Topics] Mrcactuseater:
[MENTION=5811506]gsstudios[/MENTION] when you have more free, could you possibly do some digging on the TCP algorithm CDG? I'm having some problems understanding it in comparison to Westwood.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] Saber:
Yep, I will look into this later.

gsstudios

Edit: If you are not sure between the two, I would recommend westwood as it is my favorite algorithm and is the default for many custom kernels.
[General Topics] Mrcactuseater:
I recently switched to Westwood from CDG, it's early days but I'll see if there's any changes.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] neonkat:
[MENTION=5811506]gsstudios[/MENTION]

have a look here.seems like 100% copy of this place.

idk if you allowed or not,but i found it there with no credits so jist reminded.
[General Topics] tet-bundy:
i agree! 3 seconds is like eternity for ur cpu[emoji28]

Gesendet von meinem ONE E1003 mit Tapatalk
[General Topics] -Zork-:
Testing on S7edge

A53 Alucard

A57 Smartmax

Working battery life
[General Topics] guido28:
Just got a 28148 with An Tu Tu benchmark...WOW...this is a 4 year old tab!!!
[General Topics] olibub:
hi i dont understand what i have set when i want tune a governor or scheduler :/ mainly i want tune interactive and noop but i dont know what i have do from your post ... can you give me a guide ??
[General Topics] tet-bundy:
http://xdaforums.com/showthread.php?t=3269557

Gesendet von meinem ONE E1003 mit Tapatalk
[General Topics] PiggyFlooper:
The noop IO scheduler is not tunable. I have thrown together a zip with 4 different profiles- battery, smooth, performance, and gaming... just go into terminal and type in profile name. It's all automated.

Here's the link:

https://db.tt/MgeZjD3v

Enjoy

Feel free to edit for your device
[General Topics] mchapa489:
Does anybody know how to reset interactive governor kernel values
[General Topics] krasCGQ:
Just reset your Kernel Tuning app's data and do a reboot.
[General Topics] mchapa489:
Thank you I thought it might be that simple but didn't wanna do anything hasty lol
[General Topics] olibub:
ok i try :) and i have to flash zip ?? and after type name ?
[General Topics] PiggyFlooper:
Yes type in name of profile in terminal emulator. You'll find them in /system/bin.

Change the max frequency values according to your device.
[General Topics] Saber:
OP updated

Here are today's changes:

23/03/16:
- Updated recommended CPU governors, removed rating system, combined single-core and multi-core recommended governors into general lists
- Updated recommended I/O schedulers, a few cosmetic fixes
- Simplified CDG TCP algorithm description
- Added Fast hotplug description

gsstudios
[General Topics] Saber:
The thing with CDG is that it is still a new TCP algorithm. Although the benefits of using CDG looks promising, it hasn't been tested thoroughly enough unlike algorithms like Westwood and Cubic. After all, it was only implemented into the linux kernel (not on default branch) last year ;)

gsstudios
[General Topics] Fulmega:
Thank you for this post.

Let's see if I learn something more about its operation
[General Topics] olibub:
so i try but i dont see any change :) .. for me gaming withou effect, smooth too :) etc. :/
[General Topics] mchapa489:
And what about if the values were put in by a script?
[General Topics] neonkat:
wipe app data.

after reboot,it will take the values of the script.
[General Topics] mchapa489:
From the kernel tuning app?

---------- Post added at 08:58 AM ---------- Previous post was at 08:55 AM ----------

From the kernel tuning app?
[General Topics] neonkat:
nope.

are you talking about a script made by you or by the kernel developer whom kernel you jse?

if made by the developer,then it is set to run automatically at every reboot.
[General Topics] mchapa489:
Its actually a script I had to put in through terminal. Not by developer
[General Topics] ithehappy:
Guys I have long thought about asking this, but never could find the time. Out of all the governors listed, I have tried almost all of them, but only two or three I have found suited to my needs, like Bluactive, Precognition and Intelliactive. Now the first two governors I have used, and I really liked, because they made the phone's UI to perform much more smoothly than default Interactive, while playing games frames were very consistent, very minimal dropped frames, and even other than gaming the overall system performance (scrolling, swiping on keyboard etc.) was really fluid, very minimal jittery. And the battery life didn't take much of a hit either! I mean maybe max of 10% if not less! But the default Interactive performs so much worse in comparison to that! Now I don't understand why people prefer it over governors like Bluactive, Precog etc! Also I have seen kernels of different phones, and try to find whether that governor is included or not, but in most cases I don't see them listed! These governors I like so much that I actually try to find a phone which will support a governor such as them with the help of a custom kernel.

Could someone shed some more light on this?
[General Topics] krasCGQ:
One reason: Because interactive is much approved by Google (the creator) and manufacturers, and it's has been tested well for stability.
[General Topics] DB126:
In addition:

- kernel cannot be replaced on many devices limiting choice of governors; of those interactive is often the best option

- intelligent tuning can usually yield significant improvements over stock config which is often all that is needed
[General Topics] Saber:
I will give some simple points on this:

- Interactive is stable, has been tested on many different devices

- Is found in many kernels, sometimes the default governor or recommended choice of kernel developers

- Is thought to be a well balanced governor (not necessarily the best)

- Depending on what device/SOC you have, interactive may or may not perform well

- There are many guides on how to tune it, therefore it is quite easy to get the desired scaling behavior

gsstudios ;)
[General Topics] OdinTech:
Where can one find these guides? Are they in the OP
[General Topics] ithehappy:
Precisely what I wanted to ask, thanks for beating me to it.
[General Topics] DB126:
http://bfy.tw/6WKE
[General Topics] ithehappy:
Thank you sir. But aren't these settings limited to those two phones only, 5X and 6P, or is it for all devices?
[General Topics] DB126:
The guides outline the various tunables (not all are available in every kernel) and sometimes make generic recommendations. If you are looking for a Rx specific to your device then you probably shouldn't be messing with governor tweaks. There is no pre-defined configuration that works for everyone; understanding what the knobs do is the key a satisfactory outcome (along with a way to objectively measure the impact of each change). The guides can help but you'll need to set aside some eyeball time for reading/assimilation.
[General Topics] SyCoREAPER:
The one section that doesn't seem to be up to date (at least with options I have?) is the GPU section. What the hell do all these do? I can't seem to find much on them like I can the CPU Govs

I have:

spdm_bw_hyp

bw_hwmon

bw_vbif

gpubw_mon

msm-adreno-tz (stock option)

cpufreq

userspace

powersave <--Self Explanitory

performance <--Self Explanitory

simple_ondemand
[General Topics] Haldi4803:
Most of them aren't even working gpu Governors ^^
[General Topics] Saber:
I've never heard of some of them. I'll probably just get more detailed descriptions on the common governors instead.
[General Topics] SyCoREAPER:
I sent you a PM regarding a post of yours
[General Topics] Predatorhaze:
cpu scheduler ok,sot are great.But when playing games (high end) the battery going quick.How i schedule the gpu for battery saving? i have some govs for the gpu like syco mentioned but what do they?
[General Topics] tet-bundy:
read it and have ur question answered its emphasized so u should not miss it the 2nd time..

Gesendet von meinem ONE E1003 mit Tapatalk

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

how would u save fuel driving full throttle?

Gesendet von meinem ONE E1003 mit Tapatalk
[General Topics] PlayersHeaders:
thanks!
[General Topics] quantan:
[MENTION=5811506]gsstudios[/MENTION] Would you please give some suggestions of smartwatch kernel? The kernel I'm using has interactive, darkness, intelliactive, interactiveX, thunderX, pegasusq, smartmax, conservative, ondemand, userspace, powesave and performance. What I only care is battery life. Thank you so much!
[General Topics] dsjiffry:
[MENTION=5811506]gsstudios[/MENTION]

Where can I learn more about how to tweak the intelliactive parameters. There don't seem to be many threads on this topic.
[General Topics] Saber:
You may find that a lot of the intelliactive parameters are the same as interactive governor parameters. You should be able to follow the interactive tuning guides.

Edit: Have a look at interactive qualcomm version of my tuning descriptions. They are the same :)

gsstudios
[General Topics] Saber:
I don't have a smartwatch so I am not familiar with the behaviors of certain governors. However, since they have low powered SOCs, I would assume interactive or ondemand would work best. Smartmax might also work fine.

PegasusQ is an old governor, so it's best to not use it. Userspace, performance, conservative should be avoided.

As for the rest, that's up to how you think it performs :)

gsstudios
[General Topics] dsjiffry:
K. I'll check it out. Thank you.

What about the 2 phase scheduling parameter could be you explain how it works maybe with an example.

:confused:
[General Topics] Saber:
Maybe this will help you:

http://xdaforums.com/showpost.php?p=64706879&postcount=1153

gsstudios
[General Topics] ramrastus:
[MENTION=5811506]gsstudios[/MENTION] can you please tell me the best interactive governor settings for 1gp ram device (400 snapdragon chipset) ?
[General Topics] tmihai20:
[MENTION=5320856]ramrastus[/MENTION]: it is impossible for him to know something like that. Read the first posts, he mentions there what are the recommended governors for Qualcomm chipsets.
[General Topics] tet-bundy:
ur interests are "hacking" but u dunno how to properly tune ur cpu governor?

Gesendet von meinem ONE E1003 mit Tapatalk
[General Topics] dsjiffry:
Read through this and ask them for tips.

http://xdaforums.com/moto-g-2014/general/settings-tweaks-forperformance-battery-t3310682
[General Topics] MustangLife03:
To go along with the replies above. There are over 100 "titled" governors and each has a specific type of "tune" to it. Some use stock settings except for a few, some use a lot more adjustments. Governors are more like profiles if you will. We all have the variables but each governor somewhat changes those to their liking. To kinda explain more. I have my phone stock right now and I make some changes to the governor settings, whatever reasoning, etc. I do some testing and make some new changes. I than see my profile is different than anyone elses. I technically created my own governor. To tweak a certain gov. you need to just read what the purpose description is and than see what each tunable does. Aside from what we already have listed everything else is just preference, type of use. I always tweak my own settings after the fact. How each governor is tuned and that persons needs are all different from one another. All the info you need is in this thread. Everything else is up to you.
[General Topics] smartymcfly:
In AK-EAS kernel for Angler nexus6p EAS is energy aware scheduling, it has the "sched" governor. It is not in the standard aK kernel so I believe it is just for Kernels with EAS .

The only tunable setting is "throttle_ns".

https://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-project/

If you find any information, please add it to OP. :)thank you
[General Topics] Saber:
OP updated

Here is today's change:

13/07/16:
- Added sched-DVFS governor description

gsstudios
[General Topics] OffDatGoGo:
This thread is bananas! Thank you so much for all your time, energy & knowledge put into this.
[General Topics] Saber:
OP Updated

Here are today's changes:

14/07/16:
- Added Intel, Frankenstein and Cyan governor descriptions

On first inspection, it looks like there are more governors out there specifically for Intel SOCs.

gsstudios

Edit: I have also added TheSSJactive description.
[General Topics] krasCGQ:
Hmm...

Cyan governor is actually made for exynos5410 and it was introduced first in a TW kernel for i9500 before the kernel thread being closed down due to GPL violation.

I tried to include it on my i9500 kernel but it impacted the boot time (needed more than a minute after splash screen to reach the boot animation).

While TheSSJactive has a bug where it couldn't be set on boot as it would cause system freezes.
[General Topics] ephexxis:
neither of those bugs exist now.

source: z00a running OCTDex kernel and previously VenoM.

also can confirm Intel is The dankness with powerclamp drivers and especially with our s-tier intel voltage control. i have a few profiles with tuned Intel but i also use cyan, bluactive, THESSJACTIVE, and lionheart tuned all with great results
[General Topics] krasCGQ:
Glad to hear that. Because I couldn't and lazy to test nearly all CPU governors included in the kernel lol
[General Topics] MRDICKHEAD:
Best and most helpful thread
[General Topics] tet-bundy:
hi,

wondering, if u could add some information about various cpuquiet governors. trying hard to find any detailed information.

in particular i cant find any description of "load_stats" tunables. if u could point me into some direction, that would be fine too :)

regards
[General Topics] rickysidhu_:
Hello everyone!

I'm fairly new to Android so I apologize if this has already been asked on this thread.

I was just wondering if it's safe to use more than 1 kernel tweaking app at the same time? And if not, then is the best kernel tweaking app the one that is designed for the kernel? (i.e. ElementalX with EX Kernel Manager).

Thanks in advance!
[General Topics] neonkat:
depends upon you.

there are a lot of apps in market,choose the one which you like,all will have same effect.

some have more detailed tweaking option while some have basic ones.
[General Topics] rickysidhu_:
Thanks for your reply! So it's better to just use one app and the app doesn't need to be specific to whatever kernel I have?
[General Topics] mattzeller:
Correct, I suggest Kernel Adiutor:

https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor

It is a really good all-round kernel tweaker
[General Topics] rickysidhu_:
Awesome, thanks again for your help! I'll uninstall FKUpdater and try the app you suggested :)
[General Topics] smartymcfly:
Here is a modded version

http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[General Topics] yarpiin:
[MENTION=5811506]gsstudios[/MENTION] any chances to dig out something detailed about Hima Hotplug ? It came from HTC m9 but dont have much details i have included it in my kernel does the job well but i dont even know who to credit for it :)
[General Topics] Mrcactuseater:
[MENTION=5811506]gsstudios[/MENTION] i have yet another governor for you to search upon when you get a minute. I believe its called chill and it's in frap129's kernel and unofficial AK.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] Saber:
Done

Please check OP for new added description

gsstudios
[General Topics] Saber:
Done

It did take a while to find the original author but I believe I have the correct information. Please check the OP for details.

gsstudios
[General Topics] yarpiin:
You are the best !!!!!

Thank you !!!!
[General Topics] rickysidhu_:
Is there any way to change governors depending on battery life? For example, 100% - 50% is interactive, 49% - 15% is conservative, and 14% - 0% is powersave

Is something like this possible?
[General Topics] Mrcactuseater:
Tasker could do it.

Tapatalk'd from my Twisted, Despaired Nexus 5x
[General Topics] rickysidhu_:
Thanks, I'll give that app a shot! :)
[General Topics] yarpiin:
You shouldnt and its not advised to use 2 apks at the same time ,it might cause your system unstable and with unexpected behavior.

Look on xda for kernel control apk try and use one that suits you the best

---------- Post added at 10:57 AM ---------- Previous post was at 10:55 AM ----------
[General Topics] Saber:
Hi guys,

I noticed it has been a while since I updated the list of recommended apps to use for tuning kernel parameters.

So I came up with this question for you guys to answer:

What kernel tuning apps do you recommend?

What I mean by tuning apps include apps like kernel adiutor, and not kernel mods that have predefined kernel values for people to use.

I will update the list if required once we have some clear results.

gsstudios
[General Topics] MartinD70:
this Thread is excellent, what a work!:good:

Thank you very much!:good:
[General Topics] Haldi4803:
Its been a whole lot of work to put this all together.

If you now keep this updated for at least two years then I'm impressed :)
[General Topics] diogobuique:
Awesome work! Thank you
[General Topics] snake218:
Wow! Awesome, great work. The first time i read this guide was like 3 years ago (think :p) and i saw what a fantastic and useful info it is, happy to see it updated. Thanks for all your hard work.
[General Topics] Saber:
I'll probably add that later this week. Right now I have lots of school work to do so time is pretty scarce. :D
[General Topics] Saber:
Test is pretty much what it says. It is a experimental io scheduler that which the creator (I don't know) has given a name to it yet. I'll need to find reports to add info on that.
[General Topics] Saber:
No worries, I'll find info asap!! :)

Update: All done, I've added all other CPU governor requests too.
[General Topics] Saber:
I'm sure I will update this for the next 2 years. After all, I'm pretty much an android geek (yet still have a life). I'll continue updating this even when I'm off to university.