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 CB97043B08; Sun, 18 Feb 2024 19:03:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5635140262; Sun, 18 Feb 2024 19:03:36 +0100 (CET) Received: from wfout6-smtp.messagingengine.com (wfout6-smtp.messagingengine.com [64.147.123.149]) by mails.dpdk.org (Postfix) with ESMTP id 28CC54021D for ; Sun, 18 Feb 2024 19:03:35 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 827E31C000A6; Sun, 18 Feb 2024 13:03:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 18 Feb 2024 13:03:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1708279413; x=1708365813; bh=iXVLi7mk6QR7pRmbe9PCNBNSbXOo9aHPEiTwnUUZMiU=; b= TFMdx5dYop0JoMEdXcaUb1+mQuGEgBuvAkTAAX/3mwua6lFia8/VIPbUOrVtmEe+ GScG+dwD65zlZsfixOUAOvP9TC5/quNL71ZiIzmF8UsH1pIyZVKx5/Jseibfaet+ cvXQjYT0zWHNEEbEFWV7jbCaG2Wu+kqIQHMI0CaAkOz9Eq69jUSEvvXHm43Fv/xi vofMsH9hMNVHzCpFcPiNWP9EhiNea4kw8Lqs2Ot+8hex0urYouIcDAA9382AqKLx mpzttqxKlBRBMq3qYLRoxhhIMoI249PnaBHbZu0zFWBm2ikEMY7MMhYO/xvjyw9t HESnJUCCI5ym4MSMVFiEUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1708279413; x= 1708365813; bh=iXVLi7mk6QR7pRmbe9PCNBNSbXOo9aHPEiTwnUUZMiU=; b=J jJVnCYtC8ksshc9J9JIRYZA0pnBGtKPBnJU0C1yu1B1mgONXhM0wBhu45uE1g4XQ pJ0+veieUzIv/1OyiCDDxjv7IUImQZ6zYrGNew1/n9xLCVD8smKq0Me74MzyhKrg tyDUXNcAoNPURK+feinowJnzeBPWi8w5cih9FPFBvSStuZbMHvkfeFrjRQSldI88 6n9JxULvzqwDmEnrZ/KcWCF1JNorximCqxipixRTye/FETW73KHTg6JVez2r2VaX HymmCzNoBZOlHbrGnlU4LmVzDHBL7GQHoB0OqBrE3QLWwumj3srlHqjbzL8eCOOG w+5m8Xy1tvc0ihQBfL4yw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeigdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtudenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeehgeetueejvdevgeevgfejteejjeejleffudeileevjedvvdev udfhvdetjefgveenucffohhmrghinhepshhukhhljhgvrdhnrghmvgenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhj rghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 18 Feb 2024 13:03:31 -0500 (EST) From: Thomas Monjalon To: Morten =?ISO-8859-1?Q?Br=F8rup?= Cc: andrew.rybchenko@oktetlabs.ru, fengchengwen@huawei.com, dev@dpdk.org Subject: Re: [PATCH v5] mempool: test performance with larger bursts Date: Sun, 18 Feb 2024 19:03:30 +0100 Message-ID: <3522622.fIoEIV5pvu@thomas> In-Reply-To: <20240124112134.85549-1-mb@smartsharesystems.com> References: <20240121045249.22465-1-mb@smartsharesystems.com> <20240124112134.85549-1-mb@smartsharesystems.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" 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 24/01/2024 12:21, Morten Br=F8rup: > --- a/app/test/test_mempool_perf.c > +++ b/app/test/test_mempool_perf.c > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: BSD-3-Clause > * Copyright(c) 2010-2014 Intel Corporation > - * Copyright(c) 2022 SmartShare Systems > + * Copyright(c) 2022-2024 SmartShare Systems You don't need to update copyright year. The first year is the only important one. reading: https://matija.suklje.name/how-and-why-to-properly-write-copyright= =2Dstatements-in-your-code#why-not-bump-the-year-on-change [...] > REGISTER_PERF_TEST(mempool_perf_autotest, test_mempool_perf); > +REGISTER_PERF_TEST(mempool_perf_autotest_1core, test_mempool_perf_1core); > +REGISTER_PERF_TEST(mempool_perf_autotest_2cores, test_mempool_perf_2core= s); How do we make sure the test is skipped if we have only 1 core? > +REGISTER_PERF_TEST(mempool_perf_autotest_allcores, test_mempool_perf_all= cores); How the test duration is changed after this patch?