I want to compare the performance of the EAS scheduler with other task schedulers. As far as I understood from the documentation, there are several schedulers in the kernel, and at a certain point in time, one scheduler can be selected by the kernel, which is responsible for distributing all tasks among the processor's cores.
I have Xiaomi Redmi 9A with Android 10 and kernel version 4.9.190. The default task scheduler is EAS, but I want to try installing another scheduler (regular CFS, for example, or some custom one). I suspect that this requires patching the sources and recompiling the kernel, but I can't find any information on which configuration files I need to change and how to get the desired scheduler to be used in the compiled kernel. But maybe I'm wrong and there is another way to change the current scheduler at runtime through the kernel api. (Yes, I have read about sched_setscheduler, and from the description, this is not what I need. I need to change the scheduler to which all created threads are assigned by default.)
In any case, I would appreciate any information about switching schedulers. And about the schedulers themselves, because I'm not sure that I understood the principle of their work correctly. (After 2 months of googling, I realized that my skills were failing me, which brought me here)
thofyb said:
I want to compare the performance of the EAS scheduler with other task schedulers. As far as I understood from the documentation, there are several schedulers in the kernel, and at a certain point in time, one scheduler can be selected by the kernel, which is responsible for distributing all tasks among the processor's cores.
I have Xiaomi Redmi 9A with Android 10 and kernel version 4.9.190. The default task scheduler is EAS, but I want to try installing another scheduler (regular CFS, for example, or some custom one). I suspect that this requires patching the sources and recompiling the kernel, but I can't find any information on which configuration files I need to change and how to get the desired scheduler to be used in the compiled kernel. But maybe I'm wrong and there is another way to change the current scheduler at runtime through the kernel api. (Yes, I have read about sched_setscheduler, and from the description, this is not what I need. I need to change the scheduler to which all created threads are assigned by default.)
In any case, I would appreciate any information about switching schedulers. And about the schedulers themselves, because I'm not sure that I understood the principle of their work correctly. (After 2 months of googling, I realized that my skills were failing me, which brought me here)
Click to expand...
Click to collapse
@thofyb
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Oneplus 8 Pro Q&A.
Regards
Oswald Boelcke
Senior Moderator
Related
I just found a way to overclock the GPU on all xperias. Need some testers, but remember, it might damage your device!
I will releasing here test kernels for X8, but these MIGHT DAMAGE your devices, so you flashing on your own.
XDA:DevDB Information
Pepejson-Kernel, a Kernel for the Sony Ericsson XPERIA X8
Contributors
mamutos
Kernel Special Features:
Version Information
Status: Testing
Created 2013-11-05
Last Updated 2013-11-05
I compiled the first version, but have probably a bad ramdisk, not even the logo shows up and gets into bootloop.
I need nAa-jb-06 ramdisk. @nobodyAtall Can you share it with me ?
Thanks.
1. We need a "little bit" more information about this project
2. The kernel is GPL protected, need the source (to identify what is your work and who worked with the kernel earlier)
3. The "original development" section need at least one idea what not exists on this device.
4. The "GPU overclock": with the msm7x27 SoC, the GPU clock is LOCKED, always run on the axi bus speed, you can't set it separately. You can set the GPU speed if you play with the axi bus speed in the acpuclock.c, but this is not a new idea.
5. The overclock of the GPU in our msm7227 SoC is theoretically unusable, because our adreno200 is cpu limited in most case. Just check the same gpu in the qsd8250, and you can see, with more powerful cpu this gpu can perform much better (on same clock)
This is NOT an offense, I just point to some thing before tons of idiot questions arrived about the project.
So, better if you correct the opening post and give the required informations, and folloew the forum rules (before you get a warning from a moderator, for example: due the missing sources)
PS.: you can cut the ramdisk from the precompiled nAa-06 kernel. I you have the knowledge to make new gpu overclock method, this is easy work...
PS.2.: Okay, just find the lz4 header in the kernel.sin, and delete everything before this and you can get the original nAa-06 ramdisk
Last note: maybe I wrote incorrect informations, the more experienced members/developers can correct it.
EDIT: the to overclock the gpu on all xperias is nonsence, because the xperia family have different gpus. (the most is adreno powered, but the phones with novathor SoC have Mali 400MP, or the xperia C have PowerVRSGX544)
I don't understand this kind of thread , first test then post it and do a favor for all do not create it in original DEV section this is not belong here .
Thanks whore?
Sent from my E15i using Tapatalk 2
pilu1978 said:
4. The "GPU overclock": with the msm7x27 SoC, the GPU clock is LOCKED, always run on the axi bus speed, you can't set it separately. You can set the GPU speed if you play with the axi bus speed in the acpuclock.c, but this is not a new idea.
Click to expand...
Click to collapse
I don't knew that. Sorry
Topic to remove.
Yet again this highlights the fragmentation of development here.
@op - I you had performed a search or even browsed here a little you would seen active kernel development.
You unwillingness to ask to join such a group of guys or even just post in their threads to contribute leads me to thinking you're a glory hunter.
And then when you ask nAa to just send you his ramdisk I honestly nearly wet myself.
Thanks for the laugh chap - I'm even gonna thank you for it
Hi everyone!
I have a nexus 5 with Android 4.4.4 (hammerhead). I would like to make few changes to the io scheduler (fair scheduler for example) but I am not sure where to start. I hope someone can guide me
The thing that I want to modify in the io scheduler is to add two steps:
1) before selecting the next task to run, check its pid to recognize if it is a task of a specific process
2) schedule it on a specific core, or migrate it to a specific core
Forgive me if I am lacking of more details but I am relatively new to kernel stuff
Does anyone have any suggestion on how to add those 2 steps?
Thanks
Maybe the question is too narrow...Even a guide to understand the source code of the CFS scheduler implemented in Android would be more than fine at this point...I could not find a good one. Any suggestion for where I can find an explanation of the CFS source code?
Solved
brok85 said:
Maybe the question is too narrow...Even a guide to understand the source code of the CFS scheduler implemented in Android would be more than fine at this point...I could not find a good one. Any suggestion for where I can find an explanation of the CFS source code?
Click to expand...
Click to collapse
Never mind...thanks anyway!
I have solved by setting the affinity of a given process to a specific core.
I have never rooted it or touched my g850 's kernel, it is 5.0.2 lollipop and kernel version is 3.10.9-8213318.
I want to benchmark performance and power consumption on exynos5430 with HMP scheduler and Energy Aware Scheduler.
I have 2 questions about that.
Is my g850's kernel include HMP scheduler(Global task scheduler)? I mean, does it applied on my kernel and my g850's processor is running with HMP Scheduler without any configuration?
And, If I want to install 3.18 kernel which include Energy Aware Scheduler, what kind of defconfig i have to use?
I checked arch/arm/config, but there are only arm's fundamental defconfig files.(like acs5k, armadillo, exynos, versatile .... etc)
Is there any defconfig for g850? or can I use 5430-base_defconfig(I can't paste link here)?
I've been built kernel for linux, but I'm new to android, so I wish you guys help me for this...
I have never rooted it or touched my g850 's kernel, it is 5.0.2 lollipop and kernel version is 3.10.9-8213318.
I want to benchmark performance and power consumption on exynos5430 with HMP scheduler and Energy Aware Scheduler.
I have questions about this.
Is my g850's kernel include HMP scheduler(Global task scheduler)? I mean, does it applied on my kernel and my g850's processor is running with HMP Scheduler without any configuration?
And, If I want to compile 3.18 kernel which include Energy Aware Scheduler, what kind of defconfig do I have to use?
I checked arch/arm/config, but there are only arm's fundamental defconfig files.(like acs5k, armadillo, exynos, versatile .... etc)
Is there any defconfig for g850? or can I use 5430-base_defconfig(I can't paste link here)?
If I compiled 3.18 kernel, How can I install it on my device? I tried to unpack original rom and change kernel image, but it's md5 file, so I dunno how to. Is there any ONE SIMPLE WAY to just install my zimage on my device? or appropriate guide to install it on g850. I found bunch of guides on google, but most of the uses nexus.
I'm so desperate to do this, I wish I can get an answer here. Thanks
I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
sactownie said:
I have had this phone a year now and seems to get slower and slower. I used to be able to download kernels to overclock other phones in the past. Is this possible with this phone?
Click to expand...
Click to collapse
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
LAST_krypton said:
You can flash a custom kernel for this phone too if someone has made it. A custom kernel will always be better then the stock. After flashing a custom kernel or you can use stock one, install a kernel manager (I like smart pack) and set CPU BIG and SMALL CLUSTERS to highest frequencies and set the scailing_governor to performance. GPU increse frequencies to max and set governor if you can to performance. Disable SE LINUX (only if you know what you are doing)
These may help:
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...
forum.xda-developers.com
LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...
forum.xda-developers.com
Click to expand...
Click to collapse
Thanks for the info, I have installed smart pack and tweeked some settings, phone seems a lot snappier now.