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 B8BB542CEC; Sun, 18 Jun 2023 07:35:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41D3440E6E; Sun, 18 Jun 2023 07:35:01 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id AFD0540E03 for ; Sun, 18 Jun 2023 07:34:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687066498; x=1718602498; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LlrLyEtrj2mA6kxiTqneLqOMZOOw9bdnNsDUoNzROQM=; b=Wx87OXzTpGVDCWbOj1OL81Iw3eL2OTEamnc0LjZJZ2s2rae4/Z+AZTYb x5Qq1+nUywPrJRdICylUXWk6xDPEsZ+AnsK9RJtlauyh4V0oa3dyJnwxz ZGTRVR9yQbMxAW5SlbEYcMxjygw+G+qz4nxZKqwCtV5pELM42bSSCzFJl DSBp8JGJ8QhPnyl9GwrYe1H+ldhDjskDcae36IQO7x/2bQ/VUGwXYTDsq ZVnukoSpsjwBt/Z/pqgwDdmqtFRbRWZDOXiCySx04npdrpYrd7+ONDP1y SdUqFhAz+QulrdzlRkHBKmsQXbZ8MK/BQCzkVS+M4XGjzBr+gujOnX7OZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10744"; a="425395955" X-IronPort-AV: E=Sophos;i="6.00,251,1681196400"; d="scan'208";a="425395955" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2023 22:34:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10744"; a="803258199" X-IronPort-AV: E=Sophos;i="6.00,251,1681196400"; d="scan'208";a="803258199" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by FMSMGA003.fm.intel.com with ESMTP; 17 Jun 2023 22:34:57 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.2507.23; Sat, 17 Jun 2023 22:34:56 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Sat, 17 Jun 2023 22:34:56 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.45) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Sat, 17 Jun 2023 22:34:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBecmw1tR3+h1DjhRFUsEzSf/K2ktSy8POzADwMoiLvCSA2JA8NpXgjXqnu1qviVeLwSJmFGyK7fDKhYt2WxC65EVULdHsiTI3x2d4vZHRtf5gYyXQu3QVkw3iTkjrFHCbWIjdQ7PR7EWL/LG/L1OXp3iwsRYyGG9Ld+Ir+5IPwyPve/N9H0MBJIeMbvw3pHb5bo6LCBeAbVM2GnTVS76WPmcGZGKbul03nu6guwsWEZtHMvo0Q6HrjUTMbqRCfUmK2iVj82iWrPX53XGTGhJWS2kboGu/mmGp2VPhqAv6Y67W2qR2ff26xDN12cmZ+dVNWT+mNFBFiafdQZhgyd5w== 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=9x14XLVI+wtuT8Py4g1+XjBvi1twad3hKuZYroK6HhQ=; b=hnS2V61m0f/P/n2OoRsp+LgD6xy9pcXRy36BDqIGjp/xuTils+cRAp47OVYT4bPyCMXIC3hZ4ni7SJ6X4uQufuJaA6iKmzAiboGPd1uxaZH4mMVQUeEu6m4mEgVvtYdD+c03kB9QMDXs2lEpoOSuPXwkOjkn3I7urAE8Hsm79TmAgZhaGefqkzETbmaIOgK6HHokEEBAr9VOb9i2ewlQCE5yqUtu6R+t6ve8woYZkXhU5RYMblWFBFARruRE9+lJL0TfpUmZ+5oFFI2Z5fJWr3xL61ajy5RjcQ3pwZL9PyGAwnUpS+RS7nLGqYUqwxYoX5ibzj8e0D0gf49KUcm73A== 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 Received: from SN7PR11MB7019.namprd11.prod.outlook.com (2603:10b6:806:2ae::22) by CY5PR11MB6319.namprd11.prod.outlook.com (2603:10b6:930:3d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.35; Sun, 18 Jun 2023 05:34:54 +0000 Received: from SN7PR11MB7019.namprd11.prod.outlook.com ([fe80::2d39:426d:f529:6088]) by SN7PR11MB7019.namprd11.prod.outlook.com ([fe80::2d39:426d:f529:6088%4]) with mapi id 15.20.6500.031; Sun, 18 Jun 2023 05:34:54 +0000 From: "Jiang, Cheng1" To: Anoob Joseph CC: "dev@dpdk.org" , "Hu, Jiayu" , "Ding, Xuan" , "thomas@monjalon.net" , "Richardson, Bruce" , "mb@smartsharesystems.com" , "Xia, Chenbo" , "Amit Prakash Shukla" , "Ma, WenwuX" , "Wang, YuanX" , "He, Xingguang" Subject: RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application Thread-Topic: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application Thread-Index: AQHZnbUBtaI3/jfMaEW1JJ15Pu3zk6+LVxgAgAAWYWCAACJpgIAAUDhQgAAl9gCAALJX8IAARL0AgAAjGnCAABPJgIAAEfkAgABGx1CAAoQacA== Date: Sun, 18 Jun 2023 05:34:52 +0000 Message-ID: References: <20230420072215.19069-1-cheng1.jiang@intel.com> <20230613043140.18101-1-cheng1.jiang@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7019:EE_|CY5PR11MB6319:EE_ x-ms-office365-filtering-correlation-id: 9f754979-6a09-4711-c73e-08db6fbdbe34 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rdvYd9WwETBKC90d6w6CLuBN0+X6jWVI1cvyW/rqJRc3M3N5x9DGLVCF4BXibxBQTKjefVtdn1bN0pdGXj8qdJ6NCeYjBpoYaDb8IxNAVx70CbLNpbXiI1GFTsAvMV+vnNBrg+S+urasIuVtnDv/KldpBgNDueaBQfAuSgG13fzbpvCnWH4IlEdDfhHgsVIs7670z5UXDMKFwW/2ELqAG2xHKPzeTSIUfMLb0Mn5RgZTjfB5ZYwO0Di/cOzehXXmzvzqzlvTNOT7AfqKmhRHyoMaKh2mfYPxJz9OmREax5zG7ES4z6X5mmtUIg2zAnsScZBBkW8dm+OsfTrMdQPaqf+jSZNySZC+i3lGTZI834lClSXrtIccj/5CRHtC8lUpiJ54DO9UNeKOy2pXGpTrbaO7IBej6Ki/QJ61kuN/DG60pbK48nscBobLoFT0pPcV7K7Ck6Akf+Nf7pN5HGfLxJ0uABY0onqXpno2ISy5SDsWBaVpsDelo7HMRhhqzEyUkN51eh1IUFtUtrHicra2M+yOdUiym2OcamwBbTYeM46KJQd5sz1G8M6LjbvJHbdF09sbr72fnZQGWMVSn4rJ5RqiuLqQhcWnQELzLp6SRi4sMZWzyGAXkoNzZMgXWZvs x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7019.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(136003)(39860400002)(366004)(346002)(376002)(451199021)(71200400001)(122000001)(82960400001)(38100700002)(55016003)(38070700005)(86362001)(33656002)(7696005)(186003)(6506007)(9686003)(53546011)(107886003)(8676002)(8936002)(5660300002)(52536014)(478600001)(54906003)(2906002)(41300700001)(316002)(76116006)(66556008)(66476007)(66446008)(64756008)(66946007)(6916009)(4326008)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?K3ofv8WiJVotPtuibIqwtyvUKvBpNqi3jMf/drGYk02WuHf2sjYmkf/6DvIA?= =?us-ascii?Q?gyT6dchRb8xauKtKYjCdandtGsO+pygmI6eFmO7D9wyh5L6ZVfecHVS0Er4j?= =?us-ascii?Q?RJsx4cu9k2Y4jXpC2oKiFHnBhgWAs/7GVaVMgsIURRQJTzCeCJ5HEyU9RS9A?= =?us-ascii?Q?F6MLW2A22Fqfq+UAQ1abLtz6aumkI/3o2CYm+5w/zk05TE7EQQApXxcBB4tc?= =?us-ascii?Q?zyZP3D9Xg79PHUGtBW0RBwhVXOVbYcgz8NB/PI8/DDXLgOoW8WL4kKzLxF5t?= =?us-ascii?Q?wFhjI35XJ6g7YVNf7pX7wApkkpxOWs1+7tJ8D0PfgwHR0oLkEo8ohzdy65xx?= =?us-ascii?Q?e+nt1cBS4NF6HF0WYdvoufvGYQMzi9F8/n9bVCSUfXbhLTXx3RQUmxC2hhq4?=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0G8mk3yxDTShaMLu0H97yJMzgtNd?= =?us-ascii?Q?FQgGYjRJHGKgQbWHhgvO4Iv0cJwizmKBYVyOvLRFsEG3sqOPQLe1ro/8U/e5?= =?us-ascii?Q?zA0USwQG/15/lUMu8+odUVFiD854B79c3DL1WBXXnOzf1tTVP2HvrTmlpX/7?= =?us-ascii?Q?WP9pI35VHnpeuaC5KIT6+zocjpfZmMnAq+He3IKaVT17zkTJ9gbz9fr5pa+N?= =?us-ascii?Q?scqX9i2Aha2H3A9BViQi2V/TQmSGbSo0SQOJPzSG7XKGDzYtN90sl0YsWk/e?= =?us-ascii?Q?D8CP39qeGnjTSj/kGKQ=3D?= 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: SN7PR11MB7019.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f754979-6a09-4711-c73e-08db6fbdbe34 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2023 05:34:53.3145 (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: ad+9Iffmk1xNwmOnYkCbuNVtygWaf1tUGtG1lrO00R9ibaQs5Ba4qK8HcyKyZJ0iTWtKkGq/v4ymbe7BhcRijg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6319 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 Anoob, I've looked into the memory footprint issue, and I didn't find any. So could you please help to share the config file you are using? Maybe it c= an help me to accelerate the debug process. Thanks a lot, Cheng > -----Original Message----- > From: Jiang, Cheng1 > Sent: Friday, June 16, 2023 11:16 PM > To: Anoob Joseph > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; thomas@monjalon.net; Richardson, Bruce > ; mb@smartsharesystems.com; Xia, Chenbo > ; Amit Prakash Shukla > ; Ma, WenwuX ; > Wang, YuanX ; He, Xingguang > > Subject: RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf applicatio= n >=20 > Hi Anoob, >=20 > Replies are inline. >=20 > Thanks, > Cheng >=20 > > -----Original Message----- > > From: Anoob Joseph > > Sent: Friday, June 16, 2023 6:53 PM > > To: Jiang, Cheng1 > > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > > ; thomas@monjalon.net; Richardson, Bruce > > ; mb@smartsharesystems.com; Xia, Chenbo > > ; Amit Prakash Shukla > > ; Ma, WenwuX ; > Wang, > > YuanX ; He, Xingguang > > Subject: RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf > > application > > > > Hi Cheng, > > > > I think there is a bug in EAL parsing. Please check the below diff and > > see if we should do something similar. > > > > diff --git a/app/test-dma-perf/main.c b/app/test-dma-perf/main.c index > > d65655b87b..7fcaa5acf6 100644 > > --- a/app/test-dma-perf/main.c > > +++ b/app/test-dma-perf/main.c > > @@ -432,7 +432,7 @@ append_eal_args(int argc, char **argv, const char > > *eal_args, char **new_argv) > > i++; > > continue; > > } > > - strlcpy(new_argv[new_argc], argv[i], sizeof(new_argv[ne= w_argc])); > > + strlcpy(new_argv[new_argc], argv[i], > > + MAX_EAL_PARAM_LEN); > > new_argc++; > > } > > > > Thanks, > > Anoob >=20 > [Cheng] yes there is an issue in it. And I have the same fix. I'll submit= it later, > thanks. >=20 > > > > > -----Original Message----- > > > From: Anoob Joseph > > > Sent: Friday, June 16, 2023 3:19 PM > > > To: Jiang, Cheng1 > > > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > > > ; thomas@monjalon.net; Richardson, Bruce > > > ; mb@smartsharesystems.com; Xia, > Chenbo > > > ; Amit Prakash Shukla > > > ; Ma, WenwuX ; > > Wang, > > > YuanX ; He, Xingguang > > > > Subject: RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf > > > application > > > > > > Hi Cheng, > > > > > > > [Cheng] sure, no problem. Feel free to contact me if you have any > > > > more questions. > > > > > > No further comments from my side. Can you submit next version? >=20 > [Cheng] Glad to know. Yes, the next version is almost ready, I'll submit = it this > weekend. >=20 > > > > > > Top level, I think you may need to add a doc file for the new app. >=20 > [Cheng] sure, I was thinking about this, and I'll add a doc for this, tha= nks. >=20 > > > > > > Few issues that we are also checking in our end, 1. The app is > > > having significant memory footprint. Need to see where we can improve= . > > > 2. EAL args passing doesn't seem to be working. Are you able to > > > enable specific devices by making using of '-a' arg? >=20 > [Cheng] I'll take a look at the significant memory footprint issue later,= thanks. > As for the eal args process, yes there is an issue, Dengdui's comments al= so > mentioned it, and I have fixed it in the v7 patch. >=20 > > > > > > Thanks, > > > Anoob