yashsingh1/xdaforums huggingface dataset:
[General Topics] Saber:
I've actually mentioned the sources of the information. (It's right after the cpu governor descriptions). To remove any confusions, I've used the other reserved post for the credits list and for the to be done and changelog list (I'll add changelog and to do list tomorrow).
[General Topics] Saber:
I've added a tuning guide for CPU governors and I/O schedulers, updated the credits list and made some adjustments to layout (bolded text, added contents of thread, etc). Enjoy :)
[General Topics] ** A - R **:
Ultimate peak performance

HI ..

ANYONE PLEASE .. GUIDE ME TO THE PEAK PERFORMANCE TWEAKS..

.

I DO NOT WANT BATTERY SAVING SETTINGS OR BALANCED !! ..

.

JUST ONLY I NEED IS THE ULTIMATE PERFORMANCE SETTINGS ( ALL THE ATTRIBUTES : CPU,GPU,THERMAL,I/O/MISC,PROFILES etc ) .. THATS ..

.

ANYONE PLEASE ....

.

YOUR FEEDBACK IS HEARTLY APPRECIATED ..

.

THANK YOU ..
[General Topics] Haldi4803:
[MENTION=5811506]gsstudios[/MENTION]

You should mention that the I/o tests are made with an Xperia Z2 and 512kB read ahead. With AndroBench 4 which is a rather useless tool ~.~

Okay, use Performance CPU governor, limit GPU min clock to maximum, noop sheduler with 2048kb readahead and set IntelliThermal to 95C.

I take no warranty for broken phones......
[General Topics] Saber:
Thanks for telling me. I will add this info later today (on my website and this thread). I'll try to add more cpu governor tweaks that aren't for power savings (if performance governor was not adequate).
[General Topics] Saber:
Not many major changes to this thread today. I've just updated some info on I/O schedulers, updated the graph on cpu governor power drain and fixed one small typo. ;)

Update: Nvm, I've added a couple of CPU governor descriptions
[General Topics] djporti1973:
Thank you for this
[General Topics] Saber:
Will be making a few changes to the thread today. I will modify the list of recommended governors for performance, improve the tuning guide and I might add a few more cpu governor descriptions. Stay tuned! :)
[General Topics] Saber:
Sorry for the delay on updating the info (had to do lots of homework). But now I've added some new CPU governors and updated the tweaking guide a bit. :)

Update: I've also updated the CPU governor benchmark graphs (thanks to haldi!)
[General Topics] LuigiBull23:
Great guide. Very informative.
[General Topics] MBurns2:
thanks a lot!!
[General Topics] Saber:
Any more missing governors or features of this guide you would like to see? I'm running out of ideas :)

Update: Added a guide on governors on different CPU cores. Enjoy :)
[General Topics] yarpiin:
Kernel Auditor by [MENTION=4443334]Grarak[/MENTION]/ Modded Kernel Auditor by [MENTION=2020879]Yonix[/MENTION] , UKM/Synapse :)
[General Topics] tet-bundy:
currently on gzr kernel auditor. only can not control cpuquiet governor tuneables..

Gesendet von meinem ONE E1003
[General Topics] Mrcactuseater:
Ex kernel manager is my favourite.

Tapatalk'd from my Twisted, Yank'd Nexus 5
[General Topics] christianpeso:
Kernel Auditor Mod is a little better than the regular Kernel Auditor. It exposes more of the custom kernel features.
[General Topics] PiggyFlooper:
I tried a search for this n came up with nothing, also tried pressing on [MENTION=2020879]Yonix[/MENTION] and my xparent tapatalk wouldn't go to his profile, will you please link me to the thread?
[General Topics] 'Akira:
http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[General Topics] gogvogo:
Gov tuner project, works great, its tweaks your governor turntables.
[General Topics] smartymcfly:
This has predefined values and is for governor tunables, you can set these for the most part yourself in most kernel tuner apps. I was looking at that and was wondering how is that he has one mod that sets those variables, each model phone does not come with the same chip and frequencies....
[General Topics] gogvogo:
[MENTION=5321318]Debuffer[/MENTION] seems to have it down to a science that seems to be his expertise. personally I wouldn't know where to start. Give it a try, I was surprised how well it works.
[General Topics] Debuffer:
Hey, mate.

