yashsingh1/xdaforums huggingface dataset:
[General Topics] seraphism:
Hi guys,

Are there any particular governors that are designed to work specifically with hotplugging? The only hotplug I have on the kernel I'm running is autosmp. Could anyone recommend governors that work better with autosmp?

Thanks
[General Topics] davejimson:
Wow so Informative :highfive:
[General Topics] agus_ulo:
Compile yourself:svetius:
[General Topics] anjel05:
Find custom kernel for youre specific device
[General Topics] artisticwizard:
Awesome.

Thanks for all in one thread. It's really useful.
[General Topics] redmi_3g:
U are gifted by GOD

1 of the most perfect GOD creation

Brilliant,exellent,clever and hardworking

Keep it up dude!
[General Topics] RoboR1:
I want to lower big core max cpu freq, are there any rules i should observe? Any side effects of lowering the freq besides slower performance?
[General Topics] guest4711:
Lower temperature...

Longer battery life...
[General Topics] dim^n:
Please add info for Crazyactive governor and AIO hotplug driver. And thanks everyone who collected dat great base!
[General Topics] venhow:
THANKS!
[General Topics] KProject:
Very useful tread! THANKS YOU VERY MUCH :D
[General Topics] gedega10:
lazyplug

[MENTION=5811506]Saber[/MENTION] can you make explaination about lazyplug by artur97? thanks !!
[General Topics] Saber:
Done

See the updated post

Here are the changes for today:

19/12/17:
- Added lazyplug description
- Added crazyactive governor description
- Removed hotplug recommendations (outdated, inaccurate)
[General Topics] gedega10:
Thanks so much, you're my man !!
[General Topics] jlb1959.01:
thank you....
[General Topics] rupanshji:
Hi! I found "TheNewBeginning" governor is not in the list.

I found it when I was kanging governers from a kernel

here is the commit(it has multiple governors)- https://github.com/rupansh/chimera_land/commit/ea8bc55d77bf6e719c0350f0d51607d83ce9b2b3

hoping you could leech some information out of it
[General Topics] jlb1959.01:
Very helpful,much appreciated...
[General Topics] Pawnzer:
Any info about "Cultivation" CPU Governor?
[General Topics] Cyanogengod:
Best overall combo for maximum balance between battery and performance is without a doubt interactive with fiops or zen as scheduler.

I have tested them all and this is simply the best.
[General Topics] kemdroid:
Really? I will try then. But impulse with zen or noop gives me 7 hours screen on time with heavy use. I think the ROM and phone has a lot to do with it among other factors like app usage etc...
[General Topics] Cyanogengod:
True that also makes a difference.

What phone/ROM do you use?

I am using the international S5 with LOS 14.1 and pico gapps. Definitely test interactive/fiops

If you can sacrifice about 10-12% performance in exchange for more battery life then pegasus/ios or pegasus/noop with -25mv is the next best thing.
[General Topics] kemdroid:
I am using Honour 5x and on DotOs 7.1.2. I had an S5 but upgraded for an 8 core processor. It's low power so I can easily get 5-6 hrs screen on. I also have a 3000mah battery compared to the 2800 in the s5. I will give interactive a try later on.
[General Topics] Cyanogengod:
Nice upgrade. I wanted to get the S8, but decided to finally get a threadripper cpu and a tablet instead.

I get about 4-5 hours with fairly heavy use on interactive. Pegasus gives me 5 1/2h easy though.

With Wifi on at all times, mind you.
[General Topics] kemdroid:
Thanks mate. I see. Well I wouldn't go for the s8 yet until prices drop when s9 release Hehe. Unless you have bucks to spare. Nice to see you get 5.5 hrs. During my time users reported even 6.5 with the s5 running beoffla kernel on nougat.
[General Topics] Saber:
I'll see if there's any info I can find
[General Topics] Saber:
I actually think (on some if not most) it's Google Services and how it behaves on Custom ROMs that influence battery life. I'm running the Galaxy S5. LineageOS /w Gapps gives ~15% drain while screen is off. On stock, I see much less battery drain. As for evidence, I don't have a whole lot other than BBS indicating that Google Play Service wakes up the device too frequently (maybe to phone home?), and it is consistent among the several clean flashes I've performed on multiple LOS-based ROMs.

