Interview Prep/Linux/Performance & the USE Method

What is irqbalance and when should you tune IRQ affinity?

AdvancedProductionPerformance & the USE Method
Answer

irqbalance distributes hardware interrupts across CPUs. On high packet-rate servers (load balancers, proxies), one CPU handling all NIC interrupts saturates with %si. Multi-queue NICs with RSS spread queues across cores:

ethtool -l eth0                     # channels/queues
sudo ethtool -L eth0 combined 8
grep eth0 /proc/interrupts

For single-queue virtual NICs, enable RPS (/sys/class/net/eth0/queues/rx-0/rps_cpus) to spread processing in software.

All Linux questions Roadmap: Linux

More on Performance & the USE Method