Lean kernel v1.9!
v1.9 is up:
https://github.com/imoseyon/leanKernel-shamu/wiki/Lollipop-ChangeLog
This is a huge update, with the biggest change being the power aware cpu scheduler. This feature is somewhat experimental (although it's been tested by various people quite a bit), please report here if you notice any performance or battery related changes. More on this below.
I've also completely refactored lkconfig to be more robust (including "lk" symlink). In addition, lkconfig now includes vibe strength config and cpu scheduler powersaving option.
What is Power Aware Scheduling?
Somewhere between Linux 3.4 and Linux 3.10, mainline Linux contributors pulled power savings feature (“sched_smt_power_savings”) from CPU scheduler, probably because it never worked well anyway. And there’s been multiple RFCs to replace it with something better but none has been incorporated, and honestly I wouldn’t hold my breath.
I picked one of the implementations for leanKernel v1.9, written by Alex Shi (intel). This is the same implementation some of you tested in leanKernel v1.8.3. Both Franco and I (we talked offline) like this implementation because it’s simpler and less likely to cause issues moving forward.
Power aware scheduling will basically attempt to “pack” small tasks into the “leftmost” CPU cores (ie. starting cpu0) to keep the other cpu cores as idle as possible, instead of spreading them evenly across all online cores. Theoretically this should produce higher power efficiency, although I think the jury is still out. Also, theoretically performance should take a tiny hit (when powersaving mode is enabled) but I haven’t noticed any in my own testing. To take full advantage, you need to enable “powersaving” mode - you can do this via lkconfig.
Skickat från min Nexus 6 via Tapatalk 2
Click to expand...