yashsingh1/xdaforums huggingface dataset:
[General Topics] Tyakrish:
What about those custom kernels which are actually based on EAS and have schedutil as default governor, but also have HMP governors like interactive, ondemand etc ?

If I switch the governor from schedutil to interactive will the interactive governor work properly ? Or will it be completely non-functional, since there is no support for HMP governors at all ?

If interactive is non-functional, does this mean that including it in the EAS custom kernel is useless ?

[MENTION=5811506]Saber[/MENTION] could you please divide all the cpu governors in your post as EAS governors and HMP governors ?

So that custom kernel devs can understand which governors to add or remove, especially for an EAS kernel...
[General Topics] y0000:
thnx a lot gsstudios take your time no problem, your list its amazing helpful gratz
[General Topics] Saber:
Guide updated with more hotplug driver descriptions. It's still a WIP, but at least there is a little more detail.
[General Topics] LuigiBull23:
Appreciate the updated guide. Can you add or would you happen to know where I can find further info/documentation on some of these other Interactive tunables?

Thanks in advance.
[General Topics] Saber:
Not too familiar with all of these tunables. I would have thought that Perseus or ktoonsez explained it a little. I'll see what I can find.
[General Topics] y0000:
thnx a lot gsstudios for update have so many interesting things
[General Topics] jayjay1234:
OMG Android tuning bible. :angel:

Thanks!
[General Topics] Saber:
The hotplug section of my guide has been improved with the addition on some recommendations for certain categories. I have also fixed some spelling mistakes that should have been fixed a while ago (I apologise to the dev).

Changelog

gsstudios.
[General Topics] BracesForImpact:
I've been looking for info on Barry_Allen governor. I Haven't been able to find any.
[General Topics] JediSooner:
I use Emotion kernel on my Note 4. Here's how the dev of that kernel describes it...

http://xdaforums.com/showthread.php?p=61930454
[General Topics] BracesForImpact:
Thanks for the info!
[General Topics] LGtMgG2t:
What an amazing guide and very detailed. Thanks so much for this! This should give anyone a week or two of tweaking around at least. :D
[General Topics] Walla Walla:
I always seem to be coming back to this guide when it comes down to governor settings, and for that I thank you.

A few things I've noticed on my recent kernel that's are not on here (or any other variations of this guide) , are some different GPU settings, such as msm_cpufreq, cpubw_hwmon, and cache_hwmon. I was wondering if you had any info on them.

Also info different setups for a kernel in f2fs. (looked everywhere but figured it is still too new and untested) . I currently only have /data and /cache in f2fs, but essentially the kernel would act differently, right?

sorry for all the questions, if there is already an appropriate post, may you please point me in the right direction?

Running AICP (with /data & /cache in f2fs)

with Nebula Kernel rev6.7

On the d851 (T-Mobile LG G3)
[General Topics] Rony Harianto:
Really helpful guide
[General Topics] m1trand1r:
Great work bud....love it....:D[emoji106] [emoji481]
[General Topics] Br0kI:
Great Thread! Thanks for you work.
[General Topics] fiorellona:
Where you explain "Here are some CPU Governors I recommend..." you could add other CPU governors, ie blu active or BioShock or wave and many... Will be great having all the governors (or a lot of them) in this cathegory !!!
[General Topics] Aaauuuki:
Thank u so much

Really helpful . Learnt new things today because of you . So many thanks . :good::)

Please keep rocking
[General Topics] Saber:
Only problem is that not all kernels have those governors. The governors I recommended are found in most kernels and so it makes more sense. Blu active and bioshock are definitely great governors and I would happily recommend it to anyone.

Update: I've updated the recommended CPU governors to include some more governors.
[General Topics] Tylog:
Excellent guide. Thank you.
[General Topics] ela1103:
review about

GPU governors

Adreno idler
[General Topics] Saber:
I'll see what I can do.

Saber
[General Topics] azxn:
What's the difference between hotplug and governor?
[General Topics] Timmmmaaahh!:
Read this useful post by the OP:

The governor is the profile you select that will manage a great number of kernel related values, hotplugging can be a part of it. Someone smarter than me will correct that if I'm not (entirely) right ^_^
[General Topics] azxn:
Finally after a lot of googling. Thank you :D
[General Topics] XDADoog:
Question (from a noob):

