IRQ affinity tweak for ESPRESSOBin
This commit is contained in:
parent
907a6120bb
commit
1033826f17
@ -211,6 +211,13 @@ prepare_board() {
|
||||
echo 8 >/proc/irq/$(awk -F":" "/eth/ {print \$1}" </proc/interrupts | sed 's/\ //g' | head -n1)/smp_affinity
|
||||
echo 7 >/sys/class/net/eth0/queues/rx-0/rps_cpus
|
||||
;;
|
||||
*)
|
||||
case ${BOARD} in
|
||||
espressobin) # try to redistribute eth0 irq to dedicated core
|
||||
echo 2 >/proc/irq/$(awk -F":" '/eth0/ {print $1}' </proc/interrupts | sed 's/\ //g')/smp_affinity 2>/dev/null
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
} # prepare_board
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user