Re: bnx2/BCM5709: why 5 interrupts on a 4 core system (2.6.33.3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Krzysztof Olędzki
Date: Sunday, May 16, 2010 - 2:12 pm

On 2010-05-16 22:47, Eric Dumazet wrote:

What do you mean by "wont hash the destination address, only the 
skb->protocol"? It won't hash the destination address for ICMP or for 
all IP protocols?

My normal workload is TCP and UDP based so if it is only ICMP then there 
is no problem. Actually I have noticeably more UDP traffic than an 
average network, mainly because of LWAPP/CAPWAP, so I'm interested in 
good performance for both TCP and UDP.

During my initial tests ICMP ping showed the same behavior like UDP/TCP 
with iperf, so I sticked with it. I'll redo everyting with UDP and TCP 
of course. :)


I mean to receive it on a one CPU and to send it on a different one. I 
would like to assing different vectors (eth1-0 .. eth1-4) to different 
CPUs, but with bnx2x+bonding packets are received on queues 1-4 (eth1-1 
.. eth1-4) and sent from queue 0 (eth1-0). So, for a one packet, two 
different CPUs will be involved (RX on q1-q4, TX on q0).


Thanks! If I get it right: with the patch, packets should be sent using 
the same CPU (queue?) that was used when receiving?


It may not be perfect, but it should be much better than nothing, right?

Best regards,

			Krzysztof Olędzki
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: bnx2/BCM5709: why 5 interrupts on a 4 core system (2.6 ..., Krzysztof Olędzki, (Sun May 16, 1:34 pm)
Re: bnx2/BCM5709: why 5 interrupts on a 4 core system (2.6 ..., Krzysztof Olędzki, (Sun May 16, 2:12 pm)
Re: bnx2/BCM5709: why 5 interrupts on a 4 core system (2.6 ..., Krzysztof Olędzki, (Tue May 18, 7:22 am)
Re: bnx2/BCM5709: why 5 interrupts on a 4 core system (2.6 ..., Krzysztof Olędzki, (Tue May 18, 7:55 am)