netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to distribute irqs of ixgbevf
@ 2011-08-25  8:07 J.Hwan Kim
  2011-08-25  8:21 ` Eric Dumazet
  0 siblings, 1 reply; 4+ messages in thread
From: J.Hwan Kim @ 2011-08-25  8:07 UTC (permalink / raw)
  To: netdev

Hi, everyone

The interrupts of my ixgbevf driver occurs only Core 0
although the user space "irqbalance" serivce is working.

How can I distribute the interrupt of RX in ixgbevf to all cores?

cat /proc/interrupts | grep "isv"
   97:          8          0          0          0          0          
0          0          0   PCI-MSI-edge      isv0-rx-0
   99:          7          0          0          0          0          
0          0          0   PCI-MSI-edge      isv0:lsc
  103:       2059      0          0          0          0          
0          0          0   PCI-MSI-edge      isv2-rx-0
  104:         14        0          0          0          0          
0          0          0   PCI-MSI-edge      isv2-tx-0
  105:          1         0          0          0          0          
0          0          0   PCI-MSI-edge      isv2:mbx

"isv" is netdevice name of my ixgbevf.



Thanks in advance.

Best Regards,

J.Hwan Kim

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to distribute irqs of ixgbevf
  2011-08-25  8:07 how to distribute irqs of ixgbevf J.Hwan Kim
@ 2011-08-25  8:21 ` Eric Dumazet
  2011-08-25 10:00   ` J.Hwan Kim
  2011-08-25 10:19   ` J.Hwan Kim
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Dumazet @ 2011-08-25  8:21 UTC (permalink / raw)
  To: J.Hwan Kim; +Cc: netdev

Le jeudi 25 août 2011 à 17:07 +0900, J.Hwan Kim a écrit :
> Hi, everyone
> 
> The interrupts of my ixgbevf driver occurs only Core 0
> although the user space "irqbalance" serivce is working.
> 
> How can I distribute the interrupt of RX in ixgbevf to all cores?
> 
> cat /proc/interrupts | grep "isv"
>    97:          8          0          0          0          0          
> 0          0          0   PCI-MSI-edge      isv0-rx-0
>    99:          7          0          0          0          0          
> 0          0          0   PCI-MSI-edge      isv0:lsc
>   103:       2059      0          0          0          0          
> 0          0          0   PCI-MSI-edge      isv2-rx-0
>   104:         14        0          0          0          0          
> 0          0          0   PCI-MSI-edge      isv2-tx-0
>   105:          1         0          0          0          0          
> 0          0          0   PCI-MSI-edge      isv2:mbx
> 
> "isv" is netdevice name of my ixgbevf.
> 
> 

Given load is very small, irqbalance chose to send interrupts on a
single cpu.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to distribute irqs of ixgbevf
  2011-08-25  8:21 ` Eric Dumazet
@ 2011-08-25 10:00   ` J.Hwan Kim
  2011-08-25 10:19   ` J.Hwan Kim
  1 sibling, 0 replies; 4+ messages in thread
From: J.Hwan Kim @ 2011-08-25 10:00 UTC (permalink / raw)
  To: netdev

On 2011년 08월 25일 17:21, Eric Dumazet wrote:
> Le jeudi 25 août 2011 à 17:07 +0900, J.Hwan Kim a écrit :
>> Hi, everyone
>>
>> The interrupts of my ixgbevf driver occurs only Core 0
>> although the user space "irqbalance" serivce is working.
>>
>> How can I distribute the interrupt of RX in ixgbevf to all cores?
>>
>> cat /proc/interrupts | grep "isv"
>>     97:          8          0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv0-rx-0
>>     99:          7          0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv0:lsc
>>    103:       2059      0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2-rx-0
>>    104:         14        0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2-tx-0
>>    105:          1         0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2:mbx
>>
>> "isv" is netdevice name of my ixgbevf.
> Given load is very small, irqbalance chose to send interrupts on a
> single cpu.
When I measure cpu load with "top", it indicates CPU load around 99%

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to distribute irqs of ixgbevf
  2011-08-25  8:21 ` Eric Dumazet
  2011-08-25 10:00   ` J.Hwan Kim
@ 2011-08-25 10:19   ` J.Hwan Kim
  1 sibling, 0 replies; 4+ messages in thread
From: J.Hwan Kim @ 2011-08-25 10:19 UTC (permalink / raw)
  To: netdev

On 2011년 08월 25일 17:21, Eric Dumazet wrote:
> Le jeudi 25 août 2011 à 17:07 +0900, J.Hwan Kim a écrit :
>> Hi, everyone
>>
>> The interrupts of my ixgbevf driver occurs only Core 0
>> although the user space "irqbalance" serivce is working.
>>
>> How can I distribute the interrupt of RX in ixgbevf to all cores?
>>
>> cat /proc/interrupts | grep "isv"
>>     97:          8          0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv0-rx-0
>>     99:          7          0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv0:lsc
>>    103:       2059      0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2-rx-0
>>    104:         14        0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2-tx-0
>>    105:          1         0          0          0          0
>> 0          0          0   PCI-MSI-edge      isv2:mbx
>>
>> "isv" is netdevice name of my ixgbevf.
>>
>>
> Given load is very small, irqbalance chose to send interrupts on a
> single cpu.

This is CPU load measured by "top" and my cores are 8.


   PID USER      PR  NI  VIRT  RES  SHR    S     %CPU      %MEM     
TIME+      COMMAND
     3 root         20   0     0     0    0        R       99           
0.0     70:05.48    ksoftirqd/0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-25 10:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25  8:07 how to distribute irqs of ixgbevf J.Hwan Kim
2011-08-25  8:21 ` Eric Dumazet
2011-08-25 10:00   ` J.Hwan Kim
2011-08-25 10:19   ` J.Hwan Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).