First of all I'm happy that the my mod has been quoted in such a famous thread.

Well, I can explain you how does Govtuner.

Each phone model has different chips and frequencies, but if you use for example 600.000 frequency to tune, the governor will use the next step above this. Basically, if your kernel has 300, 500, 700, 900, 1500 frequencies only and you use 1000 frequency, it'll use the 1500 one.
[General Topics] smartymcfly:
If this somehow was dynamic and set the frequencies based on percentages of the min max frequency, and number the steps in a fraction form so it will go to the closest available frequency to of the fraction that correlates to the base setup. based on how many are available and use the steps number instead of the step's frequency then it would perform equally across devices. At first reading through the post I though it said it doesn't mess with frequencies but it does right? If phone A has 20 steps available and phone b has 15 steps available, the phone a on step 7 would find 7/20=x/15 and find x.

Maybe it doesn't matter, but it does change frequencies used, maybe not the min and the max, but the steps it uses.... The OP could edited to show this.... Because if it jumps to 1500mhz or max 100% CPU usage for one phone and it was designed to go to 1000 or 66.7% CPU on another phone, the experience will be much different between the two phones.... I am not very proficient in coding and scripts but it seems like this is something that would take a bit more work to setup, but can be done. Right or wrong?
[General Topics] Debuffer:
Well, this "based on device frequencies" idea already was project by us but it will just not change anything.

We need it to be the simplest possible, and this way works perfect for what we are looking for.

And it doesn't mess with the frequencies but only with the ways it scales.
[General Topics] Ckovvi:
+1 for Kernel Adiutor
[General Topics] Wolfcity:
Until today's update.....
[General Topics] DB126:
Yikes! Revamped UI will take some getting use to. FCs on my device when accessing CPU section. Not so concerned about that; bugs happen. More bothered by UI (why the changes?) and various take aways noted in change log. Might be time to move on.

Edit: Found more stuff that doesn't work. New version ignores previous settings, phone went back to stock everything after reboot. Ugh! Uninstalled; using [MENTION=2020879]Yonix[/MENTION]'s variant for now.
[General Topics] LuckySwitz:
Can't suggest because that dragon breathes fire.. :mad:
[General Topics] dsjiffry:
[MENTION=5811506]gsstudios[/MENTION]

Is there any way to set the freq. Which the processor jumps to when the screen is touched????? (Aka. Touch Boost) :confused:

Which parameters in the interactive governor decide this?????

I think going all the way to 2.x GHz is way overkill.......... :silly:
[General Topics] Saber:
If the touchboost frequency tunable is not present in kernel tuning apps, only your kernel dev will be able to modify settings with touchboost (you may need to double check because I won't know for sure). Otherwise, I can't find any other info. Generally, it can only be enabled or disabled by users.

gsstudios
[General Topics] yarpiin:
Some of govs have feature called poke _boost_freq for example smartmax it raises frequency when touch is detected but is it working same as touchboost not sure , easiest thing to do is to check if this path exist in your system /sys/module/cpu_boost/parameters/cpu_boost .
[General Topics] Saber:
The OP has been updated

Here are today's changes:

14/08/16:
- Added State Helper hotplug information

gsstudios
[General Topics] EliDevp:
Hello Thanks for the guide.

I've currently installed Set Cpu on my Tab s lte 8.4 amd would like to know the best settings I can set it to for best battery life.

Underclocking,governor,etc. Gladly appreciate your help and contributions.
[General Topics] GiovanniArpino:
Underclocking gives you a 5/10% more battery life,undervolting also.Forma The governor I suggest impulse or conservative,that gives a decent battery life.Scheduler I suggest noop andò hotplug,if you have,msm_hotplug
[General Topics] EliDevp:
Thanks alot. I've noticed VERY considerable battery extension after underclocking. I kept underclocking from 1800 to 1500 and eventually 1300 with everything working fine, (a lil lags when playing clash of clans sometimes). I mustsay in addition to Greenify and LUX (for controlling screen brightness). By default I've been using Interactive(governor) , I'll try out your suggestions too.

I don't yet know about or how to undervolt. Any guide on that would be appreciated
[General Topics] Saber:
OP has been updated

Here are today's changes:

19/08/16:
- Added general comments on each scheduler
- Small cleanup to scheduler descriptions

More improvements to come soon (e.g. Better descriptions for GPU governors and add more of them! :) ). However I am quite consumed with my studies.

