[dpdk-dev] [PATCH] app/testpmd: distribute queues to cores

Thomas Monjalon thomas at monjalon.net
Thu Jul 12 23:09:51 CEST 2018


14/06/2018 12:51, Bruce Richardson:
> On Sat, May 26, 2018 at 11:15:20PM +0800, Xueming Li wrote:
> > Current topology distribute forwarding streams to lcores by port, this
> > make unbalanced loading when port number larger than 2:
> > 	lcore 0: P0Q0->P1Q0, P0Q1->P1Q1
> > 	locre 1: P1Q0->P0Q0, P1Q1->P0Q1
> > If only one port has traffic, only one locre get fully loaded and the
> > other one get no forwarding. Performance is bad as only one core doing
> > forwarding in such case.
> > 
> > This patch distributes forwarding streams by queue, try to get streams
> > of each port handled by different lcore:
> > 	lcore 0: P0Q0->P1Q0, P1Q0->P1Q0
> > 	locre 1: P0Q1->P0Q1, P1Q1->P0Q1
> > 
> > Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks




More information about the dev mailing list