FORUMS

[WIP] Crimson Kernel [EAS] [8.1.0/9.0]

628 posts
Thanks Meter: 1,390
 
By sys01, Senior Member on 4th November 2018, 05:44 PM
Post Reply Email Thread
Hi everyone
As title shows, this is a WIP project
(I don't own the device, all builds are blind!)

What is EAS?
Energy Aware Scheduling (EAS) is an enhancement to Linux power management, unifying CPU power control under the Linux kernel. EAS extends the Linux kernel scheduler to make it fully aware of the power/performance capabilities of the CPUs in the system, to optimize energy consumption for advanced multi-core SoCs including big.LITTLE. With EAS, the Linux kernel will use the task load and a CPU ‘Energy Model’ to control task placement to select the optimal CPU to run on.

Google thinks, EAS is the way to go for the future. With this kernel you can get pixel (2) experience even before the pixel (2) is released.

Interesting links for further research:
https://www.xda-developers.com/googl...oid-phone-eas/
https://developer.arm.com/open-sourc...are-scheduling

Features
- Full EAS 1.3 implementation (based on EAS Project and LineageOS official kernel)
- Works on HMP ROMS too (you need to use sched/schedutil, HMP stuff are removed from kernel, otherwise you'll face freqs stuck at 100%)
- STune Boost for better battery and performance
- F2FS supported
- Tweaks and changes under the hood

Feel free to try and report your feedback (and logs too)

Download here

Installation
- Reboot to TWRP
- Backup your current boot.img
- Flash the kernel
- Reboot!

Sources here

Credits
@OrdenKrieger
@jcadduono
@joshuous (EAS Project)
And everyone worked for this device and LineageOS bring-up
The Following 17 Users Say Thank You to sys01 For This Useful Post: [ View ] Gift sys01 Ad-Free
4th November 2018, 05:47 PM |#2  
sys01's Avatar
OP Senior Member
Flag Fermignano
Thanks Meter: 1,390
 
Donate to Me
More
Changelog

04/11
- Initial release

07/11
- Completely rebased over the latest CAF Oreo Tag (LA.UM.6.6, it *should* work on Pie, but not guaranteed!)
- 3.18.124
- Completely re-done EAS
- New LMK for better RAM managment
- Android upstream for AIO (check if MTP works better or worse than before)
- Better battery and performance
The Following 5 Users Say Thank You to sys01 For This Useful Post: [ View ] Gift sys01 Ad-Free
4th November 2018, 09:12 PM |#3  
Member
Thanks Meter: 18
 
More
EAS - Energy Aware Scheduling
WIP - Work in Progress
HMP - Heterogeneous Multi-Processing
HAL - Hardware abstraction layer

Do you plan to update the kernel on a regular base?
The Following User Says Thank You to sklaes For This Useful Post: [ View ] Gift sklaes Ad-Free
4th November 2018, 10:02 PM |#4  
sys01's Avatar
OP Senior Member
Flag Fermignano
Thanks Meter: 1,390
 
Donate to Me
More
Quote:
Originally Posted by sklaes

EAS - Energy Aware Scheduling
WIP - Work in Progress
HMP - Heterogeneous Multi-Processing
HAL - Hardware abstraction layer

Do you plan to update the kernel on a regular base?

When there are major changes to be applied - then yes
Otherwise makes no sense to push update with little to no changes at all

You tested it?
5th November 2018, 12:37 AM |#5  
Senior Member
Querétaro
Thanks Meter: 124
 
More
Currently testing it on LOS16. Boots just fine, I'm charging the phone to 100% now to give it a go and I'll be back with some feedback tomorrow. So far everything I've tested works fine.
5th November 2018, 05:07 AM |#6  
Member
Thanks Meter: 18
 
More
Not jet, but EAS sounds interesting

Update: installed - currently testing
5th November 2018, 05:47 AM |#7  
Senior Member
Flag Portland, OR
Thanks Meter: 254
 
More
@sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?

Thanks![COLOR="Silver"]

---------- Post added at 07:47 AM ---------- Previous post was at 07:46 AM ----------

[/COLOR @sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?

Thanks!
5th November 2018, 09:06 AM |#8  
Senior Member
Flag Gelderland
Thanks Meter: 208
 
More
i use this now on dotos oreo with f2fs data.But on interactive the cpu freq stays on max,whatsup with this?
The Following User Says Thank You to Predatorhaze For This Useful Post: [ View ] Gift Predatorhaze Ad-Free
5th November 2018, 09:26 AM |#9  
Senior Member
Flag Portland, OR
Thanks Meter: 254
 
More
@Predatorhaze: So, you say this kernel works with F2FS data on DotOS Oreo? I literally just tried that a few days ago, but with Hellsgate/Schwifty kernels, no go. But maybe I'll try again now. Thanks for the heads up!
5th November 2018, 09:28 AM |#10  
sys01's Avatar
OP Senior Member
Flag Fermignano
Thanks Meter: 1,390
 
Donate to Me
More
Quote:
Originally Posted by Predatorhaze

i use this now on dotos oreo with f2fs data.But on interactive the cpu freq stays on max,whatsup with this?

This is an EAS kernel, you need to use sched/schedutil (interactive gov won't work anymore)
The Following 2 Users Say Thank You to sys01 For This Useful Post: [ View ] Gift sys01 Ad-Free
5th November 2018, 09:29 AM |#11  
sys01's Avatar
OP Senior Member
Flag Fermignano
Thanks Meter: 1,390
 
Donate to Me
More
Quote:
Originally Posted by AnonVendetta

@sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?

Thanks![COLOR="Silver"]

---------- Post added at 07:47 AM ---------- Previous post was at 07:46 AM ----------

[/COLOR @sys01: You've said that it works on ROMs based on LineageOS. But does it work on ROMs that are based on AOSP? Is F2FS supported for data and cache partitions?

Thanks!

F2FS is supported, I'll update the thread to explain that better
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes