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 0DF2042AF1; Thu, 18 May 2023 17:47:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00AFF42BFE; Thu, 18 May 2023 17:47:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1BACA42BDA for ; Thu, 18 May 2023 17:47:32 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34IAQeDF013246 for ; Thu, 18 May 2023 08:47:32 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qn7jbbjsa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 18 May 2023 08:47:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YgkVjH5p01BvAWQs/+ZCuj2pEU37AwmfK07k+FFWt22U1Z3H5EmD7SxXejDWavS4V2Iujyqkx/CEm9fUzj7ho2dva2poOCbyUq2WOnPik74qMiZu1cy+CHqmWmBIGv3oM5DaeA+YpIO9H60vU83G9DHf+xQoVkJDztnO73fobHOO3belPPMeS+IYmPucbddwEHnYUkedZnzfso5LDWerF/9VkjXOfa0Y5aJQ9NJNTKme4ggzohwEFJChGkZAYXujKSHkY9UTfTqyAXvUpqIa0drzR3cXZA25nNbxWGQMwJ1gimLRNvBWlUoo7P/eKGbgEBg8DO8EFbZnKV/onypMPA== 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=p+5E1/eKZXvWcXwgttmVe/hE11Hl7P7RRdVvLBFCuL0=; b=XTFr5fnI8Xk6Ro6PJ0eQMMmBwRG3/3ayP25k3pa3PwXcbElKhdE2VbqOjot0bIvSlBKxRa/47zLT2MfKzkTvdFWpjbmqRtHl0RCnqEuidR9VwyIqZaNSp7f9pLOdUjTzaYRmBIVKlxZrlDuOzpGmKJxnao55gNuUxoLRSO3pHR+hu5gQBdOMTRYv3pi+Z0wqVFo7WVhZwV7bZvQ76kUgXzfnbabYXgh9zSX+wB9WkCRnnpJfe9KuGckW1tcUrC7Vxop11p74QMte2OImGAoXJpxRntjL5rfor7Hh2qEbfqf+7ECl6vT8CrfYzTd8viZId1KPnMmyp4idN5FPsRs8yA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p+5E1/eKZXvWcXwgttmVe/hE11Hl7P7RRdVvLBFCuL0=; b=E8GZPdcdbFCt9A9EgNzWzGeWGd6Ssw1qBJ2UwI2a7z/PFxKIh0qAwjoN1ZxhTuUdAX7+cXxu9GUbqKkqnJccKWZG5IYKJLzY62JRuOq3Q1PXh6l0V1J8PgaSz7suQY1y5wo4CWLDqCzJuq8N5MfYfvVGfOeetanSqNVbmX2nwbM= Received: from PH0PR18MB4425.namprd18.prod.outlook.com (2603:10b6:510:ef::13) by CY4PR18MB1608.namprd18.prod.outlook.com (2603:10b6:903:14f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.18; Thu, 18 May 2023 15:47:29 +0000 Received: from PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::a2dc:5256:5a0c:851f]) by PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::a2dc:5256:5a0c:851f%5]) with mapi id 15.20.6411.019; Thu, 18 May 2023 15:47:29 +0000 From: Shijith Thotton To: Pavan Nikhilesh Bhagavatula , Jerin Jacob Kollanukkaran CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Subject: RE: [EXT] [PATCH v2 3/3] app/eventdev: prevent mempool exhaustion Thread-Topic: [EXT] [PATCH v2 3/3] app/eventdev: prevent mempool exhaustion Thread-Index: AQHZd69bsqen/+BJJEmcq9EF4B0JMK9gUKlA Date: Thu, 18 May 2023 15:47:29 +0000 Message-ID: References: <20230419200151.2474-1-pbhagavatula@marvell.com> <20230425195110.4223-1-pbhagavatula@marvell.com> <20230425195110.4223-3-pbhagavatula@marvell.com> In-Reply-To: <20230425195110.4223-3-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc3Rob3R0b25c?= =?us-ascii?Q?YXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LTMyZDMtNGE0MC04NWVlLTZiODRi?= =?us-ascii?Q?YTI5ZTM1Ylxtc2dzXG1zZy00OTdmMzJkMi1mNTkzLTExZWQtOTQ5Yi1lODZh?= =?us-ascii?Q?NjQ5NjhlNTZcYW1lLXRlc3RcNDk3ZjMyZDQtZjU5My0xMWVkLTk0OWItZTg2?= =?us-ascii?Q?YTY0OTY4ZTU2Ym9keS50eHQiIHN6PSIyMjkwIiB0PSIxMzMyODg5ODQ0NzA2?= =?us-ascii?Q?NzQwNDYiIGg9IkViN0VBS1A1aUlMRnkrTVJyb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QUFRQUFBQUFBQUFBQ0FBQUFBQUE9Ii8+PC9tZXRhPg== x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4425:EE_|CY4PR18MB1608:EE_ x-ms-office365-filtering-correlation-id: 5afb85a4-a2a8-41ea-ad1f-08db57b72fbc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aeD/C+GRbXdN/8/6nlo0KX+405YhhvGc0XeDYD7P7YORODRyaLNHyBt7Xi2Hlj1kG8oxZtjBGcDrFbyv0i4UfNmWB8hJHuXlANywlSxy0n7hZ/LR+TvVMEZOEDHCJkK2nMPqX65xFS8CBRGaE3IGMUK4LMxFPdvU4Q57SQeIdKD41eFvtLlH1mflLueGgG/7uftUCpLfmz7GX0C4WeLS3mSj0w4hQ4AHqC7rHoEHJvwFPxCNiYodzVqEY140rHvbDGfNnnfZ9PnFFY9NQDPDYd0GtLG5Ma222PniRgTQcIghkWRZONJ5JYWEpMg2k/gkcROdnpqK+GE9FNAMz8xhVxUQVMbaTg2h65ISMMxo5t8bfX0pQYHQ/2oxrRRKWp4FDsdrhWEhyRCe9JMAXFim/J8JOtj6nlH6kXgMcteI3Mwu0BNRpjzK3mhkmuhmaM9rd8lxcnxnRE1vKX1rfMIbSBbG5KO5fNPcS1Na05+E5HlEy55xoy5ksyY3wSDNugnMyjulDnHIhgJ0SlktGrMsoIHJEs8I7KL0J55OzVkLdeY/p2FYj7sjoYtx/ny7pST1pjk3yR7wUzU2rEePpy8OvZVKSTpqKNXGMR9YiYNgjZcu5kyj2nB1wN0dqUP2EWTK x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4425.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(366004)(346002)(376002)(39860400002)(136003)(396003)(451199021)(66476007)(66946007)(66556008)(66446008)(64756008)(478600001)(107886003)(9686003)(54906003)(76116006)(110136005)(6636002)(316002)(4326008)(7696005)(41300700001)(71200400001)(5660300002)(26005)(186003)(33656002)(8676002)(8936002)(6506007)(55016003)(52536014)(83380400001)(2906002)(38070700005)(38100700002)(122000001)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?a/w19UpHuC5IZJLzsi/u5d9GocZ8K+m/Xl8hq2msUumaIiuv2/6bXlVF+/WE?= =?us-ascii?Q?aJd9yz9uQYWhYuLdBlqa/hj6oSiKDb37ly72j0X0T39Fng8IOSpP0Pasv9qS?= =?us-ascii?Q?3QnJazQb/nJ578nMMscLLUTHW4Xt8BzrMfTzSXvpl+G4pU9f8cJ85LDJzD2/?= =?us-ascii?Q?XnsxR+yx/pcAz5uoEyqxCIf5H0Q//XvuKvqMV25GU/oJdgO+YzjIXH9ponuI?= =?us-ascii?Q?Lm11eJJVoAK17Tm+a3bhHElGIAKU8ZNS5EUA9WQVxchU2q1HYEwnw9tEIQtG?= =?us-ascii?Q?e5SF8t00QxRii0Kg+mFcXGwSWXF9LMidKf2fKQMI/p4h/N2Gb7RhmDRp/yWR?= =?us-ascii?Q?znvS7Tz2/HwG4FSSKvSaVgoa53TzV33i/g8xYH8ziVklTUApFMxj86ThWfG7?= =?us-ascii?Q?wsydPvPjYmvbHxoXuWCrdKrC6crJzLczEUjVmffjETXGgKWmQpq7accpkmG1?= =?us-ascii?Q?45bysVXy00/rhvPrRXjC5MZmkhB25khXq6mz5KUx/TlF5iXwGny4AwO1tyJx?= =?us-ascii?Q?m02X8j3qZXJoyygoNco/lWQQC0R2c6HW8dL+NS18x8818WP35Uy+3RptKaJC?= =?us-ascii?Q?KPaO0OYdYHAx8tluIU7UESATnn1MTB4GS7TUqCuXjyLVWTz0iYBRozbyq9x5?= =?us-ascii?Q?IUN9Lh4DhW4SG9KDu6eZhlNWmIUuPbzkIlPfUqFsDQYtFvDqsYwcLg9F6v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Ow?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4425.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5afb85a4-a2a8-41ea-ad1f-08db57b72fbc X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2023 15:47:29.4118 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 8AN+g0IwDRZakijvyiYyEbINRgSxCgoZtUvINOhkwjQ0D2MDcfudtw+0adwMSKOVGfV8RrRDsjzJvCZKPIUcmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR18MB1608 X-Proofpoint-GUID: j7TVkjl6CofuqMy63Vj3hIe8xci4VGZB X-Proofpoint-ORIG-GUID: j7TVkjl6CofuqMy63Vj3hIe8xci4VGZB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-18_12,2023-05-17_02,2023-02-09_01 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 >From: Pavan Nikhilesh > >Prevent mempool exhaustion due to elements being stuck in lcore >local caches. > >Signed-off-by: Pavan Nikhilesh Acked-by: Shijith Thotton >--- > app/test-eventdev/test_perf_common.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/app/test-eventdev/test_perf_common.c b/app/test- >eventdev/test_perf_common.c >index 68af3cb346..5e0255cfeb 100644 >--- a/app/test-eventdev/test_perf_common.c >+++ b/app/test-eventdev/test_perf_common.c >@@ -1859,34 +1859,35 @@ int > perf_mempool_setup(struct evt_test *test, struct evt_options *opt) > { > struct test_perf *t =3D evt_test_priv(test); >+ unsigned int cache_sz; > >+ cache_sz =3D RTE_MIN(RTE_MEMPOOL_CACHE_MAX_SIZE, (opt->pool_sz / >1.5) / t->nb_workers); > if (opt->prod_type =3D=3D EVT_PROD_TYPE_SYNT || > opt->prod_type =3D=3D >EVT_PROD_TYPE_EVENT_TIMER_ADPTR) { > t->pool =3D rte_mempool_create(test->name, /* mempool name */ > opt->pool_sz, /* number of elements*/ > sizeof(struct perf_elt), /* element size*/ >- 512, /* cache size*/ >+ cache_sz, /* cache size*/ > 0, NULL, NULL, > perf_elt_init, /* obj constructor */ > NULL, opt->socket_id, 0); /* flags */ > } else if (opt->prod_type =3D=3D EVT_PROD_TYPE_EVENT_CRYPTO_ADPTR && >- opt->crypto_op_type =3D=3D >RTE_CRYPTO_OP_TYPE_ASYMMETRIC) { >+ opt->crypto_op_type =3D=3D RTE_CRYPTO_OP_TYPE_ASYMMETRIC) >{ > t->pool =3D rte_mempool_create(test->name, /* mempool name */ > opt->pool_sz, /* number of elements*/ > sizeof(struct perf_elt) + >modex_test_case.result_len, > /* element size*/ >- 512, /* cache size*/ >+ cache_sz, /* cache size*/ > 0, NULL, NULL, > NULL, /* obj constructor */ > NULL, opt->socket_id, 0); /* flags */ > } else { > t->pool =3D rte_pktmbuf_pool_create(test->name, /* mempool >name */ > opt->pool_sz, /* number of elements*/ >- 512, /* cache size*/ >+ cache_sz, /* cache size*/ > 0, > RTE_MBUF_DEFAULT_BUF_SIZE, > opt->socket_id); /* flags */ >- > } > > if (t->pool =3D=3D NULL) { >-- >2.25.1