Does anyone know if there´s an option or a rom that has kinda like a built-in option to change governors? not the settings, just the governor per se; something like an option on the battery setting to select a governor, then reboot and work with that governor? (not dealing with the option, just changing the governor on the next reboot.

Also, what is more efficient: to go through each frequency or to go to pre-selected frequency?

I think that; battery wise; a pre-selected frequency would be faster but don´t know if would be efficient regarding the workload.
[General Topics] Tibiti:
That post pretty much sums it all up.

Before the SoC's (complete boards with everything integrated a.k.a your phones motherboard; ex. Qualcomm Snapdragon, Kirin, OMAP, Samsung Exynos) got so efficient people were disabling some of the cores to save power.

But, since the new ones are way more efficient, switching on and off uses more power than leaving it on and so its not done (it became pointless/inefficient saving electricity that way) - hence hotplugging is removed.

Hotplug was (only) switching cores off and back on, governor sets variables and system settings and so on. In the beginning they were separate pieces of code, later (the mentioned X versions) built the hotplugging logic into the kernel (more efficient code-wise and less error-prone because it could be tailored to a specific kernel/device) .

---------- Post added at 10:42 PM ---------- Previous post was at 10:19 PM ----------

Use apps to change govs - you fed root for that.

When the system boots the default settings are used, then, when the app runs it sets the changes (usually after a set and adjustable time out).

When devs create their custom kernels they usually test out various settings and scenarios and will set up the one that works for THEM best (they know very well what and how to test, usually comes down to best user experience unless they state the aim specifically, like say gaming).

They can also set up profiles (purely a set of settings). This if course will become the default that is set while booting the device.

Device vendors aren't spending much time to optimise (read test different sets of settings as it is too time consuming and so foookin expensive) so they'll go with time proven settings and governors, because 'it works best for most average users' and thus creates the least overhead on support departments (and they are right in many ways). Also makes selling new phones easier (newer must be better right?).

Every chip is and behaves different, you can spend endless time searching for the best settings and still not find it. I

Unless you have an older chip (like 3+ wars old) or a castrated (low(er) performance versions of the top end) one, there isn't much of a gain in tweaking it. Just thought you should know. So my answer for your last question is that lots of people spent lots of time debating and proving both, but it all depends (how would you know what freq should be preselected?)
[General Topics] XDADoog:
Thanks for the replies. Is quite a handful all the info regarding governors, schedulers and stuff. So far I just changed my interactive to conservative and disabled the touch boost (phone used to get hot while gaming); plus the i/o scheduler. The phone feels more smooth and battery wise it doesn´t eat up as much.
[General Topics] Saber:
Guide update

Hi all,

Just updated the guide with headings for HMP and EAS CPU governors. I've also added a Multi-Queue I/O scheduler section for people with newer devices.

Will be working on this guide in the next few days.

Saber ;)
[General Topics] audianer:
Hey, I have a little problem with my Galaxy S7 Edge. It is totally fluid only when playing it stutters something. When I set the CPU Governor to "Performance" everything is smooth. Here are the settings of my "Interactive" Governor. Does anyone have any tips what I should change here so that the games run smoothly? I tried to achieve something with the information in the Startpost, but did not get better. Thank you!
[General Topics] Andreja01:
Seeing that you are running android 9 one ui u need to flash oreo gpu libs that come with moro 7.0.1 or you can search the BD nfe v4 thread for libs alone
[General Topics] audianer:
I'm on BD 4.0 with Moro 7.1. Aida 64 shows r22 libs
[General Topics] Andreja01:
I dont think there is much you can do over that
[General Topics] 3v3rdim:
With autosmp is anyone's downloads slower?
[General Topics] xdaheaven:
Thank You Sir
[General Topics] ..Cory..:
Can anyone point me in the right direction for research into these GPU governors? Specifically Qualcomm's msm options.

Much appreciated!
[General Topics] Haldi4803:
Most of them are broken and don't even work IIRC.
[General Topics] 3v3rdim:
How do you tweak waiting time for opening apps to be shorter when on interactive governor?
[General Topics] surajloharia:
Please Add about BBR TCP
[General Topics] jmadiaga:
thanks!
[General Topics] TensorLake:
There's a new io scheduler called Depression:p

Couldn't find any docs about it..
[General Topics] kostas gp:
Oh, that's depressing...
[General Topics] kemdroid:
Lol:D
[General Topics] 1freeze:
Someone knows about Governor "pixel_smurfytil"??? Dark Ages kernel have this.

Отправлено с моего Redmi 5 Plus через Tapatalk
[General Topics] Hellboy4:
Is that possible to add CPU boost guide ?

