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 8BD33464C7; Mon, 31 Mar 2025 12:03:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09D6A4065E; Mon, 31 Mar 2025 12:03:53 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id B3A4340156 for ; Mon, 31 Mar 2025 12:03:51 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 724682172B; Mon, 31 Mar 2025 12:03:51 +0200 (CEST) Received: from dkrd4.smartsharesys.local ([192.168.4.26]) by smartserver.smartsharesystems.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 31 Mar 2025 12:03:51 +0200 From: =?UTF-8?q?Morten=20Br=C3=B8rup?= To: Andrew Rybchenko , Bruce Richardson , dev@dpdk.org Cc: =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH v2 0/4] mempool perf test: test random bulk sizes Date: Mon, 31 Mar 2025 10:03:38 +0000 Message-ID: <20250331100343.213430-1-mb@smartsharesystems.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250228164858.274204-1-mb@smartsharesystems.com> References: <20250228164858.274204-1-mb@smartsharesystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 31 Mar 2025 10:03:51.0312 (UTC) FILETIME=[34097900:01DBA224] 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 Bulk requests to get or put objects in a mempool often vary in size. A series of tests with pseudo random request sizes, to mitigate the benefits of the CPU's dynamic branch predictor, was added. Also, various other minor changes: - Improved the output formatting for readability. - Added test for the "default" mempool with cache. - Skip the tests for the "default" mempool, if it happens to use the same driver (i.e. operations) as already tested. - Replaced bare use of "unsigned" with "unsigned int", to make checkpatches happy. v2: * Split patch into individual patches. (Andrew Rybchenko) Morten Brørup (4): mempool perf test: replace bare unsigned with unsigned int mempool perf test: test default mempool with cache mempool perf test: improve output readability mempool perf test: test random bulk sizes app/test/test_mempool_perf.c | 222 +++++++++++++++++++++++++++-------- 1 file changed, 173 insertions(+), 49 deletions(-) -- 2.43.0