irq 默認linux自動啓動的,可是每每它本身控制不是很好(CPU SI常常某個CPU佔用大)linux
一般碰到大流量的,一般咱們會把自動啓動的irqblance關閉,而後手動指定一下IRQ進行優化:ide
例子:我本機是8核心的。。。。個人操做是。。。。get
/etc/init.d/irqbalance stop
echo 1 > /proc/irq/59/smp_affinity
echo 2 > /proc/irq/60/smp_affinity
echo 4 > /proc/irq/61/smp_affinity
echo 8 > /proc/irq/62/smp_affinity
echo 10 > /proc/irq/63/smp_affinity
echo 20 > /proc/irq/64/smp_affinity
echo 40 > /proc/irq/65/smp_affinity
echo 80 > /proc/irq/66/smp_affinityit