Skip to content

Commit

Permalink
martini: init: Move background cpuset to CPU0-1
Browse files Browse the repository at this point in the history
Background tasks are not UX-critical.
Free up cores to work on more important
UX tasks.

Change-Id: Ic676e7c4ce87e35dcca8c5fd75ee601810190d15
Signed-off-by: Adithya R <[email protected]>
  • Loading branch information
xboxfanj authored and inferno0230 committed Feb 17, 2023
1 parent ed7cfd0 commit f331de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/init.kernel.post_boot-lahaina.sh
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ echo 325 > /proc/sys/kernel/walt_low_latency_task_threshold

# cpuset parameters
echo 0-6 > /dev/cpuset/foreground/cpus
echo 0-3 > /dev/cpuset/background/cpus
echo 0-1 > /dev/cpuset/background/cpus
echo 0-3 > /dev/cpuset/system-background/cpus

#cpu cgroup
Expand Down

0 comments on commit f331de9

Please sign in to comment.