[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090705040137.GA7747@gondor.apana.org.au>
Date: Sun, 5 Jul 2009 12:01:37 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jeff Garzik <jeff@...zik.org>
Cc: andi@...stfloor.org, arjan@...radead.org, matthew@....cx,
jens.axboe@...cle.com, linux-kernel@...r.kernel.org,
douglas.w.styner@...el.com, chinang.ma@...el.com,
terry.o.prickett@...el.com, matthew.r.wilcox@...el.com,
Eric.Moore@....com, DL-MPTFusionLinux@....com,
netdev@...r.kernel.org
Subject: Re: >10% performance degradation since 2.6.18
Jeff Garzik <jeff@...zik.org> wrote:
>
> What's the best setup for power usage?
> What's the best setup for performance?
> Are they the same?
Yes.
> Is it most optimal to have the interrupt for socket $X occur on the same
> CPU as where the app is running?
Yes.
> 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?
Not really. For now the best thing to do is to pin everything
down and not move at all, because we can't afford to move.
The only way for moving to work is if we had the ability to get
the sockets to follow the processes. That means, we must have
one RX queue per socket.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists