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 0F682A00C2; Thu, 16 Jun 2022 18:40:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA3E34014F; Thu, 16 Jun 2022 18:40:07 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 3C4F740141 for ; Thu, 16 Jun 2022 18:40:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655397605; x=1686933605; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=UEOBkHsO7F9xVzu1Pxs1WYdCVf1jVL9BSBW8W350xpM=; b=GHnEAMRyDko8CQR1FeDcqDT/xpcW+21EFr4NKMWPEHfTBKDhM9Ic+not nQ74nTThs3zvTZHBmmUXHyTWCV+rknVc0/cUWr+Q6EP5rVQo/pmS0fS1O duZgCwi5fkZVkiMmkEj2IWA67SsytglX0Wu8p3j5CJkGajNjX218z9k2e tEl7rtPCLSVdkE1oNOXQujXIo/zVqG5ue5PrQG6QFVMm3Y40Z5AFyCqYz h84b1fy5bllfpI4apICX18bWEU/z4+DRqIWt7j1X55tTz3E11dRNzpyvK iF09PticRhjpWSuemVzx9AjbLXTHHNfP+s5fXXTuW+v8WseNYmceVel4I g==; X-IronPort-AV: E=McAfee;i="6400,9594,10380"; a="278086671" X-IronPort-AV: E=Sophos;i="5.92,305,1650956400"; d="scan'208";a="278086671" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 09:40:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,305,1650956400"; d="scan'208";a="641621414" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 16 Jun 2022 09:40:03 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 16 Jun 2022 09:40:03 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Thu, 16 Jun 2022 09:40:03 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Thu, 16 Jun 2022 09:40:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S8kX2pd90/6aTqwDkBAGy84zmdnnKPcrJNcrpcZr3x5IyveFxZ5bUxPsnPHGN33Mrv3CDRipIkoA6d9Hu3Uin/qUu3HA8F4e6zLBSDMejRh5fI7ySwwD5U4YmLqNX5XUzkToU1MC8ezJhEr2UGs8cHDSLov6sQk/QJHi5U8fA1PJw8ZhzjpTF6+QmZ43QzKcZHA6/R9OCwmf54Uc9XQZwr6UuV07QocJmj6unZzOyggnW9WQtuFNv17jykQ12PxJHDvhducN+4WCEpSWA+4RmCXD3gm0OIaPmY0DpMQ0uVkuLj/YfnhGXWUlX3ufzxS0nEvxbtK93wzpW6J93cuJtQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UEOBkHsO7F9xVzu1Pxs1WYdCVf1jVL9BSBW8W350xpM=; b=P58lcJQfYHVqgLJd4jkG08+y+YKvx6/WqMNs5snWFrCkgKYuNTFh4gaEk8P1R1q2MOP9frQAGtunV3v+7q7+5XRJr+/Fy1sBlHpYjE9oq7yDDQ6/E41UiphgeR7CC0GgKDgprRHMsfqfiEK9fN1texO9XRCOgQSyxzRH0Wf0DrXnN5kURLx+h7A/4GtxOQntUsqedVjG7yc1OPgUD131/2+fiVI4KCcnMp2AHkxWKs8rRKa8yRYUwh2zjHB5Nwlq/eC5+kx2IG9/0C8UnVDFeTcRl7jsgNq9m6PHSb4NNQswGOPJo6eLoMuneDVuxdr0TVai3bD83I0EVgmW4VL97Q== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) by CY4PR11MB1237.namprd11.prod.outlook.com (2603:10b6:903:2c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.16; Thu, 16 Jun 2022 16:40:01 +0000 Received: from MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::28de:cb68:fa21:3225]) by MWHPR11MB0062.namprd11.prod.outlook.com ([fe80::28de:cb68:fa21:3225%6]) with mapi id 15.20.5332.019; Thu, 16 Jun 2022 16:40:01 +0000 Message-ID: <416d56d6-4ef2-0b29-9a18-3928026905fc@intel.com> Date: Thu, 16 Jun 2022 22:09:50 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2] app/testpmd: add throughput stats for forward streams Content-Language: en-US To: Junfeng Guo , , , CC: , Xiao Wang References: <20220524082745.4072844-1-junfeng.guo@intel.com> <20220606093945.2978915-1-junfeng.guo@intel.com> From: "Singh, Aman Deep" In-Reply-To: <20220606093945.2978915-1-junfeng.guo@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN3PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:9a::14) To MWHPR11MB0062.namprd11.prod.outlook.com (2603:10b6:301:67::34) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f3f26ea0-dda6-43cd-af93-08da4fb6db77 X-MS-TrafficTypeDiagnostic: CY4PR11MB1237:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +aZrXdXiEHA2LKBtNG4E5YQr8UxTzsdmmMXP8yxO+xESLVVoT9GyTgSeXJUMagJ4XL8NlcY6Ddc8TteFrQEhdZg32I5Powo3aaary31abzoCZWydWR8qDDI91T3PoMlejGiR3MAN/q5CF3ifZHXEB72Vu+7Jp6/C4KLab16HDuvFaDQPYCdjC9pXzoHz6t4wUJtYpjuNBJBcKbEW//GyTwgDASOLoZFKEHmSOGU/bKT9bEaNSSp5/p1S7HcmK1SUH8UADPAoC4bgE3zQKCkerKgbCWDTHqzSiY/5Pe6GF05igBwVsE14P6uLXW9SJiTI3saKRUCVQB6Ls0QadLM2I13/VHb1xGTCZzvvlyaDWSI4JejOjDuFd4/d6I1ZUl80tM72iX/vzYFaJjVdEuGGpFNZEXF+F9xaB0VW37Nu+8rYcsZdOQ8EawQMdUry1/u6j3PQpPS2ayDvHHSdL8BZb+TlSNKwOzTM3nW2zfodNoDT/Oa+nNC3AQZXuwNFpfX4m6JCCXh+djGB1WHCE1jf0Xab1u6FeyA7QLi9BesERM4rVGazumOkzQUa/JQcVO/8rfPRcDVPk4QNU5o50ETh63ZXHdAq7oyOOk8Q0tky4swK3x8+RjXdvKnrhf22fsgVqSpf1yhhbfKhbA1f0GrsMnJU8MlKcby1OTeKVxqWcMxTFEOyIlFaYIb9fSLJN69CMKrSvq1ZNXvXR7NkSgeUBMe2WAUZA5Coao60aFyGI/4= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB0062.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(366004)(2616005)(26005)(6512007)(53546011)(107886003)(6486002)(66556008)(8676002)(6666004)(6506007)(31696002)(508600001)(38100700002)(82960400001)(6636002)(66946007)(2906002)(86362001)(186003)(5660300002)(31686004)(66476007)(36756003)(4744005)(8936002)(316002)(4326008)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MittY0wwb05aeFMxMzJHWERHb3VuWTlVTitJWm1sdUd5QkN4KzI4RjV0aHZO?= =?utf-8?B?Zy9vOGI0aXhCcTk2bHpVczdyOTNtY0QzdFhZMjY5ZTdaMnlpUDhUREJVRGhT?= =?utf-8?B?MjFoS0hKUDdCUjh5b3o4ZVd1d3lGZFRORUM3RDB3cEZnU3g3MC9OeVFWVmk3?= =?utf-8?B?QkdlOG9OZURpa1VkL1BONjQ2TkNzL2JVZWxsSHNBVDVtUVNmQmZmRnNNaGlU?= =?utf-8?B?U2w2MWVNbjZpR2JKUHVMWGhHOFc0LytvWGZRMkh4MEhlY0R2cE5SWkNBc25n?= =?utf-8?B?S3hsZkxCcGZUbm9pa1U5cmRNRlZiZ1JqbmVPbjVIcGFhQkg5WmRXYVpyLzNE?= =?utf-8?B?d0hDS0dYUXdUcFlFS0RzdHU4STdFNkFJZS9sZ2dNTDZEa2s1bVZ3Z293N1l2?= =?utf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VgzUjI1V1F2OVFlWHpFTVdaTXRG?= =?utf-8?B?ZjRRL2dMWTdHK293T3pOZ1NvUG8wTW0rRVF6dklZc2ROdWNJSEhucXQyUEZ2?= =?utf-8?B?aDJJV1dna25Zb2hVUnVqSTI5d1FLY1dIQ3NRYnhEdU51WTlxSTM4YlBEYldj?= =?utf-8?Q?hpqYUULk5hhqIB1A=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: f3f26ea0-dda6-43cd-af93-08da4fb6db77 X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB0062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2022 16:40:01.4636 (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: PR9Ap5wlM6zn9atC4hzoMtuIXRWrz6tf+QvBtlERG0Bu9AbM12Zw65fa5rK0oPfDBQOn6PFBPHXbd6xLjoIBHwCz3A3Bb68/4pUDyp1ps18= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1237 X-OriginatorOrg: intel.com 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 Hi Junfeng, Thanks for the patch. On 6/6/2022 3:09 PM, Junfeng Guo wrote: > 1. add throughput statistics (in pps) for forward streams. > 2. display the forward statistics for every forward stream. > > v2: > add parameter descriptions and fix commit title. > > Signed-off-by: Xiao Wang > Signed-off-by: Junfeng Guo > --- > We do have per port Rx/Tx pps in display stats. For per forward stream we can enable "--record-burst-stats". With it we can get per fwd stream Rx/Tx pps. Please check if this patch is adding any additional functionality.