gsstudios ;)
[General Topics] j1gga84:
Good luck with your studies furthermore :good:

By the way, if you have time, you could start a new poll which governor is used the most nowadays because the poll here is quite very old ;)

just an idea, would be very interesting :)

regards
[General Topics] Saber:
Sure ;) I'll request a mod to remove the poll so I can make a new one.

Here is the current list I have prepared. Let me know if there should be any other popular governors that should be included:

What CPU governor do you use?
- Ondemand/OndemandX
- Interactive/InteractiveX
- ZZMoove
- Conservative/Ktoonservative
- HYPER
- Powersave
- Performance
- PegasusQ
- Impulse
- Smartmax
- Smartassv2
- Intelliactive/Intellidemand
- ElementalX
- Alucard
- Yankactive/YanksusQ/Yankdemand
- Darkness/Nightmare
- Blu_active
- Other

gsstudios
[General Topics] yarpiin:
Would add inelliactive and and add lightning to darkness/nightmare as it is still popular with lightning kernels and it is modded version of these two ????
[General Topics] Saber:
The poll has been updated

There is now a better range of options to choose from. All less voted governors have been removed from the poll.

PS: Thanks for the 1500+ voters in the previous poll, now it's time to vote again :)

Happy voting, gsstudios ;)
[General Topics] Wolfcity:
Bioshock is missing? [emoji15]
[General Topics] Saber:
Maybe next time :)

gsstudios
[General Topics] Saber:
The OP has been updated

Here are today's changes:

20/08/16:
- Added Maple I/O scheduler description
- Minor modifications to I/O scheduler summaries

Happy reading, gsstudios ;)
[General Topics] EternalFlame:
You are epic bruh \o/
[General Topics] Alphados0:
Have any an idea what is the best balance for xperia z1 compact?

Android 5.1.1

Dstrikersz1 Rom sp004

Advanced kernel v18.1

I'm a newbie for this settings :)
[General Topics] Qiangong2:
[MENTION=5811506]gsstudios[/MENTION] I have a new governor found in a stock kernel :) It comes in the BLU Dash JR 3G D190U and it is called sprdemand. In menuconfig it has the same description as the ondemand governor. I got the kernel from the BLU FTP.

Here it is: https://github.com/Qiangong2/android_kernel_scx15_sp7715ga_FS001
[General Topics] Saber:
Done. ;)

Check the OP for details.

gsstudios
[General Topics] Qiangong2:
I've found that it doesn't seem to be based on the OnDemand governor as it sounds like. The current phone it is used in (BLU Dash JR 3G D190U) only has 256mb of RAM.

Could it be for more heavily optimization of RAM and the OS? Needs more research. It runs smoother than quite a few 512mb RAM mediatek phones...
[General Topics] Saber:
I took the description straight from the kernel source description (kconfig file).

Let me know if you find anything interesting about the governor ;)

gsstudios
[General Topics] :
Need to update this tread with ZEN V2
[General Topics] Saber:
Can you provide me a link of the kernel thread that has ZEN v2?