I wanted to find out the fuss about MicroG and how it is a good open source alternative, so I did test it out and got amazing battery life results. YMMV because ROMs generally don't support signature spoofing by default.
[General Topics] Saber:
Will add when I have time :)
[General Topics] Cyanogengod:
Yeah, but anything above 6h is either on powersave, minimal voltages or just light use.

I had a good deal on an S8 with a cracked screen. With a screen replacement I'd have paid under 450$

Honestly though the S5 on 14.1 and Boeffla runs extremely smooth and snappy. I haven't felt like I needed an upgrade for years now.
[General Topics] kemdroid:
Yea that's true because these processor today are very fast. Even faster than my PC lol. Yea S5 has good development. That's why I don't buy new phones. Why pay $1000 for a phone for instance when you could buy a $150 phone and get a sweet ROM and kernel and have fun. I'll never buy the latest phone... I prefer value and get the most of of my buck . ;)
[General Topics] Cyanogengod:
That's the enthusiast spirit though. Once you go as deep as flashing custom kernels and tinkering with voltages on a phone you can but look with contempt upon a dummy on his iphone or ipad believing he paid for "quality". For me it started with overclocking my pc hardware. Then ditching windows for linux and now tuning cars. Once you adopt that tweaking mentality you can never again enjoy any OEM, preconfigured, predefined garbage product. Are you into pcs at all?
[General Topics] kemdroid:
Man can I tell you? We have so much in common. I have ditched windows too and now running Linux on my two machines. I love exploring and knowledge is power bro. Once you experience the true power of it you will never go back. Iphones are crap point blank. It's not worth the money. I laugh at my friends everyday. Anyway I think we are getting off topic so add me as friend and PM me. :fingers-crossed:
[General Topics] Cyanogengod:
Alright, PM'ed you.

I just tried an ultra power saving profile with 70% performance still. It's like the battery indicator is stuck omg. https://forums.oneplus.net/threads/...el-profile-got-me-almost-13-hours-sot.241354/
[General Topics] kdsmafia:
deleted
[General Topics] icysnowy:
Can you add all governor based from interactive in your post.
[General Topics] freskile:
Is the 'Summary' part for IntelliMM valid? 'BATTERY LIFE: POOR' or "battery friendly" as written in the description? I suppose the latter (?) as it is listed in the "For battery life" recommendations in the following link:

https://androidmodguide.blogspot.com.tr/p/blog-page.html
[General Topics] Saber:
Yes that would be a mistake and will be corrected shortly.

I'm planning on removing the 'summary' parts as I feel they are too inaccurate and/or there is insufficient evidence to support the claims given in the statement.
[General Topics] Saber:
Can you please elaborate on what you mean? Do you mean add more interactive-based governors into the guide? If so, which ones?
[General Topics] Haldi4803:
He's probably talking about Ghostpepper, Hawktail and other Interactive based Profile Settings that totally change the behaviour of interactive.

Indeed they are.

Settings tested on Device A might have a total different result on Device B.

Saying that something is good for batterylife is also dependant on usage, if someone browses the web allday that's different from someone who mostly makes calls and writes a lot of emails and totally different from someone who plays games all day.

While the idea to use a simple definition of it's efficiency is great, it's sadly hugely inaccurate in reality.
[General Topics] dazeone:
But could it also be true to say something saves battery even though different people use their device differently. Example: person a uses the device to browse the web, watch YouTube and make calls and uses the profile saying it is battery saving and gets good battery over another profile that isn't aimed towards battery, then it did same battery. If you game, surf the web, watch YouTube or whatever, the profile that is aimed for battery should get you more battery vs using no profile or another profile not intended for battery so I'm reality despite the usage it still saves battery. If I game for 1 hour using a battery saving profile and it gets me a battery decrease of 10% in that hour vs gaming for 1 hour with a balance or performance profile that gets me a battery drain of 15% or more in that hour with the same game, then the profile did save me some battery. In my test I tested 6 profiles with similar usage over a period of time and I see my battery saving profiles get me more sot than any other profile I test.

Sent from my NexusReborn6p
[General Topics] Haldi4803:
If you want to save Battery reduce the maximum Clock.

If you use a governor that doesn't ramp up as fast and goes down faster you're not as often on max clock which obviously saves battery.

So while most tests here we're done on SD800 Krait Quad cores we now have Big.LITTLE Quad cores and even Big.Little Octa- and Hexacores.

Saying governor A saves battery while not creating any lag on Device A might not be true at all for device B or C.

