Re: >10% performance degradation since 2.6.18

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Herbert Xu <herbert@...>
Cc: Jeff Garzik <jeff@...>, <andi@...>, <arjan@...>, <jens.axboe@...>, <linux-kernel@...>, <douglas.w.styner@...>, <chinang.ma@...>, <terry.o.prickett@...>, <matthew.r.wilcox@...>, <netdev@...>, Jesse Brandeburg <jesse.brandeburg@...>
Date: Sunday, July 5, 2009 - 9:09 am

On Sun, Jul 05, 2009 at 12:01:37PM +0800, Herbert Xu wrote:

Maybe not one RX queue per socket -- sockets belonging to the same
thread could share the same RX queue.  I'm fairly ignorant of the way
networking works these days; is it possible to dynamically reassign a
socket between RX queues, so we'd only need one RX queue per CPU?

It seems the 82575 device has four queues per port, and it's a dual-port
card, so that's eight queues in the system.  We'd need hundreds of queues
to get one queue per client process.  The 82576 has sixteen queues per
port, but that's still not enough (funnily, the driver still limits you
to four per port).

For what it's worth, I believe the current setup pins the client tasks to
a package, but they are allowed to move between cores on that package.
My information may be out of date; hopefully Doug, Chinang or Terry can
clarify how the tasks are currently bound.

I know this test still uses SCHED_RR for the client tasks (using
SCHED_OTHER results in another couple of percentage points off the
overall performance).

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
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: &gt;10% performance degradation since 2.6.18, Jeff Garzik, (Sat Jul 4, 5:19 am)
Re: &gt;10% performance degradation since 2.6.18, Herbert Xu, (Sun Jul 5, 12:01 am)
Re: &gt;10% performance degradation since 2.6.18, Rick Jones, (Mon Jul 6, 1:00 pm)
RE: &gt;10% performance degradation since 2.6.18, Ma, Chinang, (Mon Jul 6, 1:36 pm)
Re: &gt;10% performance degradation since 2.6.18, Matthew Wilcox, (Mon Jul 6, 1:42 pm)
RE: &gt;10% performance degradation since 2.6.18, Ma, Chinang, (Mon Jul 6, 1:57 pm)
Re: &gt;10% performance degradation since 2.6.18, Matthew Wilcox, (Mon Jul 6, 2:05 pm)
RE: &gt;10% performance degradation since 2.6.18, Ma, Chinang, (Mon Jul 6, 2:48 pm)
Re: &gt;10% performance degradation since 2.6.18, Matthew Wilcox, (Mon Jul 6, 2:53 pm)
Re: &gt;10% performance degradation since 2.6.18, Jeff Garzik, (Sun Jul 5, 4:44 pm)
Re: &gt;10% performance degradation since 2.6.18, Andi Kleen, (Mon Jul 6, 4:45 am)
Re: &gt;10% performance degradation since 2.6.18, Herbert Xu, (Sun Jul 5, 9:19 pm)
Re: >10% performance degradation since 2.6.18, Matthew Wilcox, (Sun Jul 5, 9:09 am)
Re: &gt;10% performance degradation since 2.6.18, Andi Kleen, (Mon Jul 6, 4:38 am)
Re: &gt;10% performance degradation since 2.6.18, Herbert Xu, (Sun Jul 5, 12:11 pm)