1) Set zRam size to 1GB for 3GB and above targets
Increasing the swappiness and zRam size improves zRam savings and app concurrency.
2) Corrected the vmpressure_file_min value.
CRs-Fixed: 2176961
Change-Id: I4eb71110f35f67b984bea4106d6cec3c2586d024
* When a device with hundreds of apps is booted up, hundreds of
apps will spawn their BOOT_COMPLETED receivers which start
up their background initialization services. Since only one
core is allowed for these processes, the time for all these
services to complete is extremely long.
* To improve this, allow three cores for background processes,
keeping the fourth for idle wakeups. This ends up producing
a better thermal profile for the device as well, since the
small cores are not the aggressor on this SoC.
Change-Id: I98bbf8bf565bd77066ff7726014e6fa5730a4e09
LineageOS has several UX improvements making use of BFQ's
cgroups interface. Switch to BFQ once boot is complete
to take advantage of these improvements.
Change-Id: I63299e8d2c27b207af3427ac184a2a4ff4da25f5
Will revisit.
Most likely MIUI's 'memory optimizations' do this
instead of using the traditional init scripts.
Change-Id: Ie168d05fa3f9fd1f5d2d995559a0bcc5cb2745d5
This makes it such that we can be more versatile in applying
our power configuration (recovery, different init triggers, etc.)
This will not be included in init.qcom.rc until this is verified.
Change-Id: I3a721ee8f31129f80662c752c370e951a4f80c38