Cpu Affinity

from 宋宝华:
https://www.toutiao.com/article/6937097613720191520/

1
2
3
4
5
6
7
8
9
10
11
12
# grub.cfg, cpu order number starts from 0.
	linux ... isolcpus=2
 
# bash
taskset -cp 2 662
cat /proc/interrupts
cat /proc/irq/44/smp_affinity
 
# make menuconfig
NO_HZ_FULL
NO_HZ_IDLE
Documentation/timers/no_hz.rst