J'aimerais changer l'affinité IRQ SMP pour des raisons, décrites dans cette question : Le CPU0 est submergé par les interruptions de eth1.
Mais je ne peux pas - je vois Input/output error
lorsque j'essaie d'écrire à /proc/irq/*/smp_affinity
.
Veuillez m'indiquer le HOWTO à ce sujet. (Une référence formelle sur /proc/irq/*/
serait aussi cool).
Des détails sanglants :
Notez qu'il s'agit d'une VM (PV domU) à l'intérieur d'un hôte Xen XCP basé sur Ubuntu.
$ uname -a
Linux MYHOST 2.6.38-15-virtual #59-Ubuntu SMP Fri Apr 27 16:40:18 UTC 2012 i686 i686 i386 GNU/Linux
$ lsb\_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
$ sudo cat /proc/irq/\*/smp\_affinity
01
01
01
01
01
80
80
80
80
80
80
40
40
40
40
40
40
20
20
20
20
20
20
10
10
10
10
10
10
08
08
08
08
08
08
04
04
04
04
04
04
02
02
02
02
02
02
01
01
01
01
01
01
Mise à jour. Les détails de l'erreur :
$ N=$(grep -c processor /proc/cpuinfo)
$ echo $N
8
$ printf %x $((2\*\*N-1))
ff
$ printf %x $((2\*\*N-1)) | sudo tee /proc/irq/\*/smp\_affinity
fftee: /proc/irq/288/smp\_affinity: Input/output error
tee: /proc/irq/289/smp\_affinity: Input/output error
tee: /proc/irq/290/smp\_affinity: Input/output error
tee: /proc/irq/291/smp\_affinity: Input/output error
tee: /proc/irq/292/smp\_affinity: Input/output error
tee: /proc/irq/293/smp\_affinity: Input/output error
tee: /proc/irq/294/smp\_affinity: Input/output error
tee: /proc/irq/295/smp\_affinity: Input/output error
tee: /proc/irq/296/smp\_affinity: Input/output error
tee: /proc/irq/297/smp\_affinity: Input/output error
tee: /proc/irq/298/smp\_affinity: Input/output error
tee: /proc/irq/299/smp\_affinity: Input/output error
tee: /proc/irq/300/smp\_affinity: Input/output error
tee: /proc/irq/301/smp\_affinity: Input/output error
tee: /proc/irq/302/smp\_affinity: Input/output error
tee: /proc/irq/303/smp\_affinity: Input/output error
tee: /proc/irq/304/smp\_affinity: Input/output error
tee: /proc/irq/305/smp\_affinity: Input/output error
tee: /proc/irq/306/smp\_affinity: Input/output error
tee: /proc/irq/307/smp\_affinity: Input/output error
tee: /proc/irq/308/smp\_affinity: Input/output error
tee: /proc/irq/309/smp\_affinity: Input/output error
tee: /proc/irq/310/smp\_affinity: Input/output error
tee: /proc/irq/311/smp\_affinity: Input/output error
tee: /proc/irq/312/smp\_affinity: Input/output error
tee: /proc/irq/313/smp\_affinity: Input/output error
tee: /proc/irq/314/smp\_affinity: Input/output error
tee: /proc/irq/315/smp\_affinity: Input/output error
tee: /proc/irq/316/smp\_affinity: Input/output error
tee: /proc/irq/317/smp\_affinity: Input/output error
tee: /proc/irq/318/smp\_affinity: Input/output error
tee: /proc/irq/319/smp\_affinity: Input/output error
tee: /proc/irq/320/smp\_affinity: Input/output error
tee: /proc/irq/321/smp\_affinity: Input/output error
tee: /proc/irq/322/smp\_affinity: Input/output error
tee: /proc/irq/323/smp\_affinity: Input/output error
tee: /proc/irq/324/smp\_affinity: Input/output error
tee: /proc/irq/325/smp\_affinity: Input/output error
tee: /proc/irq/326/smp\_affinity: Input/output error
tee: /proc/irq/327/smp\_affinity: Input/output error
tee: /proc/irq/328/smp\_affinity: Input/output error
tee: /proc/irq/329/smp\_affinity: Input/output error
tee: /proc/irq/330/smp\_affinity: Input/output error
tee: /proc/irq/331/smp\_affinity: Input/output error
tee: /proc/irq/332/smp\_affinity: Input/output error
tee: /proc/irq/333/smp\_affinity: Input/output error
tee: /proc/irq/334/smp\_affinity: Input/output error
tee: /proc/irq/335/smp\_affinity: Input/output error
Mise à jour. irqbalance
est en cours :
$ sudo service irqbalance status
irqbalance start/running, process 560