From 7914d230493c7a1fc64193e9af0da753f0840bce Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Sun, 13 Dec 2020 19:30:00 -0800 Subject: [PATCH] mask off cores 2-3 from RPS (#2692) old-commit-hash: 15ae9d714fb6b8f141a751f164198fcdd4c28aeb --- launch_chffrplus.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index a7a3ada05b..0b80c62095 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -29,6 +29,10 @@ function two_init { # openpilot gets all the cores echo 0-3 > /dev/cpuset/app/cpus + # mask off 2-3 from RPS and XPS - Receive/Transmit Packet Steering + echo 3 | tee /sys/class/net/*/queues/*/rps_cpus + echo 3 | tee /sys/class/net/*/queues/*/xps_cpus + # *** set up governors *** # +50mW offroad, +500mW onroad for 30% more RAM bandwidth