how to change default governor - Xiaomi Mi A2 / 6X Questions & Answers

Could you please tell me how can I set schedutil to my default governor?my english is not very good,so if I have any grammatical errors, please forgive me.

Related

Resetting the default ROM

Please ignore this post - sorry

[KERNEL][MOD][CM7] Huexxx's kernel 120321-V4.1 beta ...

This is a custom kernel for Optimus Black based on CM's Sniper kernel source.
It aims to continue with knzo's previous hard work (all credits go to him) but in a progressive way.
The name of the kernel contains two different 'fields':
- The date of the latest original lge-kernel-sniper included commit. You can check at https://github.com/CyanogenMod/lge-kernel-sniper if my last kernel includes the latest commits. In negative case, post here to ask for a new up to date recompilation.
- Huexxx's version of the kernel.
Use at your own risk.
Kernel features:
Code:
# beta
##
Compiled with Linaro toolchain 4.5 (V0)
Added SIO, BFQ v2r1 and VR I/O schedulers (V0)
Enabled Deadline I/O scheduler (V0)
Set SIO as default I/O scheduler (V0)
Added InteractiveX, Smartass v2 and MinMax governors (V0)
Tuned these governors for Optimus Black (V0)
Added Lagfree and SavagedZen governors (V1)
Added and Enabled Stochastic Fair Blue Network Scheduler (V1)
Enabled TCP Veno Congestion Avoidance Algoritm (V2)
Some optimizations (V2)
Added Lazy governor from Ezekeel (V3)
Disabled interactive, conservative, ondemand, userspace and powersave governors (V3)
Disabled CFQ and VR I/O shcedulers (V3)
Set Smartass v2 as default governor (V3)
Added eRecovery to kernel package (V3)
Added support to Torch and BLN (V3)
Disabled LG DVFS to get rid of scaling issues (V3)
Tweak Deadline for flash memory devices (V4)
Set Deadline as default I/O scheduler (V4)
Removed Lazy governor (V4)
Add XZ compresion to kernel and set by default (V4)
Update jHash and add speed tweak (V4)
Added the git implementation of SHA-1 (V4)
Upgraded YAFFS2 (V4)
Added SLQB allocator and set it default (V4)
Opts and tweaks to some libs (V4)
Changed toolchain to Linaro 4.6 (V4)
Done some sysctl tweaks (V4)
Removed some debug stuff (V4)
Added cleancache and prepared ext4 to use it (V4)
Done some mm opts (V4)
Added 'autogroup' scheduling feature to CFS (V4)
Added slice by 8 algorithm to crc32.c (V4)
Added some umaro tweaks to cpu (V4)
Added some usb performance hacks (V4)
Done some net opts (V4)
Applied a lot of arm patches (V4)
Applied a lot of rcu patches (V4)
New commits from lge_kernel_sniper (V4.1)
Replaced eRecovery with gRecovery from Sergey1239 (V4.1)
Memory management values from Zeus v6 (V4.1)
Re-enabled LG DVFS (V4.1) -> Don't use SetCPU or NoFrills to auto set values on boot...
Something else for sure ...
Extra tweaks:
Code:
# beta
##
Patched libsqlite.so (V2)
Patched hosts (20111118) to avoid some ads (V4)
Patched resolv.conf to use OpenDNS (thanks to gabwerkz) (V4)
Optimal ext4 remount (V4)
Increased sdcard read ahead (V4)
Deleted libGLES_android.so to increase performance (V4)
New lighter hosts file from Zeusv6 (V4.1)
Removed resolv.conf becuase it's useless (V4.1)
Modified remount options to preserve journaling (V4.1)
Instructions:
Download this: a2a8be7f7d7ec91c133703b5b655cbda
[Optional] Check the md5sum of the downloaded file
Copy file to microSD card
Reboot into recovery
Wipe chache and dalvik-cache
Choose "install zip from sdcard" and pick the file
Reboot and enjoy
FAQ:
Code:
Q. Do I need to wipe data?
A. No, never.
Q. Do I need to flash this if I flash a new CM update/nightly?
A. Yes. Everytime you flash a new CM version, you need to reflash this.
Q. I have xxxxx ROM. Can I flash this stuff?
A. This kernel is intended to flash it over CM7 ROMs. It won't work over stock ROMs.
Q. What can we expect from this?
A. Snappier, increased internet/market page loading, USB transfer rate, etc.
Q. How can I know if I flashed it correctly?
A. Go to About Phone in settings and you should see my nick around there.
Q. How can I change governor and set it on boot?
A. Go to Settings > CyanogenMod settings > performance > CPU Settings.
Q. How can I change I/O scheduler?
A. Don't change it for now... default one is Deadline and it works very well.
Q. What governor and/or scheduler is the best?
A. Take a look at [URL="http://forum.xda-developers.com/showthread.php?t=1242323"]this[/URL] amazing post from knzo. IMHO Smartass V2 (more performance) and InteractiveX (more battery saving) are the best. It seems that new Lazy governor is working so good at Nexus S community, so you can give it a try and comment.
Q. Where can I find the source for this?
A. [url]https://github.com/Huexxx/lge-kernel-sniper[/url]
--> It's under construction right now...
Make sure to read the FAQ before asking any questions.
Regards!
--- Reserved for future use ---
thanx for the great work!
Thanks a lot... flashing it right away.
The link to download it is enabled!
To say that by some reason it doesn't set interactiveX as default governor at boot... but you can set it (or another gov) on boot via Cyanogemod Settings, SetCPU or NoFrills.
Regards!
1st thing thx for ur work i like this kernel
2nd thing : i want u to tell wt is the best settings to set for saving battery and best performance (using profiles in setcpu for example :screen off) , governor and schedulers ?
i want the max battery.
ps: i have tried InteractiveX and i got 21xx points is that good ?
edit :
i'v noticed something ,i got i call and the screen didn't wake up so i'v pressed the wake up key to answer the call :S
Trying! Thanks!
Enviado desde mi LG-P970 usando Tapatalk
Ring me again if you have more questions, glad to help.
Hello.
look at your faq, there is an error.
Huexxx said:
Q. Where can I find the source for this?
A. Q. Do I need to wipe?
A. No, never.
Click to expand...
Click to collapse
otherwise nice work from you, thank you!!!
Have a nice day.
Hi all!
First of all, thanks again knzo.
I've seen the problem awaking the screen when incoming call. In my case is a lag more than a 'no-awake' problem. I'm looking into it.
Regards!
No lag for me, works fine everything.
Enviado desde mi LG-P970 usando Tapatalk
Huexxx, try to compile with Codesourcery toolchain.
I compile with Linaro but I'm crazy and aim for performance whereas Codesourcery usually delivers the best stability.
I'm crazy too
Jokes apart, I tried with code sourcery with my first kernel compile attempt and it ended up in a bricked OB...
I'll try again in the future, but at the moment I'm goinf to stuck on Linaro 4.5 that runs guite well.
Thanks for the advice.
It is nice to read the conversation between Android Guru's...
and what can we do is just sit and waiting the updates... hehehe
+testing and report any bugs
is it applicable for stock ROMs?
Lleweraf said:
is it applicable for stock ROMs?
Click to expand...
Click to collapse
It's intended for CM7 ROMs.
Maybe it can work with stock GINGERBREAD ROMs.
Don't use it with stock FROYO ROMs.
Regards.
Works a little bit faster then stock CM kernel
Quadrant score a little better too, thank you for your work.
Huexxx said:
It's intended for CM7 ROMs.
Maybe it can work with stock GINGERBREAD ROMs.
Don't use it with stock FROYO ROMs.
Regards.
Click to expand...
Click to collapse
Thanks man! I think im gonna wait for the stable release then flash this
First post updated to V1.
Some additions and some more in the pocket...
Regards.
Huexxx said:
First post updated to V1.
Some additions and some more in the pocket...
Click to expand...
Click to collapse
Changelog of this update?
EDIT: Ooops, sorry, didn't see the (V0) and (V1)
Thanks..

