From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/testpmd: distribute queues to cores Date: Thu, 12 Jul 2018 23:09:51 +0200 Message-ID: <2095755.Och9AWgOiB@xps> References: <20180526151520.8579-1-xuemingl@mellanox.com> <20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , Shahaf Shuler To: Xueming Li Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6A5A91B04D for ; Thu, 12 Jul 2018 23:09:54 +0200 (CEST) In-Reply-To: <20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > --- > Acked-by: Bruce Richardson Applied, thanks