land: Give additional cores to background cpuset

* 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
This commit is contained in:
Steve Kondik 2017-08-11 09:51:07 +02:00 committed by Prateek Chaubey
parent f59a29ebca
commit 57529f46ec

View file

@ -16,7 +16,7 @@ on boot
# Reserve CPU 7 for the top app
write /dev/cpuset/foreground/cpus 0-6
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 4-5
write /dev/cpuset/background/cpus 4-6
write /dev/cpuset/system-background/cpus 4-6
write /dev/cpuset/top-app/cpus 0-7
write /dev/cpuset/camera-daemon/cpus 4-7