Hi,
I am writing a test case for hyperthreading (IRQ balance).
#cat /etc/issue
Moblin release 2 (Moblin)
Kernel \r on an \m
Following are the CPUs info:
#cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
...
...
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
...
...
------------------------------------
Issue:
First of all, I set the smp_affinity of particular interrupt. In this case,
I am using eth0.
#echo 1 > /proc/irq/27/smp_affinity
# cat /proc/irq/27/smp_affinity
#1
# cat /proc/interrupts
CPU0 CPU1
0: 67465990 0 IO-APIC-edge timer
27: 286552 0 PCI-MSI-edge eth0
Interrupt count of eth0 on cpu0 is increasing,no interrupt on cpu1.Thats
fine.
-------------------------------------
#echo 2 > /proc/irq/27/smp_affinity
# cat /proc/irq/27/smp_affinity
#2
# cat /proc/interrupts
CPU0 CPU1
0: 67465990 0 IO-APIC-edge timer
27: 286552 291 PCI-MSI-edge eth0
Interrupt count of eth0 only on cpu1 is increasing,no interrupt on
cpu0.Thats also fine.
-------------------------------------
But now, i change the smp_affinity to 3
#echo 3 > /proc/irq/27/smp_affinity
# cat /proc/irq/27/smp_affinity
#3
# cat /proc/interrupts
CPU0 CPU1
0: 67465990 0 IO-APIC-edge timer
27: 286615 291 PCI-MSI-edge eth0
Here Interrupt count of eth0 only on cpu1 is increasing.
It is supposed to be balance now. Am I correct? Pls confirm me,whether this
understanding is correct?
I am unable to get balanced interrupt on both the CPUs
Kindly, provide me your inputs on this issue...
Regards,
Rahul
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on
http://moblin.org once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists