mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
rosemary: Reduce number of CPUs for system-background apps
system-background isn't too heavy load to handle where cpuset gives it 6 CPUs to rely on. Reduce it to 4 CPUs, effectively reducing CPU power load.
This commit is contained in:
committed by
Matsvei Niaverau
parent
72fb69f423
commit
93ec25bdf8
@@ -48,7 +48,7 @@ on init
|
|||||||
write /dev/cpuset/foreground/cpus 0-7
|
write /dev/cpuset/foreground/cpus 0-7
|
||||||
write /dev/cpuset/foreground/boost/cpus 0-7
|
write /dev/cpuset/foreground/boost/cpus 0-7
|
||||||
write /dev/cpuset/background/cpus 0-3
|
write /dev/cpuset/background/cpus 0-3
|
||||||
write /dev/cpuset/system-background/cpus 0-5
|
write /dev/cpuset/system-background/cpus 0-3
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
|
|
||||||
on late-init
|
on late-init
|
||||||
|
|||||||
Reference in New Issue
Block a user