Like caf CPU boost

Thanks you for the guide.

Learn alot from here
[General Topics] enweazudaniel:
Great guide...I've made some scripts with from this guide for pixel and pixel XL rooted users only

https://xdaforums.com/pixel/themes/tweaks-kernel-governors-modules-o-t4039767
[General Topics] interprises:
good morning, forgive me for my english, i have nr. 3 fire 7 with lineage 14.1, with all fixes installed. installing smartkerner the tablets restart at random .. all 3 .. any ideas?
[General Topics] newton378:
Thank you for this. Great guide.
[General Topics] SauravDharwadkar:
How to add some of them in kernel source?

I'm thinking of adding some of them in kernel source as per pubg players and battery lover so any way or tutorial how to add in kernel source
[General Topics] lucfig:
Thanks for the hard work.

I've been looking for information about the schedutil tunables but it is hard to find something.

Subscribing to this thread in case it gets updated with schedutil tunables.
[General Topics] denvinbo:
I dont see SchedutilX in CPU governor and been wanting to ask.

Is SchedutilX a variant of Schedutil? How is its performance compared to schedutil?
[General Topics] lapirado:
What a great guide! Thanks a lot
[General Topics] kongacute:
Does anyone know about "energy_step" using in S20? I cannot find any information about this scaling governer.
[General Topics] GWARslave119:
anyone familair with this setup here? only time ive seen it and its with an updated Franco Kernel Manager... https://media4.giphy.com/media/c0q2OHX1wX1Ok05kvc/giphy.gif
[General Topics] kemdroid:
Yea it is. Modified schedutil. Maybe better on battery.
[General Topics] przemo_one:
Currently barry_allen gives my old Galaxy s5 neo sm g903f boost at cost of slightly higher battery usage
[General Topics] krkhaha:
I can't see nothing about CPU governor sschedutil. Or maybe I'm blind.
[General Topics] D0CT0RFATE:
Is the blu_active governor good for gaming?
[General Topics] blackhawk_LA:
OP has not been updated for a while. It would be great to know about how to tune it since it seems like it's the default governor nowadays
[General Topics] Haldi4803:
Uhm..... No.

SchedUtil is not a "governor" in the common sense. Nowadays most phones don't use reactive governors which change based on the Load they had but EAS (Energy aware Scheduling) which preactive sets CPU frequency based on the expected Load.

There are some modifications that can be made via SchedUtil, but most settings are done via Energy Profile deeper in the system. No chance to fiddle with them.
[General Topics] rastaboy0611:
Pls share best settings for increasing read write speed ...using SD845 ...
[General Topics] Viva La Android R.I.P.:
This is perhaps the most comprehensive, informative and factually concise thread I've ever read on XDA. I can certainly tell you spent a great deal of time researching the material and preparing the presentation of the thread. Exceptional work. I just wanted to take a moment to thank you for your hard work and contributions. It is well done.
[General Topics] trottling:
Here I don't understand at all, where do kernel developers get planners/governors/hoplugs from?

I'm making my own kernel and I have to use probably already outdated features from other kernels or github commits, because I can't find new ones

Please explain to me
[General Topics] aoleary:
If you're kernel is 4.x then yeah, most of this stuff is probably a bit out of date.

It's still applicable to 3.x kernels though.

But stay away from the hotplugs. They are totally incompatible now, in my opinion
[General Topics] trottling:
My kernel version is 3.10.108, it is fully compatible
[General Topics] aoleary:
You could try these https://github.com/aoleary/G4-Titan-Kernel/commit/6779c3f017b1bbaffdf8011b4a90576f67d28877

My kernel is 3.10 also
[General Topics] trottling:
I also have links to kernels with governors for my Leeco Le 2 phone for android 9 and 11 on the 3,10,108 core, it just seems to me that they could already be outdated:

Added bunch of governors · LineageOS/android_kernel_leeco_msm8976@d197536

Contribute to LineageOS/android_kernel_leeco_msm8976 development by creating an account on GitHub.

github.com

added governors · anonymous2ch/android_kernel_leeco_msm8976@c4a8624

Contribute to anonymous2ch/android_kernel_leeco_msm8976 development by creating an account on GitHub.

github.com

GitHub - renjian2/Overload: Custom kernel for Leeco le 2

Custom kernel for Leeco le 2. Contribute to renjian2/Overload development by creating an account on GitHub.

github.com

Comparing tImIbreakdown:lineage-18.1...Play4NoobWin:lineage-18.1 · tImIbreakdown/android_kernel_leeco_msm8976

