|
|
@ -12,8 +12,8 @@ function two_init { |
|
|
|
# Restrict Android and other system processes to the first two cores |
|
|
|
# Restrict Android and other system processes to the first two cores |
|
|
|
echo 0-1 > /dev/cpuset/background/cpus |
|
|
|
echo 0-1 > /dev/cpuset/background/cpus |
|
|
|
echo 0-1 > /dev/cpuset/system-background/cpus |
|
|
|
echo 0-1 > /dev/cpuset/system-background/cpus |
|
|
|
echo 0-1 > /dev/cpuset/foreground/boost/cpus |
|
|
|
|
|
|
|
echo 0-1 > /dev/cpuset/foreground/cpus |
|
|
|
echo 0-1 > /dev/cpuset/foreground/cpus |
|
|
|
|
|
|
|
echo 0-1 > /dev/cpuset/foreground/boost/cpus |
|
|
|
echo 0-1 > /dev/cpuset/android/cpus |
|
|
|
echo 0-1 > /dev/cpuset/android/cpus |
|
|
|
|
|
|
|
|
|
|
|
# openpilot gets all the cores |
|
|
|
# openpilot gets all the cores |
|
|
|