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 E40CE42CDE; Sat, 17 Jun 2023 06:35:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B393340DF8; Sat, 17 Jun 2023 06:35:46 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1EA4640A81 for ; Sat, 17 Jun 2023 06:35:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686976545; x=1718512545; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hDvniblEttoUgx91imhmtaia8ho4zwgEVA8SJ/pxozI=; b=eaVA/4p7QFvNFtDBLh/pL7k/OCSdZ6AHO/anQ2TZeNf8txaZedN0O+/4 Va5iWoFPUHDO7mTaf2RXvqnjgrN4rep6+Bdg0EVvrpVgFnrM4552ReO95 rkW0E1B+nFfXHtnrI6Ii96LqeP1Wi6861SBZ5bBszICVs6vjwE8PXbk2L vxR6QMX16EsNolz9sB3uPoGkwvj28HfiAJCF0BOQHDNZ+kiG2jvMwvU4y yWQ8MF77ezxhtHA9j6WHsd6bdN5qPfnFA6vFfSABbKpdLSn/xpu8Bh/+B yZ7nas5L28e1zGdiPoldpyHXiFI5RMvGTa0BxXpdyDyNWTC0lVmozLz6U g==; X-IronPort-AV: E=McAfee;i="6600,9927,10743"; a="344098695" X-IronPort-AV: E=Sophos;i="6.00,249,1681196400"; d="scan'208";a="344098695" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2023 21:35:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10743"; a="783156285" X-IronPort-AV: E=Sophos;i="6.00,249,1681196400"; d="scan'208";a="783156285" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 16 Jun 2023 21:35:43 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 16 Jun 2023 21:35:42 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Fri, 16 Jun 2023 21:35:42 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Fri, 16 Jun 2023 21:35:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bsjs0VoLv3MaTXpRMyk6Z8pobY/hgB9jj9pYeeN/IDAlYraobXDJ1Oeeln/XDOJOjmjANihOUHPo8sKfDQOKJPjuGLtdLWIi7QxEL8GNQRgawOwk4JMpo6bDofyCe4rVs/gV+d6Y8wZ9am/0g4gxguueeMjC7zeObmuDLq7PcVnvm5a5MDq9LZNoJoLhOxxi+fAgswTTCoXPtxbp6ooYb3bqCGs5XSl7QCwT5qGilkNrL1CvH34se8jCw9rAH7u3AVCyQOMNjj13yBQJ7UnDDWBketakPM1cE29jH1gtZ1K42Zgy2WgGpf+VdyDuq4AFOtyeUhq3BnCS6HgnGtv9MQ== 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=EBmaz55M8+PBrHEFj8kp0uL18HcRfHoM3CSc8GSH8Ms=; b=bfvsJT5DAi2TIPi7aQ6LcCUwPnqQpFnWhfkxnY3t2I9MHlpTH0yraYS2njFGHlXBB5lTFmsHT8zVymQKqzT5mQft1IHblAv3r/MT40bHoUsckOkAyDSJiQgzGgbZkXuM+tRN6goAZ6hOTlLuNJonyJNamu9HI6HLZxluol7VyxDG05Ah2pKUqiH2VGUkGpkmDxS+VWqXBO3gPFaSS0AMelIf08+VWmI/oFh6G1b7mBYlMK+b2beVB1rac7YYBWHj072wcJePFaj/7+JxKDlVG9CsKJh84diAfSqhUKHHkEev6h2WntmgtsvRqWHmDUMA7rZvz3dMwqPUHFj/8REGgA== 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 PH7PR11MB7026.namprd11.prod.outlook.com (2603:10b6:510:209::9) by SA2PR11MB4857.namprd11.prod.outlook.com (2603:10b6:806:fa::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.32; Sat, 17 Jun 2023 04:35:40 +0000 Received: from PH7PR11MB7026.namprd11.prod.outlook.com ([fe80::557d:f7a2:9977:1ce4]) by PH7PR11MB7026.namprd11.prod.outlook.com ([fe80::557d:f7a2:9977:1ce4%5]) with mapi id 15.20.6477.037; Sat, 17 Jun 2023 04:35:40 +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+LVxgAgAAWYWCAACJpgIAAUDhQgAAl9gCAALJX8IAARL0AgAAjGnCAABPJgIAAEfkAgABGx1CAAOCyYA== Date: Sat, 17 Jun 2023 04:35:39 +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: PH7PR11MB7026:EE_|SA2PR11MB4857:EE_ x-ms-office365-filtering-correlation-id: 314992e0-08b9-4d44-0022-08db6eec4ddb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: k37LOLttSIalI+Qmt7GLgwrEDb5itP9UMa1OxJ6BoRHL8rWntk2xwiiveyv3riIjfQFhAJ6opcR9hB8FtQt9QHfx/b3s9oh67GLxWp6iJ6kq7kTRoz3+u8wloAom1M6l9li9UGhMHeZFJKXQhkyPqIidlyiD9WBN3V7kIcb2MHAXGxF1yw1/NBZR5zm/JjigErEa7NR3K8IQRrJnqttM+X/IlMVsGa7FeJhbHU+e2ZTK+/rA8WuCD0NlGsj/tJRL08lK0n1uUNnA0NRJ51PJUL0dARGjtS0fPV3FkkETbtzdOQCEiKshe9h2WLWM5dNzcGXL68k50+7b4pVErgUjOgr6fti/1FhEQEgO5keGHkfun6XJUJwvcf4zd61e8eGZn+6oi4K+Isnk5SGIaPQgDfSwrJgbT/2KsV31ZSQjHmccUa7PmQJ63SmrrHmtrCwsEFgqxSnoniKODjGr5rkFHEsDrMICohSxDkh5ywt0jJZ5NCU672hgzjzU+rVIab5FYDOOQEk3XAiJmBzxWYoBcWTOO62RnlCVYysDfQ6x5ICLR4+vF7e1uJPuZVDRghpqX66UEGczP+0DI0xUriuwB/WW1tP0gTjzY/MBMYpGR3r+jjxbj7Wqsd623LqAzTUI x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB7026.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(366004)(39860400002)(396003)(346002)(376002)(451199021)(71200400001)(7696005)(478600001)(66946007)(76116006)(4326008)(38070700005)(33656002)(2906002)(66446008)(64756008)(54906003)(6916009)(66476007)(66556008)(316002)(86362001)(83380400001)(6506007)(9686003)(53546011)(26005)(186003)(122000001)(38100700002)(82960400001)(8936002)(8676002)(41300700001)(52536014)(5660300002)(107886003)(55016003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fVuuTluuySzCdkprmrlOnO4U3K7etc7/I9ZXAPNMvmVW73owDOzwTKFz94iS?= =?us-ascii?Q?SAlv0krXnK9uDnxXXU6JBEllXVSxJ24CYEyeNfefvYZ92bPiYV6z8yhtt0Vr?= =?us-ascii?Q?pzkirF+xbiBoAVoKppoI0ourhqWFHQgMUG1Zl4KpVaH3xuSsedcvqgvJc4WM?= =?us-ascii?Q?XakdGrNenRQ4p9nuBRXi59mN+Gg5M7OnsR0PJxxEL5ygRwBfLB3eevIpsROO?= =?us-ascii?Q?QvrNYVHBMlUowiySmfrXtFwppLImQTKtXUcah62+ObFg3v+09pOt+5n9Flu+?= =?us-ascii?Q?pX/eH9uWQ6/XBNhPNCFJiAYZokg7bdyriVcEBRlD+8CqU9FKfQPYZp91vd8C?= =?us-ascii?Q?jpjgNu9UhGTj7fQZ01h76lW1teifqlruPZGNaLbac26YiRgk95vk29h3TToU?= =?us-ascii?Q?g3+sx9CHBkrclgpMzhq2cWz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?us-ascii?Q?uWA9LANKlf6KMVFM7f+ENO9d0oeSslUTZbdsg3PscjgIUyz0hzUWYw3NxP4o?= =?us-ascii?Q?p5IqYiQbkaDazDGtliXM85XNqWUsk3/tULUj0PmH5Ru+tYyNomQd7ZmWg93U?= =?us-ascii?Q?PidEB598vQWBZkGQPpCSm6UowtPC3mEBEXgd2/bzmO8We8r6HbQyFqu1C76f?= =?us-ascii?Q?iHULPJqui9bFRClqtGwaIzDDAYl2QgYlY/OAbDLrpOmCXqPox6XOOLRNdGiD?= =?us-ascii?Q?wFNCzV9x/AhP2XG8XdsyUbY0f9onnNVZ+sAK/TvD?= 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: PH7PR11MB7026.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 314992e0-08b9-4d44-0022-08db6eec4ddb X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2023 04:35:40.0196 (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: lGf4sBAHMktsMEBNBXeAcI3N7pV5wluC2TdauV7PKwlnXmsNNkCGByVgIUGFiAUbjP4GruTkboiMdQ7hVhtc/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4857 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 have a question about the doc. Do you think I should add a folder in the doc/guides/ just like doc/guides/= dma_perf? Thanks, 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[new_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