Attention! Used rebase and push -f. Contribute to tImIbreakdown/android_kernel_leeco_msm8976 development by creating an account on GitHub.

github.com

And a collection from six years ago:

GitHub - Oct-mm/cpufreq

Contribute to Oct-mm/cpufreq development by creating an account on GitHub.

github.com
[General Topics] Cyndaquissshhh:
Good guide(?)
[General Topics] trottling:
Yes, Play4NoobWin, Anubioz and anonymous2ch made good commits, I would also recommend commits to the core from FireLord

Never add new features if you don't fully understand what they do and how they work, and do not forget about the specificity of some to the device

GitHub - FireLord/android_kernel_lenovo_passion at FireKernel-n

Device kernel for Lenovo Vibe P1. Contribute to FireLord/android_kernel_lenovo_passion development by creating an account on GitHub.

github.com
[General Topics] varunpilankar:
Not able find right file/directory to change I/O scheduler on my OnePlus 7

Old command

echo "noop" > /sys/block/mmcblk0/queue/scheduler

Things are very different on modern phones, it's more like legacy linux.

I found multiple directories holding scheduler file

/sys/block/sda/queue/scheduler - (I think this the one, but not sure)

/sys/block/sdb/queue/scheduler

/sys/block/sdc/queue/scheduler

/sys/block/sdd/queue/scheduler

/sys/block/sde/queue/scheduler

/sys/block/sdf/queue/scheduler

Which one to edit? Or edit all of them?
[General Topics] aoleary:
You could do this (well, the reverse of what I did here) : https://github.com/aoleary/device_lge_g4-common/commit/c47acfeac11de17c411cc0b7f5d299471b0a784f

Or you could just change it in the kernel : https://github.com/aoleary/G4-Titan-Kernel/commit/b16a4db867ca5146cc20b4ccb6df8d667d7cfa8d
[General Topics] varunpilankar:
I'm trying to do it using shell script, as I don't use kernel app.

Also I'm trying find the right i/o scheduler in aim to reduce my android system alarms, check the below screenshot.

After reading more about this issue online, it is mainly coz of jobscheduler queue and schedule_deadline

Also with some log analysis I noticed rouge alarm from

wake: qpnp_rtc_alarm

Am I in the right direction?
[General Topics] lolvatveo:
how to edit mpdecision to enable unplug/hotplug cpu core? mpdecision hotplug seems to be disabled in kernel source for my phone.

this is mpdecision info:

Here are all configuration features and their meanings:

Single core in standby: Enable or disable to have all cores except one offline while screen's off.

Enabled: or disable MPDecision hotplug/unplug control.

Start delay: Defines the delay before MPDecision starts controlling cores

Interval: Time between each checks

Pause: If another app plug a core, MPDecision will stop controlling cores for 10 seconds.

Hotplug freq: Min/max frequency to authorize hotplug/unplug

I don't like to add any hotplug driver to my kernel, my kernel aim to be as stock as possible, I just want to edit kernel source code, compile it and add to boot.img then flash.
[General Topics] trottling:
are you using OOS with a stock kernel?

as far as I remember there seems to be no noop
[General Topics] varunpilankar:
I'm using OOS with custom kernel - Ex kernel 2.17
[General Topics] Hasan1122behj:
excuse me.

soory to asking this amateur question.🙏

i dont understand the "overhead" means here and dont understand what does " lowering the over head mean 🤷‍♂️

i searched it online but didn't get it ?

may you help me
[General Topics] Saber:
Typically this means that you may see a drop in read/write speeds, although this might not be obvious in your day-to-day phone usage.
[General Topics] Hasan1122behj:
thanks . i guess i get part of it 🤔🙏

i just want my phone create less freezing in daily life activity🤔

so does it mean i should practice i/o for performance like cfq or i/o for least overhead

thats what i dont get 🤷

sorry for long question 😔🙏
[General Topics] Meshok:
Could someone explain how the following schedutil tunables affect CPU frequency adjusting in detail, please?

down_rate_limit_us

up_rate_limit_us

hispeed_load

hispeed_freq

target_loads

pl
[General Topics] Saber:
All done, guide updated with Adreno Idler description.

gsstudios.

Changelog
[General Topics] kopitalk:
How about arteractive and precognition gov?
[General Topics] closee91:
What about yankactive? Or did I miss it?
[General Topics] kopitalk:
It's there, number 52.
[General Topics] closee91:
I meant on how to tweak it to be more battery or performance
[General Topics] Saber:
I've added descriptions for those govs now.

