mask off cores 2-3 from RPS (#2692)

old-commit-hash: 15ae9d714f
commatwo_master
Adeeb Shihadeh 4 years ago committed by GitHub
parent c09d84218d
commit 7914d23049
  1. 4
      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

Loading…
Cancel
Save