lkml.org 
[lkml]   [2013]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question: How to distribute the interrupts over multiple cores?
Hi Gao,

On 03/25/2013 10:33 AM, Lenky Gao wrote:
> [root@localhost ~]# echo 6 > /proc/irq/25/smp_affinity
> [root@localhost ~]# cat /proc/irq/25/smp_affinity
> 000006
Seems you bind the nic irq to second and third cpu for the bit mask
you set is 110, so now eth9's irq is working on the 3rd cpu.

Have you ever tried irqbalance service? It may help to balance irq if the
irq workload of 3rd cpu is too heavy.

thanks,
linfeng
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13914 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13927 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13939 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9
> [root@localhost ~]# cat /proc/interrupts | grep eth9
> 25: 5824 13973 159 128 210
> 0 0 0 IR-IO-APIC-fasteoi eth9


\
 
 \ /
  Last update: 2013-03-25 04:41    [W:0.048 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site