Then there is also the finetuning of governors, which each kernel dev might have (should have!) tampered with, which can have totally different results to anything tested on another device.

It's just not that easy to make a correct conclusive statement for such a variety of users, and IMHO it's bad to include it in such a beautiful comprehension of accumulated knowlegde about governors.

Or do you agree that Strawberry icecream is the best, no matter what?

P.S: BTT:

IIRC Renderbroken ported EAS to kernel 3.18
[General Topics] dazeone:
Yeah governor A might not be good on device B as it is on device A. I get what you're saying. There could also be other factors as to why it isn't. Scheduler used, min max frequencies, entropy settings, read ahead of scheduler. So device a uses different scheduler that could impact battery life too. So even though one governor claims good battery there are other factors that helped it get good battery that might be used on another device. Both running the same governor but other settings are different and you'll get totally different results. True though no governor should say saving battery due to the fact it really takes more than the governor to save battery. My mistake though because I thought we were talking about profiles until I kept reading back in the conversation.

Sent from my NexusReborn6p
[General Topics] nikkky:
I have a rooted RN4 (625) with ElectraBlue kernel. How can I change and verify current I/O scheduler and TCP algorithm? If it is posible, I want a clean way to do this, I mean without using aditional app. If it is posible I want change these settings with Terminal like I do with CPU governor (cat for checking and echo for changing).
[General Topics] jcmm11:
The following is from my own scripts. I just showed where I set variables, you should be able to figure out how to use them. The allowable values are kernel dependent.

# Following can be one of:

# noop deadline cfq bfq

Sched_value="deadline"

Sched1="/sys/block/mmcblk0/queue/scheduler" Sched2="/sys/block/mmcblk0rpmb/queue/scheduler"

Sched_all="/sys/block/mmcblk0*/queue/scheduler"

Readahead_size=1024

Readahead1="/sys/block/mmcblk0/queue/read_ahead_kb"

Readahead2="/sys/block/mmcblk0rpmb/queue/read_ahead_kb"

Readahead_all="/sys/block/mmcblk0*/queue/read_ahead_kb"

# Following can be one of:

# cubic reno bic westwood highspeed hybla

# htcp vegas veno scalable lp yeah illinois

Tcpcong_value="cubic"

Tcp_congestion="/proc/sys/net/ipv4/tcp_congestion_control"
[General Topics] dsjiffry:
Hey Saber, could you explain how the fast_ramp_down parameter works in the interactive governor???
[General Topics] nexus_vl:
Google is your friend! (most of the time anyway)

fast_ramp_down: If non-zero, do not apply min_sample_time if

frequency evaluation is triggered by scheduler notification. For

evaluation triggered by timer, min_sample_time is still always

enforced. fast_ramp_down has no effect if use_migration_notif is

set to zero. Default is zero.
[General Topics] piskor:
I can't agree with that

I would say - searchengines are your friend

For example those:

https://duckduckgo.com

https://www.startpage.com/
[General Topics] dsjiffry:
I saw this explanation....... But was hoping to get a simpler version.... Which is why I came here. :angel:
[General Topics] jcmm11:
If option is on then

If the timer is requesting the ramp down ignore it unless the min sample time has expired.

If scheduler is requesting ramp down ignore any min sample time restriction.

If use_migration_notif is zero (default) then ignore fast ramp down
[General Topics] Saber:
The OP has been update!

G'day all,

I have updated the OP with the following changes:

27/02/18:
- Removed governor summaries
- Adapted the hotplug and GPU governor layout to be the same as the CPU governor layout (no more one liners)
- Added info on the thenewbeginning governor

Stay tuned as I will be making further adjustments to this thread later today :)

Edit: And apologies for the delays. I have promised people updates but have yet to complete them until now.
[General Topics] Saber:
Not a whole lot of info I could grab from the internet. So I just compared the source file of that governor against other similar looking governor and it seems to be a modified Alucard variant. Added ;)

OT: That "24" at the end of the author name really gave it away and under close inspection, this remained true! Although if I had to make one suggestion to the creator (or hacker, lol) of the governor, it would be to retain the credits to the original author.
[General Topics] Deltachrome:
Can someone please explain to me what adrenoboost is? I have seen it mentioned as a feature in custom kernels, but I can't find an explanation for what it actually does.
[General Topics] Haldi4803:
It boosts the GPU clock...

