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 114BDA034C for ; Thu, 24 Feb 2022 21:14:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 068FC4113D; Thu, 24 Feb 2022 21:14:28 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 90F354113D; Thu, 24 Feb 2022 21:14:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645733665; x=1677269665; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dIAIIKgwIYjx/31r3uneFKgjsrKpjjCvybmI+bf749E=; b=iXE3I5G7KhZi0Etwe7ooisljkAGdiSTzEt0uU4nRLlXV9nbFa3tTBBf1 jxBsusGXUa0O/N47Vo9YPMmFgMqqEDqVw1vCJFOdO2zUXzlRKlyAumiWE QzDdGwNGTvQm6KnOCPwkfdGMiSzVbbzMcOX7AubDPmu03LGjI90qChr/b 4TRFWK/pNK+5bV/fUnJ3Euz1Q05fK74vJSFMyY8eqEe3xNgUuyA1OmDjm DqeSRDwcP/dbzZBjEQPLnvo7gGv6oiT3W8PM2hfgc8MHOcXJi9gMS/z08 aATSjhpdRBAbBuRfaLho9cZSZsZsPQEdSFRZmV18qAdnN2BKSORaVU5HB g==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="313056083" X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="313056083" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 12:14:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="509010644" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga006.jf.intel.com with ESMTP; 24 Feb 2022 12:14:24 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 24 Feb 2022 12:14:23 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 24 Feb 2022 12:14:23 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 24 Feb 2022 12:14:23 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PT5YM69hbn/YU//wP6aK3YCTkS+foFzjchOAa1MXlRyAbHSBW2fMsIgO+9vMCpQ2R37iocTlJ80K2+vBpnoDdL5G7XAAFJMMY7PhFDMP4FqNDU3CjNAaLAYMESM2Rt/gk2Jt3BrgZuLpQlwn1XOUkVy5tLyb05VvMru2chGNxQ61J3y3gi8K0q+EXOVgz8rxy6dSvB5jLZEx6MsArZVS6HXJdbs5AVdhj9EA9jODS7zCdxLVVyn9Y2yJ49CUxxwqxwsNNnnjpsLRNZAaFkkpUysuQ5BV94I0xzJqbTv1QiC7khdNHkuB5Qe6EZkgiuj61Imyxk8Wm0NseYjUOAZN/g== 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=dIAIIKgwIYjx/31r3uneFKgjsrKpjjCvybmI+bf749E=; b=OKT1/VYYi72n9IWLocNzqOb7odGAarZ4AHtYstSv7/6dNXW5zA9rbN13UUp+0Il0GbPKTKfsrxqd+f8RGOu+CBTxGqL6qwQscSL+I13iK4kyiAtLvjtwo5AQ/V4mLapPU0sFCxBo++gkQ6jMdF83HLobz5bAdF0WOR67fJxHWhjl1yPgXETlmqxxNRenib2/IjU+WWBsDKClgmDZ5v6zbmUHCsFbwgey6BO/FgJfJQKfA/X9Ts9c39tK6U2KtCWp3nUyC3EmktIqF0znw0VcdBzWHF4i5A4j15+pfnvz+DgBCYkbtdHX1VxwOXXHjIBzUVBCvRBMoJtIYf7k9hS88A== 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 MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by BY5PR11MB4339.namprd11.prod.outlook.com (2603:10b6:a03:1be::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21; Thu, 24 Feb 2022 20:14:21 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::a599:b969:5072:71cb]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::a599:b969:5072:71cb%4]) with mapi id 15.20.5017.023; Thu, 24 Feb 2022 20:14:21 +0000 From: "Zhang, Roy Fan" To: Raja Zidane , "dev@dpdk.org" CC: "matan@nvidia.com" , "stable@dpdk.org" Subject: RE: [PATCH] app/compress-perf: optimize ops pool allocation Thread-Topic: [PATCH] app/compress-perf: optimize ops pool allocation Thread-Index: AQHYKLn7SvloxxAr1kWETvUEev4P9KyjJKaw Date: Thu, 24 Feb 2022 20:14:21 +0000 Message-ID: References: <20220223133307.13608-1-rzidane@nvidia.com> In-Reply-To: <20220223133307.13608-1-rzidane@nvidia.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 652d1fb3-6b59-497b-b6a7-08d9f7d23e7f x-ms-traffictypediagnostic: BY5PR11MB4339: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: craFi0/bIkuUW0Z4EGhPRrP/U1NlKM921BRsLyrZ2v4qIZ6ZiRr8qMOML38AwgW5cTWbSRT6rL5D1e9U+J1Kps3pgV2YqzVK6jr2FKD9Aj7EWbZS/swy/mWag+aDd8NUlWjFZShHFONSroS6St8z12bCKvw1ol2LAtF7tG95cfvzw7ulLlPm3acteTqSdIwiV9SneFnXWeryNqKm1qXSySiV7EZRmIW5/koNvcQyGM6z3L/sytnIQfhfSiqAWgJw2kChl+t07jSlwGC2whz3I3+LEtVVGqjinla5UpdcKMrMt65DeTL4vATqQUkMVe/Y6eitszWqM69Qr32qu4IDCp4k/WXS4y3RxWPETidKCgIxZual41bFyAeIPBGAGoFeR60jHCOiBxwdd1yBy3UbavgBjOmtw0JiD3SInDMakFSrYylTGEt48E34jmJ4df6BbsxqSvNla/zN5Ea8/Wf1cdXUZ6X/xzXqAj3Kfbc0jQr0RXag27wbJblyAxRK/wyynWvsl7yNaUiT2Z0POTlTIjTRqXCpZpH3peLmsh0J/hAPRZPzIbV2XJox/8VCBcl7DzbF8RN9vX0e6ldljjRt0qytK/WrfkGGzP+TjtNtKuqOjXIfVQnIDoByUmKo6aiqKsn2qnHkiIrpbMz5PYKnVOXEN0XelPHHPpFIyLKccwWBVepNjA0+drfK7cCJh71aMuTynKW/NBZJ+4fRWJx1og== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38070700005)(53546011)(71200400001)(9686003)(86362001)(55016003)(7696005)(508600001)(110136005)(6506007)(122000001)(54906003)(82960400001)(38100700002)(66476007)(66446008)(83380400001)(8676002)(186003)(26005)(76116006)(2906002)(66556008)(5660300002)(33656002)(52536014)(4744005)(8936002)(316002)(64756008)(4326008)(66946007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?ElkQTXOef2TpxhopRvXBp39YoBhVSMSjb+lOuvauo20Isl9K0FL2pZdw?= =?Windows-1252?Q?SlJJsXrMfS+nGBkX0BHkW1UfhAZI1Mh5FBNLCD9BSmbUweHw7tV/OCtO?= =?Windows-1252?Q?E4KqovNvVnbVA/fG7spoukk/QvFDX8PuHGTj98BM72BfO9qTF5SxCSW4?= =?Windows-1252?Q?FiNq4eILKJCqeImY7dIPLw9CW9+6AnFKWAXQfW+ORYequllwqZq7KVLt?= =?Windows-1252?Q?3D4sxbk7XUOiNLJp/2iZp7ZA0KQ+344kc6hC7slivoEzcjgOlthC26da?= =?Windows-1252?Q?CmHT+jtP+sutw3OsOQb2X4tCldjAKfGKw097oI3k1+OobQmZ/oWynB0s?= =?Windows-1252?Q?/33WKXnjitq9N4BXRqNgnyyD1W8HtstBdBtjLshMh6dAA2vqK+MHwhMv?= =?Windows-1252?Q?Vkem9kRafmOXshnYtdNrCpxXdhECofcOZqSuCmjMphu0yusdn5BlHPZN?= =?Windows-1252?Q?pfn4vjkFUTjjItmVccy4DDIgg7zVP/AuWBI4ICGPR8/y744Ich6lM3m3?= =?Windows-1252?Q?iSB79JDfuIufaQynZ6z4H9J6RIyaZK6jSUc04I4PwIeotr54VYbCAWLz?= =?Windows-1252?Q?IYNlpfLDQVQs21fNVHH/ZtsA47ZiAifK1AG/hfBa3f6dWfs/cOuFAD5P?= =?Windows-1252?Q?ZNE9W8goNRTebnM6s85aSSd7G0dx2mny87gqL2q0AU9j6cqU5MWZs9PB?= =?Windows-1252?Q?KC7Wno5quIdQOzbm/g6/xQECKWaedJwhuTNzvCbtVwCsNhIAnHcVO3X3?= =?Windows-1252?Q?zzHy7wuzVw4U/iE8MJaAx7K6u4VAAT5i5dOQAeek7HhUbW2KAdZB9VuQ?= =?Windows-1252?Q?7US/cSBBL5E1OBoAtHaMVwm0rppeil4fc9VmYUTWrW8hgKxZwAZdj2rb?= =?Windows-1252?Q?J9SZJ75aY1ba873Rl1JBfQokLANUUqeP+xlIeJDXKsNPtNkjAA8329Eh?= =?Windows-1252?Q?AlCtGS46qye13rJkgaHlMINHOZthxNGnCZHRAIzcGvuBmCsgfdYNqaZY?= =?Windows-1252?Q?5iHfNM//E+e7ppn3OMgj8YXn0I8rTJI14TCqo4o/p/IEylVqP5ucMxEg?= =?Windows-1252?Q?K/UcHvn/YvT9OqqW/LK8LCWUffZp4PwFpAF8M5bEHchOLikw6HZTw303?= =?Windows-1252?Q?vN7VXOGgU/0iRzRkvd1JFi7MA0B3sWvGXYg23V4BVPEe7opIr9vBj5uo?= =?Windows-1252?Q?6aIPpiMSGVSIRoUfYc0fzQoOhnQiIctKn5wp10GhXiU09v/zl1C8n6MT?= =?Windows-1252?Q?VDrZ5Zxn5pvo9TwucM+2cE/Cd/nGH4p7rHstOP6Jejk5P6rEkUgRDpxM?= =?Windows-1252?Q?0RDnfg9VMUdNd/jfXe/iCnktiBcH9ZRKeS0nwv51orsqhuOQPImgNi3Z?= =?Windows-1252?Q?nAj2QlADq4cI5H+rRgz9pCJ1oK/yJq4wY/fyK+JxkMbbcS1DrDvgXUFp?= =?Windows-1252?Q?zyBb4xgIlCnP6wc1WTS7w1sPwg4b86MlcsxxUaHbYuQDWVe4t3AnfWi3?= =?Windows-1252?Q?j/soIfDRfhwjANwge1oF84KAsJyS4YXuGs78T3MbhAt8X/2E/DXny4O9?= =?Windows-1252?Q?f408frCmGwLNPXBFmPo8n7qGCfSFyiajbxZXesrjZB1NlmHDpwqGkoRW?= =?Windows-1252?Q?cq7eXKoeOATQJpD3Itywvfq9thDWg5+MIHLzg695Extgnxsb7JAZH+U7?= =?Windows-1252?Q?MtVYLqsJAFox4IDYNoOpki3IM1EcO+Njw9wSsXf7Ye9n0Cd0ujrb4z0q?= =?Windows-1252?Q?K5re3JRwu+QqdDPRmsc=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 652d1fb3-6b59-497b-b6a7-08d9f7d23e7f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2022 20:14:21.2448 (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: HPV2iox+i7VzXcWvvfbf49I68T0KgRx7BQf65+8J55Oy+elE1iHVwJJTcwE9S/q16sq9blKv6x3m+gdzFhUcEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4339 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Raja Zidane > Sent: Wednesday, February 23, 2022 1:33 PM > To: dev@dpdk.org > Cc: matan@nvidia.com; stable@dpdk.org > Subject: [PATCH] app/compress-perf: optimize ops pool allocation >=20 > An array of the size of total operations needed for the de/compression is > reserved for ops while enqueueing, although only first burst_size entries > of the array are used. >=20 > Reduce the size of the array allocated. >=20 > Fixes: b68a82425da4 ("app/compress-perf: add performance measurement") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > --- Acked-by: Fan Zhang