Re: High contention on the sk_buff_head.lock

From: David Miller
Date: Thu Mar 19 2009 - 16:53:19 EST


From: Gregory Haskins <ghaskins@xxxxxxxxxx>
Date: Thu, 19 Mar 2009 08:42:33 -0400

> David Miller wrote:
> > From: Gregory Haskins <ghaskins@xxxxxxxxxx>
> > Date: Wed, 18 Mar 2009 23:48:46 -0400
> >
> >
> >> To see this in action, try taking a moderately large smp system
> >> (8-way+) and scaling the number of flows.
> >>
> >
> > I can maintain line-rate over 10GB with a 64-cpu box.
> Oh man, I am jealous of that 64-way :)
>
> How many simultaneous flows? What hardware? What qdisc and other
> config do you use? MTU? I cannot replicate such results on 10GB even
> with much smaller cpu counts.

Sun Neptune NIU 10G with 24 TX queues.

And it's all because of the number of TX queues, nothing more.

It is essential for good performance with any level of cpu
arity.

--
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/