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:
parent
f59a29ebca
commit
57529f46ec
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ on boot
|
||||||
# Reserve CPU 7 for the top app
|
# Reserve CPU 7 for the top app
|
||||||
write /dev/cpuset/foreground/cpus 0-6
|
write /dev/cpuset/foreground/cpus 0-6
|
||||||
write /dev/cpuset/foreground/boost/cpus 0-3
|
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/system-background/cpus 4-6
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/camera-daemon/cpus 4-7
|
write /dev/cpuset/camera-daemon/cpus 4-7
|
||||||
|
|
Loading…
Reference in a new issue