Cheers, gsstudios ;)
[General Topics] :
There's any kind of thread. ZenV2 is just and upgrade. You can see this update on github
[General Topics] Saber:
Once again, I could not find any information regarding Zenv2. Please provide a specific link to where you found this information and I'll add it to the guide.

gsstudios
[General Topics] :
https://github.com/CasualsKernel/android_kernel_nextbit_msm8992/commits/test/block/zen-iosched.c
[General Topics] Saber:
OP has been updated

Here is the list of today's changes:

10/09/16:
- Minor fixes to ZEN I/O scheduler description
- Added ZEN v2 I/O scheduler description
- Minor update to recommended I/O scheduler list
- Added very detailed description of Maple I/O scheduler thanks to @frap129
- Remove Anticipatory I/O scheduler description
- Updated credits list. Added new credits where applicable.

Happy reading, gsstudios ;)
[General Topics] Saber:
OP has been updated

Here are today's changes:

11/09/16:
- Added more detailed and accurate descriptions of existing GPU governors. More GPU governor descriptions will be added later.

So yes, I plan on adding more GPU governor descriptions and will make it more readable and easier to find :) This is all I have time for now.

gsstudios
[General Topics] Wolfcity:
Bioshock is a balanced governor which is batteryfriendly too. It's my favorite governor. In have no experience with Barry_Allen.
[General Topics] Vink67:
When you take 80% of work that some one else do the minimum is to say this is not your work and thanks the people who did it and say he's name and a link of he's work....

Sent with my MotoG3 from another galaxy !
[General Topics] Wolfcity:
To whom you're talking?
[General Topics] EternalFlame:
Äääää.... what?
[General Topics] Vink67:
No flame, just reality. I read for months (years) the same post at 80% on web site. If it's you who do that also, so my apologies. But I read for long time same thing, word, graph....

Copy and paste must credit the author. That's what I do for some tuto.

Sent with my MotoG3 from another galaxy !
[General Topics] Saber:
I have included credits to the original authors of the graphs and info (I assumed you missed it because of this massive thread, the list is a little below the changelogs). In no way I have named their work as mine. Most of the descriptions were actually taken from either source code or a description given by a XDA user (countless which I can't list them all). The creators of the graphs have been explicitly mentioned. I believe everything (if not most) of the information have been given appropriate credits.

If it's still unclear, just leave a PM.

gsstudios
[General Topics] Vink67:
So you have my apologies. I have miss it under the flow...

Sent with my MotoG3 from another galaxy !
[General Topics] khangcobra:
Which governor should i use for balance battery life and perfomance between alucard darkness impluse ?
[General Topics] Saber:
Impulse should be the best gov out of the three. All are good choices, alucard should be the most battery friendly. Darkness scales between frequencies quickly so it could give a little extra performance. Impulse has the best balance.

gsstudios
[General Topics] Saber:
Hey guys,

I have come to a point where I need some suggestions on what GPU governors should I make descriptions for. I know there are many GPU governors out there but I aim to give descriptions to the most popular governors first that may not be included in this guide yet.

gsstudios ;)
[General Topics] khangcobra:
many thanks to you !!!
[General Topics] khangcobra:
oh i have forgot ~ can u suggest me some cpu's settings include I/O to have the best performance in gaming ?
[General Topics] Saber:
You can look at the advanced interactive tuning guide thread.

As for I/O, use ZEN or Deadline for gaming.
[General Topics] MotoE2014:
Link download kernel?
[General Topics] Haldi4803:
Do you know which governors are ready/optimized for SD820 HMP Big.Little Quadcore design? AFAIK nowadays mostly Interactive Profiles are used...?
[General Topics] Saber:
Generally interactive is best suited for newer devices as it is google's governor of choice. I don't know too much on which governors that have been optimized for the SD820, so it would be best to keep with what the kernel developer or what the phone manufacturer thinks what is best (for now).