Default frequency in Stock rom??

what is the default max n min frequency in stock rom??? n governor n sio too??
default freq:- 100mhz-600mhz
default gover:- ondemand
default scheduler:- I think noop

[POLL] Top Kernel

Best kernel for battery performance and user experience (Lag free).
Please mention:
- Which ROM you are on and the kernel version
- CPU Governor if not default
- I/O Scheduler if not default
- If you manually UC/OC the CPU/GPU (mention frequency)
- If you manually adjust UV values then how low (if not kernel default)
PS: If any other Kernel apart from the Poll options then do write about it.
Let me start off
- Stock (rooted) with Franco R15
- Governor Interactive (default)
- I/O Deadline (default)
- No OC/UC done to CPU/GPU (default)
- No UV done (default)
mjehan said:
Best kernel for battery performance and user experience (Lag free).
Please mention:
- Which ROM you are on and the kernel version
- CPU Governor if not default
- I/O Scheduler if not default
- If you manually UC/OC the CPU/GPU (mention frequency)
- If you manually adjust UV values then how low (if not kernel default)
PS: If any other Kernel apart from the Poll options then do write about it.
Click to expand...
Click to collapse
Firstly, should NOT be in this section, maybe in General. Secondly, I'm pretty sure best ROM/kernel threads are not allowed on xda, or so I've been told.
This is not appropriate for a development section. Moved to General.

Adrenobooster

Please help in setting up this file in mini (in terms of performance)
You can give individual entries.
http://forum.xda-developers.com/showthread.php?p=40754443 # post40754443

Categories

Resources