Performance Tuning
Setting IRQ Affinity
Now lets move the interrupts, remember your core mapping is important
Note that the separate irq for TX and RX
Transmit
# grep eth2 /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
74: 360345 0 0 0 0 0 0 0 PCI-MSI-X eth2-tx0
82: 647960 0 0 0 0 0 0 0 PCI-MSI-X eth2-rx0
90: 0 0 0 0 0 0 0 0 PCI-MSI-X eth2-lsc
# echo 40 > /proc/irq/74/smp_affinity
# echo 80 > /proc/irq/82/smp_affinity
Receive
# grep eth2 /proc/interrupts
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
194: 6477 0 0 0 0 0 0 0 PCI-MSI-X eth2
202: 5795405 0 0 0 0 0 0 0 PCI-MSI-X eth2(queue0)
# echo 40 > /proc/irq/194/smp_affinity
# echo 80 > /proc/irq/202/smp_affinity