
SMP ˤ IRQ ե˥ƥIngo Molnar <mingo@redhat.com> ˤ


/proc/irq/IRQ#/smp_affinity ϡ IRQ γߤɤ
å CPU ĤƤ뤫򼨤ƤޤϵĤ줿 CPU
ΥӥåȥޥȤʤޤ٤Ƥ CPU 򥪥դˤ뤳ȤϵƤޤ
⤷ IRQ ȥ餬 IRQ ե˥ƥ򥵥ݡȤƤʤϡ
ͤϥǥե 0xffffffff ΤޤޤȤʤޤ

ʲϡIRQ44 (eth1)  CPU0-3 Τߤ¤θ IRQ  CPU4-7 Τߤ
¤ƤǤ ( 8-CPU  SMP ܥåǤ):

[root@moon 44]# cat smp_affinity
ffffffff
[root@moon 44]# echo 0f > smp_affinity
[root@moon 44]# cat smp_affinity
0000000f
[root@moon 44]# ping -f h

(:  ping -f hell ǤϤʤȻפ)

PING hell (195.4.7.3): 56 data bytes
...
--- hell ping statistics ---
6029 packets transmitted, 6027 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.4 ms
[root@moon 44]# cat /proc/interrupts | grep 44:
 44:          0       1785       1785       1783       1783          1
1          0   IO-APIC-level  eth1
[root@moon 44]# echo f0 > smp_affinity
[root@moon 44]# ping -f h

(:  ping -f hell ǤϤʤȻפ)

PING hell (195.4.7.3): 56 data bytes
..
--- hell ping statistics ---
2779 packets transmitted, 2777 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.5/585.4 ms
[root@moon 44]# cat /proc/interrupts | grep 44:
 44:       1068       1785       1785       1784       1784       1069       1070       1069   IO-APIC-level  eth1
[root@moon 44]#

======================================================================
: JF ץ <http://www.linux.or.jp/JF/>
:   <inoue@mxg.nes.nec.co.jp>
: ˧ ˤ <yasufumi.haga@nifty.com>
