From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F4C7A0A02; Thu, 25 Mar 2021 06:38:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3404140E88; Thu, 25 Mar 2021 06:38:30 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 956C1140E80 for ; Thu, 25 Mar 2021 06:38:29 +0100 (CET) IronPort-SDR: fY+askmmeQprGuze5H7qkqVBGaxhtgWItL9uTBATJupcad/QZGMfYjSBacjBVr15qM9Wng/I/g SmA+eA2uKDdw== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="170203653" X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="170203653" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 22:38:27 -0700 IronPort-SDR: HNOV5OVWLLWHz99pN2KP872BIX2FIJqeT3HWLV/QBBHRAnNXXRK0IV1pjp2yNedoD7ECs8bhob NcvFn3UcL+AA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="452900939" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga001.jf.intel.com with ESMTP; 24 Mar 2021 22:38:27 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 24 Mar 2021 22:38:26 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 24 Mar 2021 22:38:26 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 24 Mar 2021 22:38:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L3mH3uafavn2XRg/0qYi90ZHMGbRQLcp6bkT1RUECKpyNN4SSzr76nhfbPhyenqRFwmsFafiViP1FfMzmsSLzc84SNBNehN18S57BNxKTlc5y+GW8WL0DA+KuhR6oo0CWtqV3tO5xWxXNFFORP0+hqbcTcIHpaEIWw8Z1zRR6Zb9mVA3sCE0PGHWivZtmXHdOSN47TUsWtMewa4195xyI+k7n+HX0ZKYtO1HZicTGB310jKTJ5EKszduQWtEgk/FA/3Hdrlts6dUONaEbFVbD04v9BSHcAiJEftGN9QhQX8DzcSkFDMBSkGp5z0o3UPO6vTPBSH+/MRMW4cyGhu9lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/HgYF0b1BhuH45ZqA+ItvxgDlkNLeOZsr5c4+YahMio=; b=ktQazkxpuFUlTScbcINiH9RFAJBpz5wDPo2nG6xPPf5Iu6JdF1Xwu9nJ+Z9Anfc1osrxDx/y7SvEyJjFn3v55udvyBrA3zfkeedo0ADgalz1mRZ/UYaE1CGBun7pZMTBK9oriQiUDWsTi9zBjpLYLlF2m1rkEZP1JUGvEaAZLdCqpjc5qfOhgxfC5jjRXikDBVtClA8d+rvvIYXgZnNl/YATP97zGh7GOLwhDxd6Vx0E/KefvyCLgHElPoQm5UWd9P9wqtiyxOvdiNnyNQNl3h/bjykjD62TBdqW8+iCxMuo+wd+dyK0qik4ofFD7BVJfLIvt5EpxiqaeqEMFr0Byg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/HgYF0b1BhuH45ZqA+ItvxgDlkNLeOZsr5c4+YahMio=; b=D6Ie/GCp7db3M8zRi4XMgJqbd5l6Jmascd+hgz9eLwxAX2o7i/NDPTnl27DAgFHr56ZsrwnmNDca0TrlBoT2ol89Q5Gr1P1ik6F9tJAZM6QLENX2AaPkrVmFEDWTswAoajXOBAltQ3SlYGpp1aUDDMQ4pblYopS5FsQcy0k7VV4= Received: from SN6PR11MB2621.namprd11.prod.outlook.com (2603:10b6:805:59::15) by SA2PR11MB5020.namprd11.prod.outlook.com (2603:10b6:806:11f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24; Thu, 25 Mar 2021 05:38:23 +0000 Received: from SN6PR11MB2621.namprd11.prod.outlook.com ([fe80::50e2:3791:51f4:fc8b]) by SN6PR11MB2621.namprd11.prod.outlook.com ([fe80::50e2:3791:51f4:fc8b%5]) with mapi id 15.20.3955.027; Thu, 25 Mar 2021 05:38:23 +0000 From: "Rong, Leyi" To: Thomas Monjalon , Jerin Jacob , David Marchand CC: "dev@dpdk.org" , "Zhang, Qi Z" , "Richardson, Bruce" , "Ananyev, Konstantin" Thread-Topic: [dpdk-dev] [PATCH] examples/l3fwd: enable multiple Tx queues on a lcore Thread-Index: AQHWsn9uQWJOoGCBpUCAX9AUTZdo2am3oAEAgAABMVCAAAbtgIAAAL0AgAF41ICA2x4zsoAAyxnw Date: Thu, 25 Mar 2021 05:38:22 +0000 Message-ID: References: <20201104072810.105498-1-leyi.rong@intel.com> <5787678.zEJ4OYuhaz@thomas> In-Reply-To: <5787678.zEJ4OYuhaz@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.210] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64de8616-6c79-4110-a49e-08d8ef50348e x-ms-traffictypediagnostic: SA2PR11MB5020: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BlcRUJcQf3xNqFEv/++NPRs5VacqoQG5kMDj/ntUC59JavYRv4Tnlvdb7tTW17WeA7XnNjGNWMifr/Jt1jFcgnKEl+g0oDqE4dHgdTK+iVPCS4W0NPki2PoC077+eqXyDrFUKLalLN4LYy1nNQcfajKMZ0egRLc2X1z6yHqoblttYEwG5w7dH5E5oEpi+9DotCXhvW4svQhT4KlMPNT95FLxohAZN3LxEkyCjSIi6HOVmG6vjs/m62abNFHPG49LXWhr3N1panbMj+uP3L4WjtbdcS/KUdsYKv6XKpLeS8881FEaOzN7V+eCEZ2cWuGEEwD1upeGHspiBzKP0+C3wWS5KvfRw2Q90yw4fvOUMNWTjX8C2yDeWUfneNxn+G7y3n4zo8dwt3A50L62CKlD4c7GY7LPQbbj2DO0g7KrxqjHP65aAByH0LlMREyjeSx4A6U86HJRX4M8amBD1YE7lttmAlEFVXiqWwh0YDeG03a0oUOtLtUJt/90PCMXBYMHJOt6xK6zvJfb8Hj7NfxDc323YmLGMyYsE7d9UiI8qYwKI5L7FcnKoklaR2rYxiQNNYapOeklONH96YXc/ND3DGXrxF1kUWogXXFG5g1b5a+7hmYkKxDHc/f0AJYq8+gfZBKj4GcD1q/HnZY9hkSkb39C0vRJeo1DXi8GJJDgegM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2621.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(39860400002)(346002)(396003)(136003)(376002)(86362001)(71200400001)(110136005)(66446008)(52536014)(316002)(9686003)(55016002)(54906003)(4326008)(186003)(38100700001)(26005)(66556008)(8936002)(8676002)(478600001)(64756008)(83380400001)(53546011)(76116006)(7696005)(6506007)(66476007)(2906002)(33656002)(107886003)(5660300002)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ycFZRJZIteYMRfVsV8AwERtk1t+0sSmx+jy43UE0RwUYi65AvpoGI+C7vko2?= =?us-ascii?Q?09RPU1WM3nQHguq4xKB7eBOTI4qWYp9amzgKYRpkUL2eBHZTAg/0HR6j9PHG?= =?us-ascii?Q?n/L/3BNZn+jJlDyvvxITbbMS0Q8x+ZfVKabRAmFl5DiX4rLaGuGe2kldZ183?= =?us-ascii?Q?X43vKR2fOPUAqkkUJVkT3Gx3mLKCJhiRH+nj202kuP0FEtA85go/RHEFOEJW?= =?us-ascii?Q?oS/wPr+fwS2w/blgU2DPBJRG8EwK1NSdrZnC85ACGcKqFSvZxWFkvP29tzgi?= =?us-ascii?Q?XPt3+FIRQJK/aDZUgOW4DLANZTyW7+793eJKV25L3pSuGABhiF/9lurL8OlL?= =?us-ascii?Q?sxc3WG7dNNW0rOvYw/nPxRu87GjL2y8I5LMZN21fG1wm4XUNSdOi4KHj1dFS?= =?us-ascii?Q?IAuizCYtSHjgPSDl9X/Uf4/oQGP54cZnu5YyOhkX2nISWeC8gCeZbY8p1p0k?= =?us-ascii?Q?QClPiKd3Lr26wu5GjPjPSBajXOisigbH1pn8yplD2C54Ee1/HQIPK1azMkXX?= =?us-ascii?Q?xZpW0ErqO29LvtnQpQUBtTIuWh4Rnj9HHl7TADopFUZG/TR58gbZGzt6IY8J?= =?us-ascii?Q?DB6+SHAvP+IJaTiiIccUd4VKGTyFN9qYruZysaIfFb+kXOJSR+cIZmOBCpcz?= =?us-ascii?Q?o2sEem7sG3uOXnHeNmprNaOmVkXU4p/XINSVCQoJIvEw9forDP8ckOWTtz+F?= =?us-ascii?Q?HZHBNqtnRk1cqCZf1yntyjVmzZEowZq9sJW4qJykXbYsAUZiYpN8bcZliKIs?= =?us-ascii?Q?VCT0A/DkGlCJUYcaW3d4GJFMTSh5ThMhy7Dudssq+S1ETb4hUfYmn64Ii7JS?= =?us-ascii?Q?+SFvkGOyWscAuNdt4If7bgdgVa0mEvM0I59lGJ32oIrNWm6zKrWape+s5YMt?= =?us-ascii?Q?8RQoNway7n930Lam8ahakyDMljpoxshmHiTMhii8D8ycf0okxD71kVzPfvks?= =?us-ascii?Q?wCGM2Q0soABHydLAgaj58ypstXtk/F1ToXBsq2mwArb4k810cuLmFFu5QB77?= =?us-ascii?Q?XbtSOau/bTT59C8Gb5tyFppNvbka39gGvQAA8eJ6g7rLYTvcHJzWHgS5AKpx?= =?us-ascii?Q?9N6J6x8wicIAru39DaYHK2JsGPdXvRh78ALZcCok0BibLFkzhKpkIgKKM5D9?= =?us-ascii?Q?ItInvtkCBofcvHlLOuJnjybP/qtrCSZ+wvPqXyuJuhwyRccJAv/p9L+8Oq+r?= =?us-ascii?Q?Acaqxh7NbReaeOhm3ADTlsyCDhU2r6QQTvF1gIBuuHdS5Vf5Xs97iQJZgo52?= =?us-ascii?Q?DItZJ0Pn6PNNiqL0cXNEtlQQbQFp1EceQQpAspsCBTxPLzerVaw+bDuT7lew?= =?us-ascii?Q?4G4eHPudVW/Qg4bX+hVqkgNp?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2621.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 64de8616-6c79-4110-a49e-08d8ef50348e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2021 05:38:22.9941 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0LeTPz4geifZ28pdDEgqzdpYd6FfOYyJSsJO1f7mGc7ja7JdciJRrK5rHtOMc2rIWbt6/QXRZIliR+kCyaknLA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5020 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: enable multiple Tx queues on a lcore X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Thomas Monjalon > Sent: Thursday, March 25, 2021 1:23 AM > To: Jerin Jacob ; David Marchand > ; Rong, Leyi > Cc: dev@dpdk.org; Zhang, Qi Z ; Richardson, Bruce > ; Ananyev, Konstantin > > Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: enable multiple Tx queues= on > a lcore >=20 > 05/11/2020 10:24, Rong, Leyi: > > From: Jerin Jacob > > > On Wed, Nov 4, 2020 at 2:34 PM Rong, Leyi wrote= : > > > > From: David Marchand > > > > > On Wed, Nov 4, 2020 at 9:34 AM Rong, Leyi > wrote: > > > > > > As there always has thoughput limit for per queue, on some > > > > > > performance test case by using l3fwd, the result will limited > > > > > > by the per queue thoughput limit. With multiple Tx queue > > > > > > enabled, the per queue thoughput limit can be eliminated if > > > > > > the CPU core is not the bottleneck. > > > > > > > > > > Ah interesting. > > > > > Which nic has such limitations? > > > > > How much of an improvement can be expected from this? > > > > > > > > The initial found was on XXV710 25Gb NIC, but suppose such issue > > > > can happen on more NICs as the high-end CPU per core boundary is > > > > higher than many NICs(except 100Gb and above) per queue performance > boundary. > > > > The improvement can be about 1.8X with that case@1t2q. > > > > > > As far as I understand, the Current l3fwd Tx queue creation is like t= his: > > > If the app has N cores and M ports then l3fwd creates, N x M Tx > > > queues in total, What will be new values based on this patch? >=20 > Thank you Jerin for providing some info missing in the description of the= patch. >=20 > > Hi Jacob, > > > > Total queues number equals to queues per port multiply port number. > > Just take #l3fwd -l 5,6 -n 6 -- -p 0x3 --config > > '(0,0,5),(0,1,5),(1,0,6),(1,1,6)' as example, With this patch appied, > > totally 2x2=3D4 tx queues can be polled, while only > > 1x2=3D2 tx queues can be used before. >=20 > It does not reply above question with N x M. >=20 > > > Does this patch has any regression in case the NIC queues able to > > > cope up with the throughput limit from CPU. > > > > Regression test relevant with l3fwd passed with this patch, no obvious > > result drop on other cases. >=20 > It does not reply the general question for all drivers you did not test. >=20 > As you probably noticed, this patch is blocked for months because it is n= ot > properly explained. >=20 Hi Thomas, This patch can be abandoned after synced with Konstantin months ago. And up= date the state to superseded on patchwork, Thanks!