gsstudios
[General Topics] Saber:
This is a kernel settings thread, not a kernel thread. Hence, there is no way download a kernel.

gsstudios
[General Topics] tet-bundy:
To what extent does the size of an external micro SD influence io scheduler choice?

Precisely have a sandisk 128GB class 10 card mostly media as music, photo, few video, backups so fluently browsing with music player, gallery would be major requirement

Thanks
[General Topics] Saber:
SD card sizes don't play a role in IO scheduler choice.

It would be best to choose a simpler scheduler like deadline/noop/ZEN for best performance and latency. CFQ and BFQ may get higher throughput, but they aren't really suited for slower flash devices like SD cards.

If you do a lot of video recording (e.g. FHD/UHD) to SD card, having a simpler scheduler is highly recommended.

gsstudios
[General Topics] tet-bundy:
Thanks for reply!
[General Topics] Robot76:
Hi, erm, any suggestions for downloading torrents, I/o scheduler?

[emoji7]

fiops? cfq? zen? So many to choose from...

I'm such a noob...

Forgive my ignorance...

Also l, any recommendations?

This thread is awesome!

[emoji7]

A.R.I.S.E. Z3C SLiMM EliteKernel Phh.Superuser Rr.Xposed Substratum Systemless
[General Topics] Saber:
Hi,

Similar to the recording scenario, you may benefit more using a simpler scheduler like Deadline/ZEN/noop. Reasons are because of latency and overall performance (not just throughput).

gsstudios
[General Topics] zeeBomb:
What about for onboard storage? Idol 3. Fiops 2048 the way to go?
[General Topics] Saber:
Onboard storage is faster than SD card, so anything will do fine. Fiops 2048 is fine.

gsstudios
[General Topics] zeeBomb:
Oh ye true. Any other suggestions tho? What would be your ideal CPU governor?
[General Topics] Saber:
CPU governor: Interactive

I/O scheduler: ZEN or Deadline

I/O Read-ahead cache - 1024kB based on your internal storage size

gsstudios
[General Topics] Razcaz:
I have a nexus 5x, jolla kernel, elementalx govenor with ghost pepper.

My actual I/O scheduler is bfc with 1024 kb readahead.

Is this optimal for performance and battery life or could you recommend something different?
[General Topics] Saber:
Governor choice is already optimal.

Change I/O scheduler to ZEN/Deadline/Noop.

I/O read ahead cache to 2048kB if you have 32GB model, leave it if you have 16GB model.

You may have to play around a bit but these should work fine.

gsstudios
[General Topics] Razcaz:
Ahh okay, the I/O depends of the storage size?

Maybe you could add an overview for the device size, how much kb readahead is optimal :)

Thank you for your recommendation.
[General Topics] marcdw:
Check post #3. Storage size and read-ahead values is there. Has been for some time.

LG G3 D851, Mahdi KitKat ROM, microG Project (NoGapps), Tapatalk 4.9.5
[General Topics] Saber:
Yes, only the I/O read ahead cache.

Schedulers choice isn't dependent on size.

I will update the guide soon to make it more clear.

gsstudios
[General Topics] Saber:
The OP has been updated

As I have promised, I have updated the I/O read head value guide. I have made it more clear and made a few corrections to the terminology (e.g. 'buffer' instead of 'cache'). Recommended values were also changed around (see the guide for details).

Anyways, here is the changelog:

28/09/16:
- Updated guide on I/O read ahead buffer

Have a wonderful time reading, gsstudios ;)
[General Topics] Normusmaxamus:
Thanks For This Thread. It Made For Some Interesting Reading and Has Given Me A Better Understanding Of Governors.
[General Topics] mrrocketdog:
[MENTION=5811506]gsstudios[/MENTION] , just got thru OP , finally. wow!! so much good info. thank you.

what'd that take , about 20 - 30 minutes to write up? JK. worded for noobs like me to understand just 'what the hell is going on' in "there".:high5:

