From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D3B6E22401; Thu, 12 Jul 2018 17:09:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 12 Jul 2018 17:09:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=RfDhJydaoXban44Vin3hX6BZr9 yZZMqDG12fCa4Ebts=; b=og6IoEvCAgu+qMMup4sSjFN/ciQlcvBq5t6bO4eNpS fvZQ/aT8RVsYOPIoafkVa0NVTCfUizX3EaR2DkB3yCJHRFQ1cb5J5COaxQ/0MZBS k28pYVhfXzIuLXqCQ/m/SU06A5MHufrW9sLyqtQMBlahi5TsHimwYNblYQxGpfXh o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=RfDhJy daoXban44Vin3hX6BZr9yZZMqDG12fCa4Ebts=; b=k0dlkYTTvyXTTNv7PwJcoC pMR6ki9wQp3334pmUBw9ka+5RXobLypKJLH1EDbPI4aOtDz9hLJ3hed6Ny35y2yL G0LrfNac9WxakRvA0IECqJJ6+Bho4EB4I6hVDXPEwl6qjSqI9q8BhLBYYccdcAnC CSo1wRssiCani/e/rFY4u62yXu5UbeBY9A7CMpL602w9okH0or85DGY3gN/YNj06 wtsnkfjsdfbdERwzXX+dpCGUQX4Yz9PTQEudtv3/4S2K5H3vS7pS+1IXQM+dQwIx mapOtYfjXAgwvUWZ0hwQQjiaUNnQOW4g/zMd6hBb+XcyifVFCfr1Vw39ZD9vRqeA == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 675F01026C; Thu, 12 Jul 2018 17:09:52 -0400 (EDT) From: Thomas Monjalon To: Xueming Li Cc: dev@dpdk.org, Bruce Richardson , Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , Shahaf Shuler Date: Thu, 12 Jul 2018 23:09:51 +0200 Message-ID: <2095755.Och9AWgOiB@xps> In-Reply-To: <20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com> References: <20180526151520.8579-1-xuemingl@mellanox.com> <20180614105148.GF17264@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/testpmd: distribute queues to cores X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 21:09:54 -0000 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