Or was it the ramp up speed?

Some people swear it reduces lags and makes your game run faster.
[General Topics] yarpiin:
It just ramps up gpu frequencies quicker when enabled
[General Topics] Saber:
As mentioned by others, it ramps up the GPU freq when in a GPU intensive application. It isn't a standalone GPU gov. IIRC, it was created by Flar2 and has 3 levels of boost.
[General Topics] Pawnzer:
Why remove the governor summaries? In my opinion, it helps what governor to use. Reading just the description does not help at all, for me anyway.
[General Topics] krasCGQ:
#831
[General Topics] D1stRU3T0R:
Which one is the best for (pretty hard) gaming? Sd 820 ;) The big cores are almost never utilized (little oced to 1.7+ and big for 2.25+). Currently, i switched from interactive to elementalx and i feel like it'd better and doesn't heat soo much, but is there a better governor for gaming (and like battery life, don't need performance governor :D)
[General Topics] altintas00:
+1
[General Topics] LuckySwitz:
I don't have too much knowledge for this but I feel excellent performance with Lionheart with all cores online.
[General Topics] altintas00:
Oke thank you I will try that. I do play hd games a lot, thats why I was interested in performance. Most people care about battery life so not much info for gamers on the internet.
[General Topics] Scottchy112:
Hello there,

Since i moved to custom roms im experiencing much higher battery drain when screen is off and music is playing. Cpu was cosntantly at 1026 MHz.

Im using conservative governor.

I'd like to know if there is a governor that switches to low freqs when you off the screen but allow music to play (powersafe governor makes the music stutter since all cores are at 162 MHz) .

I first wanted to ask in this forum before i go to my roms and music player ones.
[General Topics] Saber:
The problem you are describing here is with the conservative governor. Choose something interactive based, or if your kernel has it, zzmoove.
[General Topics] yarpiin:
follow [MENTION=5811506]Saber[/MENTION] advice or tweak your conservative gov to be more agressive set up threshold to 98 and down to 90 and sampling rate to 1000 - 2000 should be more snappy reduce frequency quicker
[General Topics] Scottchy112:
Ok thank you for the ideas. I'll try both tomorrow and will report then.

EDIT:

Tweaking conservative kernel is the solution. While playing music one kernel is active at about 245MHz.

Thank you again
[General Topics] hopecore777:
What are recommended governor which is good in battery life but not affect the performance? I have darkness, lazy, abyssplug, zzmoove, wheatley, intelliactive, optimax, smartmax, impulse, nightmare, alucard, lionheart? And what are the best hotplugging? Alucard hotplug, thunderplug or autosmp?

Thanks in adcance! :)
[General Topics] guest4711:
To have a good performance and a great battery life it is essential to limit the number of processes running in the background. Avoid using g-apps, messengers and location services and you are good...

But the best is to try it yourself. Every device is different (set up) and every user has its own preferences and needs.
[General Topics] indup:
would it be possible for some one to tell me how to remove certain i/o schedulers from a kernel please?
[General Topics] koekoek91:
I wouldn't know how to do that but can I ask why you want to do that?

Why not simply use the I/O scheduler you want to use, and ignore the others?
[General Topics] indup:
i just have a problem with some of the names

anyone else can help please?
[General Topics] Saber:
I assuming you already know the basics for building kernels? You can either disable it in kernel configs or remove the files completely.

All scheduler .c files are contained in block/, and can be disabled via the Kconfig.iosched (by removing default y) or in the defconfig (by uncommenting option).

Confused? Please Google :)
[General Topics] Saber:
What names? As in there are problems with some of the schedulers? Or do you want to rename them?
[General Topics] marcdw:
Umm, you need/should explain more. Do the names offend you or... what?

Another question is, how many times a day are you looking at schedulers? Pick one that works for you and you'll not have to see the names again. Until the next change.

Regardless, as mentioned, get the kernel source and do what you need to do.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[General Topics] indup:
rename or remove whichever would be easier

i dont know the basics of building kernels.
[General Topics] yarpiin:
it depends from where you want to remove them from already compiled kernel or before compiling ?

- not possible from already compiled one

- to remove before compiling go to your defconfig file and change for example CONFIG_IOSCHED_BFQ=y into # CONFIG_IOSCHED_BFQ is not set or CONFIG_IOSCHED_BFQ=n

