irqbalance
irqbalance 会自动忽略 isolcpus 隔离的核:
From Red Hat Enterprise Linux 7.2, the irqbalance tool automatically avoids IRQs on CPU cores isolated via the isolcpus= kernel parameter if IRQBALANCE_BANNED_CPUS is not set in the /etc/sysconfig/irqbalance file.
查看启动了irqbalance服务以后,硬盘和网络中断是在哪个cpu上处理:
~$ cat /proc/interrupts
参考资料
Is there still a use for irqbalance on modern hardware?
https://serverfault.com/questions/513807/is-there-still-a-use-for-irqbalance-on-modern-hardware
INTERRUPT AND PROCESS BINDING
Introduction to Linux Interrupts and CPU SMP Affinity
https://www.thegeekstuff.com/2014/01/linux-interrupts/
Linux: scaling softirq among many CPU cores
http://natsys-lab.blogspot.com/2012/09/linux-scaling-softirq-among-many-cpu.html
最后修改于 2019-02-11