"err on the side of kindness"
[General Topics] PiggyFlooper:
1792kb for 16GB

Sent from my LGLS740 using Xparent BlueTapatalk 2
[General Topics] Saber:
I have updated the OP once again

There was a small correction to the recommended read ahead value for 8GB internal/external storage (512KB from 256KB).

gsstudios
[General Topics] Saber:
I have never used that value in any of my kernels before. I have 16GB Galaxy S2 and 1024KB was generally recommended by other kernel devs (including myself).

Regardless, it is always good to play around with the values to see what is best :)

gsstudios
[General Topics] aryaazimi72:
You can use "3C Toolbox" app to test both you internal & external storage... and find out the best read ahead value for your devices.... its so easy to use because it changes your value itself and you dont need to go to yor kernel settings and change it everytime... it will do the job...

Hope it can be useful.....

---------- Post added at 10:46 AM ---------- Previous post was at 10:21 AM ----------

@gsstudios

Can you please give us a guide on " Multi path TCP " ( MPTCP ) and the three tcp congestion algorithms that use this : LIA , OLIA , WVEGAS ?

It is used on some kernels... for example on voltaqe kernel on galaxy s7... but i really want to know more about it... and please make it a bit more simple so we can understand better....

+ is MPTCP for using wifi and 4g/3g... at same time? Or it will improve the speed...etc... when using 4g only?

Thanks a lot!!
[General Topics] Saber:
Thanks for the suggestions.

I might have a look at the MPTCP algorithms later, all these new algorithms will require some time for me to read :)

gsstudios
[General Topics] Revontheus:
First of all Arigatouu [MENTION=5811506]gsstudios[/MENTION] for the great Guide!

I was just wondering what cpu settings could you recommend for balanced use on Exynos Devices, specifically the S7 ( Exynos 8890 )

I'm currently running alucard as the cpu gov for both big and little cores but I'm just wondering if something like ondemandplus would be better

And how much read-ahead would be ideal or good for 32 GB of Internal Storage

Thanks! :)
[General Topics] Saber:
Hi,

For new devices, I usually recommend trying out interactive or any governor that the kernel developer has set as default.

I don't have a device with big.LITTLE cpu cores (I'm on the s5) so this is only based purely on what i believe.

As for read-ahead, use 2048KB.

gsstudios :)
[General Topics] Revontheus:
Would ondemandplus be a better choice compared to alucard, when it comes to battery saving? [MENTION=5811506]gsstudios[/MENTION]

Thanksss :)
[General Topics] Saber:
From my descriptions, ondemandplus will be slightly more snappy because it has some features from the interactive gov.

Alucard will be more battery friendly because it is based only on ondemand.

gsstudios
[General Topics] zeeBomb:
Do you tinker with your I/O scheduler turntables, gss? If you do... What do you change?
[General Topics] Saber:
I usually don't touch any settings except for these:

fifo batch: 16 (where possible, helps reduce load on eMMC memory chip)

no_merges: All (where possible, this is the default setting)

rq_affinity: 1 (where possible, I've seen some people using a value of 2 but it breaks some systems and performance difference is small)

gsstudios
[General Topics] zeeBomb:
This for all I/O's, yes? Awesome.
[General Topics] Saber:
Not all schedulers have these tunables.

Just whichever scheduler that have these tunables.

gsstudios
[General Topics] zeeBomb:
Oh okay. Do you think ROW is deprecated for daily usage in modern smartphones? kinda like how smartassv2 is as a governor today?

How is the performance holding up for you? Idk if its worth having all that extra cache...or I guess that logic applies to SD cards.
[General Topics] Saber:
ROW is still a widely used scheduler and still does a good job of managing I/O requests. I would prefer using ZEN or Deadline as they have simpler algorithms.

Smartassv2 was a good governor but there are other more efficient governors out there.

gsstudios