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 AB89EA034F; Wed, 31 Mar 2021 22:35:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 645E8140EB7; Wed, 31 Mar 2021 22:35:48 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2050.outbound.protection.outlook.com [40.107.21.50]) by mails.dpdk.org (Postfix) with ESMTP id CF2C5140EB4 for ; Wed, 31 Mar 2021 22:35:46 +0200 (CEST) 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=yNTNXBKg8SJIgFhRSik9FuOcfQ1nclhDluPkLUyrU38=; b=GvoKTUbJgBH/CmIObMq6gHcVgvEz0Z8CKkf5qaAcqM6qgCJQJgu+gHvQIlOaR62H1RZLAOfCbazK/38KB3BDdtwA5qsOxhNiJLZcZpSzSGs0uzS9NwHKm3EXG9BnkW14tKScGsbkvN9eQgS8s4ozgjfOvumtaVPYRWq8SnJOKCs= Received: from DB3PR08CA0005.eurprd08.prod.outlook.com (2603:10a6:8::18) by DB7PR08MB3099.eurprd08.prod.outlook.com (2603:10a6:5:26::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.30; Wed, 31 Mar 2021 20:35:43 +0000 Received: from DB5EUR03FT007.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:0:cafe::66) by DB3PR08CA0005.outlook.office365.com (2603:10a6:8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Wed, 31 Mar 2021 20:35:42 +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 DB5EUR03FT007.mail.protection.outlook.com (10.152.20.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25 via Frontend Transport; Wed, 31 Mar 2021 20:35:42 +0000 Received: ("Tessian outbound 4c7ff8082c92:v89"); Wed, 31 Mar 2021 20:35:42 +0000 X-CR-MTA-TID: 64aa7808 Received: from 79bcccb3d6ed.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0FBF9234-7B83-44C2-B10B-BB790D456319.1; Wed, 31 Mar 2021 20:35:32 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 79bcccb3d6ed.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 31 Mar 2021 20:35:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ns+yXwtHmWW7B7UBLnh4PzgHiaub0FwUKkCLVaYxx3By2JnQEQRbuHKK7yaPQZe+VJagxH5o5aJgDr+YNGZMF64Brp5soqtTLJX9O8GZ6GKY2+UyiJTYSvrPRWe7PB6tfwQEiMIHb+ykMwF/ehmvgnnpyA8vJUfrcEldop0uXjeuqYuFptE2CRbvirmLB1+t1oHroGDfNvitEtet1l9ghhqQfwo+928JwXLNFFDBniVITSA6nmHun1cJV8IVWaa5rxuEhLv2f3Rz7+x6xOm7g3Xbxm8t1R0A4/a+F25/wD4KSPZ+muTTuwMjnPsa+vlx01ZBb3muluu4xU95zn9/Vg== 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=yNTNXBKg8SJIgFhRSik9FuOcfQ1nclhDluPkLUyrU38=; b=go4wlm2BbwBj6g/emSXQGHooUrK4IJKdr9JSZqxCPnYXwGzaPqZ+ZxyFuQZO49qMOkT/mIz8oIwzrifxLQC3SpBhQEddGReTFEqb1aGdjLsQter06wyDL7Di2AB9aQP6lQLIaNK+I8He6Jb/RspTQyJo4+jZKtHQP3AdAKv9s2FLz5sBk8f6ETyKUgzQUARYOrxpeIz9HSouQOCBxRixSYHRfyYSVZ8N3/RDOT8S3RlyYg6aFgX1lIRD4sdu14SGpjQJzdJFNZxfWIHrWHYUJRpEGq+8xdNGmMrYNPqQj6i9zizmUfc/khAkuP648CngopV3Mbtcb5hSUvS2ROWHMQ== 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=yNTNXBKg8SJIgFhRSik9FuOcfQ1nclhDluPkLUyrU38=; b=GvoKTUbJgBH/CmIObMq6gHcVgvEz0Z8CKkf5qaAcqM6qgCJQJgu+gHvQIlOaR62H1RZLAOfCbazK/38KB3BDdtwA5qsOxhNiJLZcZpSzSGs0uzS9NwHKm3EXG9BnkW14tKScGsbkvN9eQgS8s4ozgjfOvumtaVPYRWq8SnJOKCs= Received: from DBAPR08MB5752.eurprd08.prod.outlook.com (2603:10a6:10:1ac::21) by DBBPR08MB4824.eurprd08.prod.outlook.com (2603:10a6:10:d9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Wed, 31 Mar 2021 20:35:29 +0000 Received: from DBAPR08MB5752.eurprd08.prod.outlook.com ([fe80::4102:e0d0:7df0:362]) by DBAPR08MB5752.eurprd08.prod.outlook.com ([fe80::4102:e0d0:7df0:362%7]) with mapi id 15.20.3999.027; Wed, 31 Mar 2021 20:35:28 +0000 From: Kathleen Capella To: Honnappa Nagarahalli , "thomas@monjalon.net" CC: Jerin Jacob , "dev@dpdk.org" , Dharmik Thakkar , Ruifeng Wang , "david.marchand@redhat.com" , Bruce Richardson , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , Ferruh Yigit , "Ananyev, Konstantin" , Stephen Hemminger , nd Thread-Topic: [dpdk-dev] L3fwd mode in testpmd Thread-Index: AdcV2H0Bhkmz7z6QTBeC8FixZy3dngAaQ6AAABIFuOAAAQNCAAAAQNqgA/efEhA= Date: Wed, 31 Mar 2021 20:35:28 +0000 Message-ID: References: <2273212.ItJIoklBD0@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 64DD98338F81144C91FE175CE31F9A44.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [64.121.153.90] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 3213e191-9f9c-4b56-5577-08d8f4848daa x-ms-traffictypediagnostic: DBBPR08MB4824:|DB7PR08MB3099: 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: ug12k7U2+bZ/ic3QaFCCcdyV+oAeLjzO6R93Hd8p/6rj0STMllA/rCBmLip+42r0gq4Tje0d2E9qFj0yJpltPfXXq45B2zQLVUYq68fZUbQVaM6lBnWtIp0gE2PrlAg11zPinfGUeEHvv6szUHA2wG3vqpNOE8uY3l7yNibz1a14tGS0dsVW4RmswORpBUBth3XLlbaVcYKHdKRkTtc4SBOq/nK7UTj3WDDWjqahnirlkpgWvXUuiSX+5IY9IfH2A8wZ+bPf4SMi4jqJqrXPo7169G8xCiIhoxXKKaag0QYEHkSX22KfIWfsad2elJkgCxWu4n0gKLeoB0ZlhrZ5Dh4nAYF79Nm0QHycJpn63LCi1jmhfD74VufPLNsoZQJeITQgbxlWrRatTfAwOq2hk++OHdXI5zNf8RXxlE/N4hkg3ru3aydRe77aQdufyvdVUM25qNWD6J4hNsN9cDq5Y6TqPaDMBNE5LSglc/j8pFvsJe8KnLLVpHJB989J6juMfJl+EC1hDzKmh/zLE41fHi0sPASH4x/sxV/FTVMedSTDB8gKDINtKgZyV+OdRaIvdDe6peYWenznBkL4ozOBVy1B0HKakAsjU8SAjfaKWr0MFzKnGCrdZKwM4J8nZtmLcNP9WQw+CIrAumU03Gg83/Lr/wmVAM1OeFVKowHjJzUS4jhTxU2mkjSLhbryoERC X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5752.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(366004)(376002)(136003)(39850400004)(53546011)(6506007)(7696005)(5660300002)(8676002)(4326008)(8936002)(2906002)(86362001)(26005)(52536014)(316002)(54906003)(71200400001)(186003)(38100700001)(76116006)(478600001)(7416002)(64756008)(66476007)(66446008)(33656002)(66556008)(9686003)(55016002)(83380400001)(110136005)(66946007)(32563001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messag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0WMe/8Z7lNQnViXeJKF0Vd+xZZvY2P?= =?us-ascii?Q?ihgxkmKGTVustzkQl0oODy6ByAXgCx+/PBKsITw9RgROt1wEYhh9nHrNsOq4?= =?us-ascii?Q?esQhDrXFsbyd3hq8gTU5HY7JjMNFwcHHK/qlzUEOQdqte3lzh4hl6QTUmZRB?= =?us-ascii?Q?uaKaWERc5D2ZB/bmo6UgMs9v36bFHeqywIjMeXxYKV4VYSDdhdWJD0SNlN2g?= =?us-ascii?Q?ZQPeWJM/uQ0I/edqTQJdXvu3zxdaIVseh9DcCl3qbFyKI8yJzG5TlEVy2jme?= =?us-ascii?Q?ISSV7UbX5LXWNXeGBWEX8TpSa7L7uFSvfg5JXUlnYTQXOKTPzxexr+ayAsK1?= =?us-ascii?Q?cvREy9RQ0Lm9XssQA4T+w/pdrjoprRtL8wpsQY1vI1HG0AdvG6Ar/Vxk/uA+?= =?us-ascii?Q?CGZ412UYUbStUOrKazdWgNwSY7Vi+XkgKRhleG338kXfZZZIFpjv+XMeMtjo?= =?us-ascii?Q?tKUz8o6Yk3cJNxKOeMJFTRTt?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4824 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: d34f091a-4f64-4ea7-0867-08d8f48485c1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XA0fgfl801mWU4dAPfBZFcGm/E+TKgmDU0z2GgJ/Sojm/EtvDBD839cGLAwOvhIMqKaIFTT9U22KsWW+T7UeDwXRIG9tnS7Mx7IIYAaGKbbe/Xl8FbhjYMEs3d5gobuvDZB1WXH9Tgbp8mYk8F9iKk/+EhE3aQ0DSSucSirNAy5cHX4+eYZc3OekBHm5ypag7/qBhNmcjANYJWt8V7f1PRFUIPueSnftZ7L6C+iwAk8Y8A8dlJxn8LXTxu1PzovOuwTFTwFT+0fLRGLpFzQxtOv3Ou5HUUQb7cruZNIbNO5B2lGiygL5ZBlCcOUkvSMEVvstHvpmrT0+Y9ZxFSu2sxTAZTj6rHJy0BfsqANIj2s1mXckhHUDc9siRryOenaLG6EFIdLOFJUnbeJAgRetmmxwGwhfjvnBnf0xD7ZUabTFOZQL/mxXnL8FBMQKURTEi7sMp23pEAufjQQlZ6vuDjlHgahUbgrLtyVcsRShNLg+hIMDdJBWmFwYdiUeFQK/FbNvSmw3vDUxeiK7MfRTL1GXltbCn5hLJdTGp3Oa6LcugAwi+HKEXe7OzFXsm/ArkeKMAIpJ+vW1SCWbAiLUWi/0rhu0VxfoQsRXS/EU+2QUVfriWVUFX34MM9lWSEpFcty965M4VnwySwptMPCo69W3PRI+9xiDH6i+f2PmVnIoO1R3OEIk/qmpcxaH+Dtl 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)(376002)(136003)(396003)(346002)(39850400004)(46966006)(36840700001)(7696005)(5660300002)(4326008)(26005)(336012)(54906003)(45080400002)(52536014)(70586007)(83380400001)(82740400003)(81166007)(110136005)(356005)(36860700001)(186003)(2906002)(9686003)(47076005)(6506007)(53546011)(33656002)(86362001)(478600001)(70206006)(8936002)(55016002)(82310400003)(8676002)(316002)(32563001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2021 20:35:42.2466 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3213e191-9f9c-4b56-5577-08d8f4848daa 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: DB5EUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3099 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" > -----Original Message----- > From: Honnappa Nagarahalli > Sent: Thursday, March 11, 2021 11:00 AM > 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 > Subject: RE: [dpdk-dev] L3fwd mode in testpmd >=20 > >=20 > > > > > > > > > > > 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 think. > > > > > > > > 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 applicat= ions. > > > > > > > > Just my 2c. > > > Thanks Jerin. We will explore that. > > > > 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. > > > Things that are very helpful in testpmd are: 1) HW statistics from the NI= C 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. [Kathleen Capella]=20 Thank you for the suggestion of app/proc-info. I've tried it out with=20 l3fwd and see that it does have the HW stats from the NIC and the forwardin= g stats. However, it does not have the burst stats testpmd offers, nor the=20 ability to easily change parameters without having to recompile,=20 which helps reduce debugging time significantly.