On 2025-03-28 13:04:47 [+0100], Pavel Pisa wrote: > Hello Marc and Sebastian, > Hi Pavel, … > #!/bin/bash > > NAPI_PRIO=80 > > if (( $# != 1 )); then > echo "Need 1 argument (value 0 or 1)" >&2 > exit 1 > fi … > for ifc in can2 can3 can4 can5 ; do > echo $1 > /sys/class/net/$ifc/threaded > done > > if [ $1 -eq 1 ] ; then > PIDS=$(ps -e | grep -E napi/can[0-9]+-[0-9] | tr -s ' ' | cut -d ' ' -f2) > for pid in $PIDS ; do > echo "Setting RT priority $NAPI_PRIO for $pid" > chrt -f --pid $NAPI_PRIO $pid > done > fi The IRQ thread should be limited to one CPU which is the same where the IRQ it itself is set to. I don't think that this done the NAPI thread automatically so it is probably free floating in the system. Sebastian