runsisi's

technical notes

irqbalance

2019-02-11 runsisi#linux

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 IRQBALANCEBANNEDCPUS 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

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/tuning_guide/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