sdm660-common: Restore better load balancing on boot
As it turned out, allowing background, system-background, restricted, foreground and top-app to use all 8 cores results in severe jitter and lag whenever background tasks are running, whether it be on boot, or during waking up from sleep. This commit readds pinning background to cores 0-1, system-background and restricted to cores 0-3, foreground to cores 0-6 and top-app to cores 0-7. Change-Id: Idb76879e75e05b437600f0b689c260c674eb7eea
This commit is contained in:
parent
875094ccae
commit
d9c301d286
1 changed files with 3 additions and 3 deletions
|
@ -175,10 +175,10 @@ on boot
|
||||||
start vendor.rmt_storage
|
start vendor.rmt_storage
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/audio-app/cpus 1-2
|
write /dev/cpuset/audio-app/cpus 1-2
|
||||||
write /dev/cpuset/foreground/cpus 0-7
|
write /dev/cpuset/foreground/cpus 0-6
|
||||||
write /dev/cpuset/foreground/boost/cpus 0-7
|
write /dev/cpuset/foreground/boost/cpus 0-7
|
||||||
write /dev/cpuset/background/cpus 0-7
|
write /dev/cpuset/background/cpus 0-1
|
||||||
write /dev/cpuset/system-background/cpus 0-7
|
write /dev/cpuset/system-background/cpus 0-3
|
||||||
|
|
||||||
#Create folder dump yuv images while debugging
|
#Create folder dump yuv images while debugging
|
||||||
mkdir /data/vendor/camera 0770 camera camera
|
mkdir /data/vendor/camera 0770 camera camera
|
||||||
|
|
Loading…
Reference in a new issue