Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-25 Thread jamal
On Tue, 2007-25-09 at 09:03 -0700, Stephen Hemminger wrote: > There is a standard hash called RSS, that many drivers support because it is > used by other operating systems. I think any stateless/simple thing will do (something along the lines what 802.1ad does for trunk, a 5 classical five tupl

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-25 Thread Stephen Hemminger
On Tue, 25 Sep 2007 23:36:25 +0800 "john ye" <[EMAIL PROTECTED]> wrote: > Jamal, > > You pointed out a key point: it's NOT acceptable if massive packet > re-ordering couldn¡¯t be avoided. > I debugged function tcp_ofo_queue in net/ipv4/tcp_input.c & monitored > out_of_order_queue, found that re

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-25 Thread john ye
Jamal, You pointed out a key point: it's NOT acceptable if massive packet re-ordering couldn¡¯t be avoided. I debugged function tcp_ofo_queue in net/ipv4/tcp_input.c & monitored out_of_order_queue, found that re-ordering becomes unacceptable with the softirq load grows. It's simple to avoid out

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-23 Thread jamal
John, It will NEVER be an acceptable solution as long as you have re-ordering. I will look at it - but i have to run out for now. In the meantime, I have indented it for you to be in proper kernel format so others can also look it. Attached. cheers, jamal /* * BOTTOM_SOFTIRQ_NET * An implementati

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-23 Thread john ye
ED]>; ; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, September 23, 2007 8:43 PM Subject: Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP > On Sun, 2007-23-09 at 12:45 +0800, john