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.
More on Performance & the USE Method
What is the USE method?BeginnerMap the USE method to concrete Linux commands.IntermediateWhat is your "first 60 seconds" checklist on a slow server?IntermediateHow do you read vmstat output?IntermediateHow do you read `iostat -xz 1`?IntermediateWhat is sar and why install sysstat on every server?Beginner