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 AF4F8A034D for ; Thu, 24 Feb 2022 21:13:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 966524114D; Thu, 24 Feb 2022 21:13:51 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7D9E64113D; Thu, 24 Feb 2022 21:13:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645733629; x=1677269629; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dIAIIKgwIYjx/31r3uneFKgjsrKpjjCvybmI+bf749E=; b=D5suIUy2g4TealoZk61ZNLG63LfetLrK3t/f9tp+XuB3DNWi+HjS5RHA 1L6bgtQ9G2cOPJtqqpBA9PeNMC4NpT2kq0ThD7lTI0xfwD5h/WWLcXR1Q EYzYqSeZDtJIWbehMGwNNq7IWkYbluk+03n1g9JBCSw2vM93qg8ks1rNu SMLbUQJy39uWCtvPjkvO78DOJy1n7qQNIio848FTR1Xnere98Mur3nFsb fjzWIfaDvaBJu46HmJC/NBDvGNz5v6Ri7g5Xy7eB45crH0ZOVEfnw2qIN 5mEqq8IrOqUPfB3q+UlKY7lu0qgqEUWfO7/Pe2x1TOnG7pKtAInO1xswm w==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="252532932" X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="252532932" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 12:13:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,134,1643702400"; d="scan'208";a="543828758" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP; 24 Feb 2022 12:13:46 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) 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.2308.21; Thu, 24 Feb 2022 12:13:46 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Thu, 24 Feb 2022 12:13:46 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) 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.2308.20; Thu, 24 Feb 2022 12:13:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kCNZjATfcKio8L8lN4CpstkLfjh0cNAT5+YOM2zn3JjzN7fP7qzkJ+i4UXXdUg3ZlA5h+ioh/99jcf54OHZz5fMRdkYohMZQDY/BaEcbBjST2vvWuN7I9gI2mcNrFxnKvfYX3a057FAKqudHJOdOISzwGzf4oKTXk55jOMsluRmrI6FetnCJ3LERHXQJX+Isr9WlpAcqbuDyYwfsxDtG6aeGEbpmVgx614/5JgPnS6o+CdqU7bLnYpH1yDTtuqsHUWiEir3U4dnHu5Kk6gk6t9NGwxndm1IIIPXqoR9lEMOvlzelpBBipS6MuYwwBjzA1WYAWPJLEl2ql94BIZSWxA== 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=EWwdGSx7/Ihr1+qmQruB6X9z0cHH+e7GS3Pyos87EIHlK4npn2ZA3DDDxyMtiuOmWEDFnZUqOIrybXafXzL8AAyiGJgW3XPGJjQRZjSOjf5LQ/qwd+M1tidXNJtvm8KQGFOlFbeTiJoIiVVywpxVPDj2XERi7oUoEmfscSJxlr1VprD12jmbH9TGTRZhz/P2yMktJSGV68u6/4PYjl8dv6g4GQBeNSXICBE73AOA+DsGm0Yijt4l8W6bCmZvGCnVNoNBKhqzTIQkaak/A3k6HmnUGojO8DkcxlAU8KTOqufdA4AB2ikLHWTUx4ALxBVcHen0/xIf3hcRtP9C/BiqBA== 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 BN6PR11MB1666.namprd11.prod.outlook.com (2603:10b6:405:4::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22; Thu, 24 Feb 2022 20:13:44 +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:13:43 +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: AQHYKLn7SvloxxAr1kWETvUEev4P9KyjJH8w Date: Thu, 24 Feb 2022 20:13:43 +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: 843bdadc-ae50-459a-6c01-08d9f7d227db x-ms-traffictypediagnostic: BN6PR11MB1666: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: ttzvM1w4cQTsyEcO3sW6cEK8jxq3L+Yt1fmixfFtad4q1XPJCWx9EsofckVl94AZY0rMOr09bLwfB3CRCs/Bf6fzxArAOk8uzyE/B/G0Pd7TuWxXtmBszB1/tyXMEQJyoLvVshk7cJ6/RDDxel16H63aRRXmyaFX4FdNkq1WKli52kXiTKsDexA5JQCr8a6IT4FHAkTHQsu42Cyv7dVs3DtqMVEfyCnoAX8P1mEyLW+XAt5WwvJPeMYDWlyGbWwZlCCcOEAXRAU/xLeXtH4cBSRYGEUgSPRcTQwa2uPgxDT/RXY0eGRf0rxRbjUc8Z6WVyC9URdtDJoempLgZjgY3ktgYDRyR0L+OTZyv0KKk1Lsafg/3jQDpdCQWEmjagoOe2gQ1YNzzh8W4u7BJsMt3vWL+EhesSmYclKjMzaVwOkugbcVtMZwO8VOLw/n7C+GUsFK3JVwpZZJGcUgQCqWiIK8f6oaD2YopgMSMOHglGVQRmBlBHqzTA6MuoboRBcjEKzTQPNrOy4H7jrssZrin2JolSNGgqqvdD4fky5MinSGsp0TRU6gl7Fkol0BUPTuY2fD3FdylezbURHUfbr6qBZDfic+cw5q5YEB7rbtquST5BHYvQH7bT5ghm6spANRIW2fDOf7/Wa6PTSdvj+UdREKUZL+RNmPNYVwmgBl38wCrKQA/cq+bj9/lSxHXH5bHuML23vhXuhbL7g/EAJ1dg== 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)(2906002)(66946007)(4326008)(82960400001)(64756008)(8676002)(76116006)(5660300002)(55016003)(4744005)(66476007)(66446008)(66556008)(8936002)(33656002)(52536014)(508600001)(38100700002)(53546011)(7696005)(316002)(110136005)(186003)(9686003)(83380400001)(26005)(6506007)(86362001)(38070700005)(71200400001)(54906003)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?qMC4HAVr7EW5jv/uN388nx23zBItOCUl8CBebYVyw/l3z5ui7wENsCs1?= =?Windows-1252?Q?s4Cf8L+Xnpw4giadlbgNlYDBF9uUQskB0k1zeAPd80ldi0hhdTCmUEDq?= =?Windows-1252?Q?Tn1TXVb7/dcJbjSjyvehIDegGW3AHPylLfskQQgDhg0deQ9+jeCZtJld?= =?Windows-1252?Q?7C2seLVGXLUdBOyotupMOHSZL5CQlfI7yffg4TIUg8hFDWmZrx1PGUzr?= =?Windows-1252?Q?o7UupIl/2+Nvt6+o85yTkYnLoCWSRDazO/W75t9cBiK9PwCGRMBnUgLH?= =?Windows-1252?Q?btIN77tKvx3shJlEfkWz8xjMhJWwghQw65thvaqxVbgclWd4LQ3+H0UU?= =?Windows-1252?Q?tPnEUV1/w0uTt6MQrDWDwtcmPlOQOGEb8+glV/W4/k5HpethEUttcQLL?= =?Windows-1252?Q?u4qY/RjHE149o226XIKdpbftSBxbGZjAmypIvt0JvsBF9Xm2KbKIaJsI?= =?Windows-1252?Q?fiESXhD4O10kH6P0PhbK1CyKolhD2TIQxz4AECowc8siWxuL5ML3Hylv?= =?Windows-1252?Q?DCTCZ/fFpbzSAqIclPbV+AyZnxz2Z5nCgrLF61fdSqVkG3tR8WJOqTfJ?= =?Windows-1252?Q?QVqtg5vs+8nYSz6d9jV7AcfLPEKUwZOyB1SV0MFFeycgiwEdgvJdFMmi?= =?Windows-1252?Q?EjIWhoZpL4CSM+bfx53DqAoVxf7QMQJZEi2/1f0Kl76MHMxwrxAONr3n?= =?Windows-1252?Q?hn608kwrDUN5CjHWDujtwtKPJTDeWSP7mlQsZb0/uveD23UsFsxFp15/?= =?Windows-1252?Q?o4srQuIbIF+mjde7fKXlT9oia4jhgLkNd7X8Qa7M5wXsihpmZJUZaaQp?= =?Windows-1252?Q?XESn/xFOpCamUJ9DQU8/WZIMb8z6/w7oacXK4q4KccwvLKDKQZ2Op3Jk?= =?Windows-1252?Q?BQP9lZsJxcamQmvT8bP7s/hzr/5uq6o6b9WP6vo/XimSp/Vy8W0el5ww?= =?Windows-1252?Q?2nTc3R+6l4OzxrBGmMfEbv+eItOsQv1I7KlGKMmX6tZMNnosC3NPD7pj?= =?Windows-1252?Q?ygQe7LMgaLs0+jTDUSdtyb8uR4kZnbyl8dExyvRjWMkVBNaDCPTFFQHA?= =?Windows-1252?Q?gmTP5KeDgYflJZFRmHS23woorBy3zo2L2yCy+Ipa5MaIimTMVaBHW8HM?= =?Windows-1252?Q?jbzQEZKwIScjHpPdJJv6DeiPqDar3MIOV0RryW+Syj/pT8OPqgwTROUJ?= =?Windows-1252?Q?ClqNMH0IYpAfVFwe8RJii0lPmtzoSrPDsX5xGUTHDIxMtqy0BnfxgDXi?= =?Windows-1252?Q?IerqfFPH8wvoD5/6f/Kv+CW0Kg31iWnTq1qVv71swFdeqS6AS/0IgKco?= =?Windows-1252?Q?simWtaefFmgadp0zQCNH2leeg4QVfYealRucjQ0CG4mUVNFjVlDOuqwc?= =?Windows-1252?Q?ZZ+0hNI3gnkC/6TG8mFpKTTj4ohMXiDJJUlQ8IO9yWSpioUESxgsMNIH?= =?Windows-1252?Q?gfHYNaMCF7gc+FGHlU+5PRygJHItJM3JQGLwEJUB8N18d5MTvEfshUR4?= =?Windows-1252?Q?/kRG6jhR8+2KOx0l94vwIcnL54Np4cDQR14JNkfV5y+HVVnK6iCdrULs?= =?Windows-1252?Q?E1NpvE87dXOGv1vV2+Mjjj6uMOHGabVGfrLVei0lXIkzBQThpanRnKJh?= =?Windows-1252?Q?B1D5p3OYtmwULrbxYqQ8vOqt5b7ANkjyrkwSBXFi5dVJOdnyBhBp8csO?= =?Windows-1252?Q?O24V6gPfwzSwixo6seSnNWxv0N4DEKVCTzZ44QVeMBpUitiAkSFCe2iq?= =?Windows-1252?Q?oXCRneJi/og3Epnf2Qk=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: 843bdadc-ae50-459a-6c01-08d9f7d227db X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Feb 2022 20:13:43.2426 (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: iI+AK/X+BuesqlLqOl5u6YZvwF6i0BAUnruEfnwXQunGu6Mr1Syz+G04k31SXfQDLh9lWcZqWsxK3WIsT9Jitw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1666 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