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 E4738A056A; Thu, 11 Mar 2021 17:00:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6586C16080B; Thu, 11 Mar 2021 17:00:49 +0100 (CET) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20062.outbound.protection.outlook.com [40.107.2.62]) by mails.dpdk.org (Postfix) with ESMTP id B84AA406A3 for ; Thu, 11 Mar 2021 17:00:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BoBMsNNG59LiWBzCzSepeLr64t8QsfxvHTb16HQlSgE=; b=7J3gBei7MnfsfEZNKQ+5juwWzGTVK8Hjjtg3QnV7MRMJYDA4gnKy/K6EVwza6zslKdQV1jaAa/ZLVnGxtheQzpOmvJbm1kLXyowKrUiVnd2bkNeQk7lk91mW8pHhRWQy8OyaFZwkYl+6n0ThocnDfh3BrqN5jmqrH0pLEJH+tEo= Received: from DB6PR0802CA0047.eurprd08.prod.outlook.com (2603:10a6:4:a3::33) by AM0PR08MB3441.eurprd08.prod.outlook.com (2603:10a6:208:de::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Thu, 11 Mar 2021 16:00:46 +0000 Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a3:cafe::55) by DB6PR0802CA0047.outlook.office365.com (2603:10a6:4:a3::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 11 Mar 2021 16:00:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31 via Frontend Transport; Thu, 11 Mar 2021 16:00:45 +0000 Received: ("Tessian outbound e7a0046930fb:v71"); Thu, 11 Mar 2021 16:00:45 +0000 X-CR-MTA-TID: 64aa7808 Received: from c6fab48668d7.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AE50A9B7-E02F-4BC2-B7CD-DC599AC5BF7E.1; Thu, 11 Mar 2021 16:00:40 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id c6fab48668d7.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 11 Mar 2021 16:00:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m4nTilV//IRDPpQO1unpyle+H82v98EIYrqo8T9pAAwFCsheiyiHD2Rmg9SHqvL63JPVZCMW6TDWbP7IvWgQqJmHdAKQpKFUjiri4qJAFYXVZKWCu7bhsQ4lbzVpVHqHWzy9wZYbWKjIOKmfuYK2JQdkx0F+j0G8WEyD3iCxy2tvbtcx1UGPwy0if2iOg0dGgadgYGRXuBhol671LRsVSxkz/M6XvN507ewMuTJvbJAuT7m2VfCx6ESt5h8IWeAwfFvlh4xt/q5YXcpnJwfS/uB0JfZKrdu5R6D/cPexqSwe2nBj3QDp+zgbp0ymX8DmwMrwNo8OcO08SWmt2dm3Hg== 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=BoBMsNNG59LiWBzCzSepeLr64t8QsfxvHTb16HQlSgE=; b=gBL97MdIc6xEHkyHQaOQxtf+cAkpP3uA8oTxfazNDv2UmkUCe6+VI8vngAGdn7brXhr3UAwnD+ILwzW5khRUFI0ikElNOwzhf7p8YZ5CAINeQjOJfHarYqXDx0aUCxU1BtmDBqOLRsmN3fi0nv7i6UahQCt6cRM+Jm4W60AVk39xWprdap8VxzNUwXEMO84q4A+fhv0aqxMzSW23BGxazHle5+PsBDGxey+TGrt9b+o2uDhF1pftu3Fdz650HWRQtF3csWfgb6knffu2ZKSLcj/X9SA9G0ZYRDmjV8hmba5/eZwcsIqol3ikf8vwnIbSguFKLtTkLhxdrep0+CR+nA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BoBMsNNG59LiWBzCzSepeLr64t8QsfxvHTb16HQlSgE=; b=7J3gBei7MnfsfEZNKQ+5juwWzGTVK8Hjjtg3QnV7MRMJYDA4gnKy/K6EVwza6zslKdQV1jaAa/ZLVnGxtheQzpOmvJbm1kLXyowKrUiVnd2bkNeQk7lk91mW8pHhRWQy8OyaFZwkYl+6n0ThocnDfh3BrqN5jmqrH0pLEJH+tEo= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB9PR08MB6746.eurprd08.prod.outlook.com (2603:10a6:10:2a0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.26; Thu, 11 Mar 2021 16:00:29 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::2994:a01e:2de:f94e]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::2994:a01e:2de:f94e%7]) with mapi id 15.20.3912.030; Thu, 11 Mar 2021 16:00:29 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" CC: Jerin Jacob , "dev@dpdk.org" , Kathleen Capella , Dharmik Thakkar , Ruifeng Wang , "david.marchand@redhat.com" , Bruce Richardson , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , Ferruh Yigit , "Ananyev, Konstantin" , Stephen Hemminger , nd , nd Thread-Topic: [dpdk-dev] L3fwd mode in testpmd Thread-Index: AdcV2H0Bhkmz7z6QTBeC8FixZy3dngAaQ6AAABIFuOAAAQNCAAAAQNqg Date: Thu, 11 Mar 2021 16:00:28 +0000 Message-ID: References: <2273212.ItJIoklBD0@thomas> In-Reply-To: <2273212.ItJIoklBD0@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 45BB768AC971D74BAE2894C78A118486.0 x-checkrecipientchecked: true Authentication-Results-Original: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.113.13.105] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2bc3bb88-a624-4fdd-153e-08d8e4a6d49a x-ms-traffictypediagnostic: DB9PR08MB6746:|AM0PR08MB3441: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: L6p5fGbEO1L+xGQDgHOqa1SzoRG5MvlmyMhp4NMC8mrLdHwLNof94xkui2TZvHvwYgxGDq7EG2MLn8Mg0D6+ZagLuRzT2GsaG8+Q0CwyurrRyx/DMXPT3l+AgO5DEXzPl1n5EznVl/rf2zIM3lhXYF45y0lpq9xZOu9+yQkqDe0c0kjzMI9ibEX5lZw1OStTgMWPfkUpuFnkGTPbRKkl6MSKfKCF9XnsIWps19vDPobZCXkNCyN9zuZLIoC25j6UjCaBHd9AjUX+7tIa52M0eFzB+NFzvAmbePfxtNpF+vLZY0nD7ZEQiqg7InaZ2NO8AsIhDIXJ7Y2LKvYHL5RHGyS2enktAzKCDP3kuvOKmhWTnLIftyAP1B1AsZbW6rqUyjgh7u/Uz1Hqhqo30WmTpbrGhbzcIgL4yLv4AwkqTrvHamEd6o/l6p57nx4nsWeMnGlFxtrAWa+9h8c5AZOgo1HJtSgUHicaUsxryHUeD5s8k3GPa5F3ImVT9/j+VZ9qPG36ILK+pzk+t0/mkUJlkyfePH0mHu5Sz3oyEAe1P8F4LPJ5l1mGocY0P2fGcJnE X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(396003)(136003)(346002)(39860400002)(366004)(55016002)(8936002)(52536014)(186003)(8676002)(86362001)(76116006)(6506007)(53546011)(4326008)(64756008)(26005)(2906002)(66946007)(9686003)(66476007)(66556008)(54906003)(316002)(478600001)(71200400001)(7416002)(66446008)(5660300002)(6916009)(33656002)(7696005)(32563001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?AFkS9dL8fzjeso3fkFNapTP2rI0rgW8ruJ/B0oxsalSYlC5zUmJ/NxnqGLaI?= =?us-ascii?Q?/Iv6eNT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pmuhlJMfUish5hE7F?= =?us-ascii?Q?kDuPc7yvIZc5Zjw0liO15+fITRxbAsYmmwdx2oLLIJnJjV8w4bBvD5cvN9/P?= =?us-ascii?Q?pvqid7KyT31ah+UUwKQhQFek2hCnn2JmeEP+jkF0Ii0Urml4aahTKLXRXrqh?= =?us-ascii?Q?nJovhleER/JHm9DmwupTpwJKCOuPnf2DMXMI0GEotnW6oVQ+twhpHMBrNoC/?= =?us-ascii?Q?E/zFYP2YfKIBZZmZFg2mkCNSPgLEJ/CiA0qxcWPJnQ8W9XT3CfJMe13kYH5x?= =?us-ascii?Q?Zk0M+DZ9vIrODKpUzFUD7DtCivOlCeqbZ3bVQlSyiUTB5kukUpV+cUNlmbQe?= =?us-ascii?Q?bFB6QzFV+CKBox/JiYlcW168eX7Ilo26OhIKU9QGmn/VF2kTE0EEl00lK9Jc?= =?us-ascii?Q?doEiKmCoMhIGKPb6dLnqHoq5?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6746 Original-Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 10f74b33-df43-4e21-a445-08d8e4a6cac2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7JdFO55m6L/7eum/KqgQmD0zDXWLfcBhwn8myVlv1GlyA7CnMqGUXU3nje4/Bqt30sSuH6pLi69thCInLCNSgkCI2ia50DsJzaJKSEm4X/zILTJ5oqTAvAVFbiE13aMlm5XZiZJ4K7UvjI94zZfYtOAeJlvLKpV5wQQ4mMYGPKx0xnGPj9KZCpwfA93ZRrGndz6bZan7kYoLqCOzn9w47UA0JuhzP18TUOQaNDJVsHgXqgchZrdLu+eAZBbb75meee24CgMiUdnn5339uz/N16YfzR75nA+k6D62Cd3uGlaSTDlP/RSCqv5tUU0wZ4PDg3tUud62ZrZns/nZhzF5KzKReBNaI2daLQbG6OKn+V+LJFkfEzDxWTzTfqS4QCxTqDGq1s7BbpCq1wFqa5VieoNF4JLIiFOJnNWDUlzsPajLogbuFL6qNPyKkBosRPcP3xPt1EerdDl/2VUCXfxvVZPQFHYaGg0Oulgx2PuT/44Eb9yJbBtaekAIPJ2pQ7LU2x3zPqGgdz/fmV+2Z82dQxLgMkmbsVRlu+meHr2SrMzHlin4FGdcx74umIXuer767U7cYivWI4sM5hFj4CULhsy9zRcRAOUeWT1fcyxPUM6W/HcgdfLqxPsYaimQojoWNCuLbVjTSF9NLtWpwOs2oHL7nT6Quq5I4oP4RGOlNbeMZwfw3tROohMrJrOEO+Ln X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(39860400002)(136003)(396003)(376002)(346002)(46966006)(36840700001)(81166007)(55016002)(316002)(82310400003)(36860700001)(9686003)(47076005)(356005)(5660300002)(7696005)(86362001)(53546011)(6506007)(2906002)(82740400003)(70206006)(70586007)(52536014)(8936002)(336012)(4326008)(26005)(6862004)(33656002)(186003)(478600001)(8676002)(54906003)(32563001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Mar 2021 16:00:45.5377 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2bc3bb88-a624-4fdd-153e-08d8e4a6d49a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3441 Subject: Re: [dpdk-dev] L3fwd mode in testpmd 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" > > > > > > > > On Thu, Mar 11, 2021 at 12:01 AM Honnappa Nagarahalli > > > wrote: > > > > > > > > Hello, > > > > Performance of L3fwd example application is one of the key > > > benchmarks in DPDK. However, the application does not have many > > > debugging statistics to understand the performance issues. We have > > > added L3fwd as another mode/stream to testpmd which provides > enough > > > statistics at various levels. This has allowed us to debug the > > > performance issues effectively. > > > > > > > > There is more work to be done to get it to upstreamable state. I > > > > am > > > wondering if such a patch is helpful for others and if the community > > > would be interested in taking a look. Please let me know what you thi= nk. > > > > > > We are using app/proc-info/ to attach and analyze the performance. > > > That helps to analyze the unmodified application. I think, if > > > something is missing in proc-info app, in my opinion it is better to > > > enhance proc-info so that it can help other third-party applications. > > > > > > Just my 2c. > > Thanks Jerin. We will explore that. >=20 > I agree it is dangerous to rely too much on testpmd for everything. > Please tell us what in testpmd could be useful out of it. >=20 Things that are very helpful in testpmd are: 1) HW statistics from the NIC = 2) Forwarding stats 3) Burst stats (indication of headroom availability) 4)= Easy to set parameters like RX and TX queue depths (among others) without = having to recompile.