CPU speed controller
VivekA module that realizes intelligent frequency regulation through schedhorizon speed regulator + EAS scheduler + CFS scheduler
CPU speed controller (CS scheduler)
🌟introduce
1. This project is an intelligent CPU scheduler written in C++.
2. This scheduler depends on the schedhorizon governor, EAS scheduler and CFS scheduler
. 3. This scheduler is exclusive to the ZTC kernel. Of course, other kernels can also use it, but the effect is not as good as the ztc kernel.
✅Working conditions
1. Currently this schedule is applicable to Android 12-15
2. Kernel requirements: GKI kernel 5.10-5.15 PS: Pandora and Marisa kernels are not recommended for use together
📲Install
1. After downloading, flash it through Magisk Manager. The Magisk version should be no less than 20.4
⚙️Change the default startup mode
1. Open /sdcard/Android/MW_CpuSpeedController/config.txt
2. The available gears are powersave balance performance fast
2. After restarting, check /sdcard/Android/MW_CpuSpeedController/log.txt to check whether CS scheduling starts normally
🤖Performance mode switching
Powersave power saving mode ensures basic fluency while minimizing power consumption. It is recommended for daily use.
Balance mode is slightly smoother and slightly more power-efficient than the original mode. It is recommended for daily use
. Performance mode ensures power saving while providing a little more fluency. It is recommended for games to use
Fast mode.
• When Qualcomm devices switch to high-speed mode, the Walt governor will be used and the parameters of the Walt governor will be optimized to ensure a more stable gaming experience. PS: This may result in a partial increase in power consumption.
• When MediaTek devices switch to extreme speed mode, they will use the schedutil governor to balance power consumption while ensuring smooth operation. PS:CS scheduling will not make any adjustments to the parameters of the schedutil governor.
⚙️Use of CSController
The role of CSController has been reduced. It is currently only used to configure the application list. After entering the software,
you only need to use the application configuration function. Other functions will either lose their function or affect the operation of the module. In the next version,
CSController will be refactored to retain only the necessary functions.
❓Frequently asked questions
Q: Does it have a negative impact on standby power consumption?
A: The implementation of CS scheduling has made a lot of low-power optimizations. Thanks to the C++ language, the power consumption of its own operation is very low.
Q: Why is the power consumption still so high after using CS scheduling?
A: The power consumption of the AP part of SOC mainly depends on the amount of calculation and the frequency used. CS scheduling can only control performance release and improve frequency to reduce power consumption. If the background APP has a large amount of calculation, it will not be able to significantly extend battery life. This problem can be located through the Process Manager of the Scene Toolbox.
Q: Why is my game's core load abnormal?
A: Enable load balancing. PS: Feedback is not allowed in the old version
Q: When will the XXXX version be updated?
A: Please send the content that needs to be updated to my email address.Email:mowei2077@gmail.com.Q: Do I need to adjust the EAS scheduler?
A: CS scheduler in version 8.0 will automatically adjust the parameters of the EAS scheduler, without the need for users to adjust them themselves.
Q: How do I make sure my device has the Perfmgr kernel module?
A: Turn on the Feas switch of CS scheduling and switch it to extreme speed mode. CS scheduling will automatically identify whether it has the Perfmgr kernel module. If it does, Feas will be enabled. If not, an error will be thrown in the log. PS: If Feas is required, it is recommended to flash the VK kernel. Currently, CS scheduling has been connected to the Feas function of the VK kernel.
☀️Detailed Introduction
The speed controller used by CS scheduling is schedhorizon walt schedutil
, so in some scenarios, the schedhorizon speed controller will have a faster response speed, performance stability or resource utilization than the Powersave speed controller. Appropriate scheduling strategy can ensure that the system performs well under different loads.
Without further ado, let's get into the key configuration documents of this article
💥PS: Starting from CS Scheduling Version 10.9, you do not need to restart the device after modifying the configuration file.
❄️ Changelog
📣 Join: @magiskrootport
📣 Join: @mrpstorage
💬 Chat: @mrpdiscussion