Re: >10% performance degradation since 2.6.18

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: Arjan van de Ven <arjan@...>, Matthew Wilcox <matthew@...>, Jens Axboe <jens.axboe@...>, <linux-kernel@...>, Styner, Douglas W <douglas.w.styner@...>, Chinang Ma <chinang.ma@...>, Prickett, Terry O <terry.o.prickett@...>, Matthew Wilcox <matthew.r.wilcox@...>, <Eric.Moore@...>, <DL-MPTFusionLinux@...>, NetDev <netdev@...>
Date: Saturday, July 4, 2009 - 5:19 am

Andi Kleen wrote:

In the pre-MSI-X days, you'd have cachelines bouncing all over the place 
if you distributed networking interrupts across CPUs, particularly given 
that NAPI would run some things on a single CPU anyway.

Today, machines are faster, we have multiple interrupts per device, and 
we have multiple RX/TX queues.  I would be interested to see hard 
numbers (as opposed to guesses) about various new ways to distributed 
interrupts across CPUs.

What's the best setup for power usage?
What's the best setup for performance?
Are they the same?
Is it most optimal to have the interrupt for socket $X occur on the same 
CPU as where the app is running?
If yes, how to best handle when the scheduler moves app to another CPU?
Should we reprogram the NIC hardware flow steering mechanism at that point?

Interesting questions, and I hope we'd see some hard number comparisons 
before solutions start flowing into the kernel.

	Jeff




--
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: >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: &gt;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)