and then compile kernel
[General Topics] Saber:
Since this guide will not cover how to build or modify kernel, I recommend to do your own independent research. Sorry but this thread isn't for spoonfeeding on off-topic discussion. There are many guides written on XDA-Developers that go over how to build kernels and how to change/remove various parts of the kernel (governors and schedulers included), so I recommend starting there. Which ones? Like #1 #2 and so on...

If you are still confused, you should probably post in a more appropriate section where you can get appropriate help.

Regards, Saber
[General Topics] indup:
ok no problem,thanks to all
[General Topics] kewinhw:
delete
[General Topics] rishivg:
can u also include shedutil governor?? Its included in the latest EAS commited kernels...

Really this post has always helped me with setting up my kernel..

Thankyou for the graeat work! :)
[General Topics] Iliyena:
Actually already included down below the governors. ;)

I return to this thread multiple times a month to refresh the differences when playing on the fly ;)
[General Topics] Saber:
I'll aim to reorganise the guide so it is easier to find things. One thing I'll add back is recommendations, so stay tuned ;)
[General Topics] kemdroid:
please do and add back the info about battery: good great, excellent etc. Performance: good great excellent etc.. Thanks!
[General Topics] Haldi4803:
Because we all want to believe that sweet little lie that this specific option which we choose is the best all around.... yeah.
[General Topics] grantdb:
I get that but there is definitely big differences between different settings that can make your device slower or faster. Examples are very helpful to me and I appreciate those who take the time to post these options.
[General Topics] D1stRU3T0R:
Or at least a rank, like for example : performance: 1. Interactive 2.Bioshock etc

Battery: 1.x 2.y

Gaming: 1.z 2.w
[General Topics] Saber:
Yeah no problems. Probably not rank all governors, but a select few (most common, similar to last time round). I'll add the info when I have time ;)

Also, I'll fix the scheduler descriptions (bring a revised recommendation guide). I done a lot of OS studies during university and have been more learning more concepts on the linux operating system.
[General Topics] Saber:
OP has been updated

This update brings the first round of changes I've promised

Here are the changes for today:

18/06/18:
- Updated I/O scheduler recommendations

What does this mean?

- New recommendations now account for modern smartphones/systems. A lot of older schedulers (e.g. ROW, SIO, etc) don't give the same benefits on current systems compared to what they might have on older systems. The guide will also hold for Linux systems in general, and not just mobile

I will work to bring governor changes soon...
[General Topics] Haldi4803:
Exactly that's the point!

There are a lot of differences in software AND hardware.

Comparing a 4 core exynos 4412 vs a snapdragon 800 or a 820 with Big.Little or a sd845 with DynamIQ and 8 cores....

No setting will behave the same on each of those devices.

Saying XYZ is good for battery because it works fine on system ABC is not a general valid assumption.
[General Topics] Saber:
OP has been updated

Due to popular demand, I've added back the CPU governor recommendations.

As it has already been mentioned by myself and others, different configurations can yield different results and hence makes it difficult to provide a list that attempts a one solution fits all approach. As I can't make recommendation on a case-by-case basis, it is ultimately up to the user to decide what is best for them, and the information I've provided is intended to be a starting guide.

So how am I arranging recommendations? This time round, I've made selections based on a "overall", "battery life" and "performance".

What if I believe the information is wrong? Feel free to PM me and I'll see what I can do :)

Kinds regards,

Saber ;)
[General Topics] kemdroid:
Thank you so much!
[General Topics] andrea0807:
Which CPU governor allows a longer battery life, between these two? interactive or schedutil?
[General Topics] Iliyena:
Interactive tweaked just right for your device should do that, but it would probably also introduce some waiting times starting apps and a few sluggish moments now and then. Whereas I don't know how shedutil performs with reaching deep sleep or such it should fare better than a default interactive gov.

As always it depends on the type of usage your putting the device through and what apps, device and ROM is mixed.
[General Topics] andrea0807:
Hotplugging drivers where can I modify them?

I use the adiutor kernel application, but I can not find the item.
[General Topics] zputnyq:
It's better to check your device & kernel you use first whether your device and/or kernel have it.

If you your device and/or kernel doesn't have/support it, then it won't appear in KA.
[General Topics] Cichy26:
Can you tell how to tweak interactive for better battery life?
[General Topics] gFknQ:
If your kernel has it and is supported, it should be here (screenshot)