Re: Question: How to distribute the interrupts over multiple cores?

From: Lin Feng
Date: Mon Mar 25 2013 - 03:02:40 EST




On 03/25/2013 02:46 PM, Lenky Gao wrote:
>> Do you mean on your old machine the irq will be distributed automatically
>> among the cpus set by smp_affinity?
>>
>
> Yes. My another machine's interrupts are as follows:
And without irqbalance service? It sounds weird to me..

thanks,
linfeng

>
> [root@localhost ~]# cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 23
> model name : Pentium(R) Dual-Core CPU E6700 @ 3.20GHz
> ...
> [root@localhost ~]# echo 3 > /proc/irq/18/smp_affinity
> [root@localhost ~]# cat /proc/irq/18/smp_affinity
> 3
> [root@localhost ~]# cat /proc/interrupts | grep eth2
> 18: 455 458 IO-APIC-fasteoi eth2
> [root@localhost ~]# cat /proc/interrupts | grep eth2
> 18: 463 467 IO-APIC-fasteoi eth2
> [root@localhost ~]# cat /proc/interrupts | grep eth2
> 18: 471 476 IO-APIC-fasteoi eth2
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/