blob: e50a08eb9850b4bff77e11e2a705753271087731 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
**Host IRQ affinity**
Changing the default pinning of every IRQ to core 0. (Same does apply on both
guest VM and host OS)
::
$ for l in `ls /proc/irq`; do echo 1 | sudo tee /proc/irq/$l/smp_affinity; done
**Host RCU affinity**
Changing the default pinning of RCU to core 0. (Same does apply on both guest VM
and host OS)
::
$ for i in `pgrep rcu[^c]` ; do sudo taskset -pc 0 $i ; done
**Host Writeback affinity**
Changing the default pinning of writebacks to core 0. (Same does apply on both
guest VM and host OS)
::
$ echo 1 | sudo tee /sys/bus/workqueue/devices/writeback/cpumask
|