Changelog
[General Topics] Saber:
There could be problems with the implementation. You should probably check with your kernel developer as they may have not properly got that CPU governor to work yet. I know this because I've made kernels before and faced this kind of problem when adding new governors.

gsstudios.
[General Topics] Saber:
I'll have to see if there are any recommended values to set for that governor.

gsstudios.
[General Topics] Saber:
Those settings are fine. I would say that having multicore power saving on aggressive is not the best option if you want good smoothness, and it may even cause more heating because the CPU has to work harder (since you are trying to force less cores to work on heavier loads). Normal multicore saving is usually fine for most people.

If it's stock kernel, then it is still Sony's problem for not getting it working properly. It should work fine if implemented properly. So I guess avoiding it is the only option. IMO, that governor is not the best for that phone. There are better governors out there.

gsstudios.
[General Topics] closee91:
So you think having multicore set to just "enabled" aka normal is fine and may help reduce heat? Even with 777kernel? Thanks!
[General Topics] Saber:
It's just optional for people who want to change hotplugging behavior. IMO, underclocking and undervolting the CPU and GPU will help reduce heat better (will not save battery much, but will definitely reduce heat). So yes, Multicore 'enabled' is just fine.

gsstudios.
[General Topics] closee91:
How much is safe to undervolt?
[General Topics] Saber:
Every device is different, I would start by undervolting by increments of -25mV. When your phone starts to be unstable after a certain voltage, add 10-25mV to ensure extra stability.

gsstudios.
[General Topics] Loulou-13:
Thank you very very much sir !!!! I love your thread !!!! Fabulous... :good:
[General Topics] Jay_9090:
Hi !

Thanks for this marvelous thread !

Can you send me a Code edit of all governors ? I'd not found that on any thread...

I search for Note 3 or other Qualcomm Snapdragon 800 quad core Governor...

I want adapting and make an Pack of set for "System Tuner Pro"'s governor setting app !

Many thanks for that if anybody can giving me ! :good:
[General Topics] Big_Berny:
Very interesting and helpful. Thanks a lot!

Gesendet von meinem SM-G901F mit Tapatalk
[General Topics] Saber:
I have plans to update the tuning thread for the CPU governors. Only problem is that the post is running out of space :) Probably by the end of the week I will have time to do this.

Gsstudios.
[General Topics] Saber:
Choose whichever one you like best :) personally, I haven't tried those governors, but I'm sure they are both great CPU governors.
[General Topics] Jay_9090:
Many Thanks ! Ultimate [REF][GUIDE] !!!
[General Topics] KaikuHunter:
You mentioned that the smartmax governer is a battery-friendly governer, & thus not recommended for gaming.

I've tested the slim, impulse, yankactive, interactive, & smartmax governers on my OnePlus One. Asphalt 8 runs smoothly only on smartmax. Smartmax is also the only governer that is stable after undervolting. Is it because of how the developer created the kernel or the device itself (or some other reason)?

Setup: OnePlus One on Sultan's CAF ROM + AK Kernel (smartmax CPU governer + bricked hotplug + undervolt by 75mV + zen I/O scheduler + msm-adreno-tz GPU governer)
[General Topics] UszkiX:
Hi i have LG G3 Beat (snapdragon 400) and CM 12.1.

Which CPU governor i should to use? Intelliactive or OndemandPlus? And which I/O scheduler? Now i use row.

Sorry for english.

Wysłane z mojego LG-D722 przy użyciu Tapatalka
[General Topics] wkobaint:
Used spoiler if you really want or forced to quote the main post on the OP.

Regarding to your questions, base on my experiences with snapdragon proc, you can try intelliactive for best performance. Or what not to try lionheart or pegasusq? Both of this have good balance for performance and battery life.

About I/O, my favorites are sioplus, fiops and zen. It's all depend to your kernel support too.

I set on my G E975 with sioplus for daily use and fiops for benchmark. And another my G2 set to zen for daily use.

You must try one by one all of governor or i/o settings to find what is the best for your devices and your's characters. This thread have really good knowledge to do thats.
[General Topics] Saber:
Yes, this could be the possible cause. Some of the governors may behave differently when put under UV or OV, and as you found smartmax is stable for you. So it could be unoptimized code or poor implementation that causes instability differences. But most of the time, you can't fix some of these stability issues, so you have to choose what's best for you ;)