Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2947f5d5 authored by Shai Barack's avatar Shai Barack
Browse files

Increase MAX_CACHED_PROCESSES config

For rationale, see: b/373735578#comment23

In performance testing, this improves performance on devices with
high RAM as they're able to reduce cold starts.
This regresses performance on low RAM devices because we spend
time freezing processes that we'll have to kill shortly anyway
due to LMK.
I'm seeing the same results consistently across a wide range of
form factors (phones, tablets, watches, TVs, automotive head
units).

Bug: 373735578
Bug: 374811976
Flag: EXEMPT config XML change
Change-Id: Id9c106151397796f75f67d87ff66d63efb5eb01d
parent 0a884b6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6547,7 +6547,7 @@
    </string-array>

    <!-- the number of the max cached processes in the system. -->
    <integer name="config_customizedMaxCachedProcesses">32</integer>
    <integer name="config_customizedMaxCachedProcesses">1024</integer>

    <!-- Whether this device should support taking app snapshots on closure -->
    <bool name="config_disableTaskSnapshots">false</bool>