sanders : add restricted cpuset
this will restrict cpu cores to 0-3 Signed-off-by: utsavbalar1231 <utsavbalar1231@gmail.com> Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
committed by
ronaxdevil
parent
02fa67bee3
commit
8eb8b5c536
@@ -269,9 +269,11 @@ on boot
|
|||||||
chown system radio /sys/android_touch/gesture_swipe_up
|
chown system radio /sys/android_touch/gesture_swipe_up
|
||||||
chmod 0660 /sys/android_touch/gesture_swipe_up
|
chmod 0660 /sys/android_touch/gesture_swipe_up
|
||||||
|
|
||||||
|
# cpusets on boot
|
||||||
write /dev/cpuset/top-app/cpus 0-7
|
write /dev/cpuset/top-app/cpus 0-7
|
||||||
write /dev/cpuset/foreground/cpus 0-3,6-7
|
write /dev/cpuset/foreground/cpus 0-3,6-7
|
||||||
write /dev/cpuset/background/cpus 0-3
|
write /dev/cpuset/background/cpus 0-3
|
||||||
|
write /dev/cpuset/restricted/cpus 0-3
|
||||||
write /dev/cpuset/system-background/cpus 0-3
|
write /dev/cpuset/system-background/cpus 0-3
|
||||||
|
|
||||||
# add a cpuset for the camera daemon
|
# add a cpuset for the camera daemon
|
||||||
|
|||||||
Reference in New Issue
Block a user