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 BD8F843BBA; Thu, 7 Mar 2024 12:27:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9081142D83; Thu, 7 Mar 2024 12:27:50 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9F6854067E for ; Thu, 7 Mar 2024 12:27:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709810869; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lEgGk0H9tPYpfYyJduexanwyf8ZZmaP05d7ooA3oTS4=; b=NfT2Zp6vM1DQYIkeznTgWBD6OU8Uh+Qr8sy5JkHq4V9Z1Y0eX4ovaA8XvDhb9V7khn569O WwXcbrhnk908kilnFoKOSbAm7wEW9bs2jp8pd/ciz/yVvViax8XtFK5VxaDsSkHWcieSgV XXpra45RrfFcRTfuj7V6PMKi6/NOrxY= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-9-uMimPZMcM7CZfYQZs1UmJA-1; Thu, 07 Mar 2024 06:27:47 -0500 X-MC-Unique: uMimPZMcM7CZfYQZs1UmJA-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-5131c91bbc3so516219e87.0 for ; Thu, 07 Mar 2024 03:27:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709810866; x=1710415666; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lEgGk0H9tPYpfYyJduexanwyf8ZZmaP05d7ooA3oTS4=; b=wC94VoaiWPlCC0xJ0NX27iQfipYPzdiOR81TeWoIRowNDwW0qcibmq+0wnv6udcMy5 w2Dz/KYMmO1ATzJpqcVdHpHtdF4085ZLBREP0//x522lOwJ+ovdI0eZJ6vL0pte6tcr4 0QXufZWe7c4rh7n2zWTNeVPqsn9PSYIQ2/T2Micw8yHMYufTdJBpjJoueaihrvnuWGOn vCxRfda+j4zYqU7qtZpLceGxhsbR0P6bXmkJFETGY72Auk7074wEaLd4kHYuFp+Zc+jA bz/fabGUXXqrJqLxLVVPo4EVxEjXP33FwmxNc14j0w4xHXxyq8UFFHcu0zLFKva8KTHo bbIA== X-Gm-Message-State: AOJu0YwTSwpRrZIcgspQTQ9yV2ckXocg8fQb0x7lWYCu3euY80owBSV/ N+DQ0gMkfzOsEyUSSebeoUJGAcgxEAUmm6cc1+/vWdGcTpMjOR24WGszrgKgZmoiulr1Y6bJcEl dn3Nrp4n2dtDWPgafkdQDWVPfwKqo9PMuS3PIe6m8LQTCYGlFTcBeukC3m6wu+Bx+pszSSTwpv8 Ktxw7zwP8OXpEvWLc= X-Received: by 2002:ac2:4e09:0:b0:513:5ed9:c193 with SMTP id e9-20020ac24e09000000b005135ed9c193mr1660690lfr.35.1709810866370; Thu, 07 Mar 2024 03:27:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlKJaptJcy/F8s8oL1ECXw3o1hYgJu7K2Bx8wJyw1IO1l+bbr8dS3niWIBpzLb4gQvKiEBpYRKgzbE3IkYzhs= X-Received: by 2002:ac2:4e09:0:b0:513:5ed9:c193 with SMTP id e9-20020ac24e09000000b005135ed9c193mr1660677lfr.35.1709810865908; Thu, 07 Mar 2024 03:27:45 -0800 (PST) MIME-Version: 1.0 References: <20230927150854.3670391-2-paul.szczepanek@arm.com> <20240301102104.20074-1-paul.szczepanek@arm.com> <20240301102104.20074-3-paul.szczepanek@arm.com> In-Reply-To: <20240301102104.20074-3-paul.szczepanek@arm.com> From: David Marchand Date: Thu, 7 Mar 2024 12:27:34 +0100 Message-ID: Subject: Re: [PATCH v7 2/4] test: add pointer compress tests to ring perf test To: Paul Szczepanek Cc: dev@dpdk.org, Honnappa Nagarahalli X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Mar 1, 2024 at 11:21=E2=80=AFAM Paul Szczepanek wrote: > > Add a test that runs a zero copy burst enqueue and dequeue on a ring > of raw pointers and compressed pointers at different burst sizes to > showcase performance benefits of newly added pointer compression APIs. > > Refactored threading code to pass more parameters to threads to > reuse existing code. Added more bulk sizes to showcase their effects > on compression. Adjusted loop iteration numbers to take into account > bulk sizes to keep runtime constant (instead of number of operations). > > Adjusted old printfs to match new ones which have aligned numbers. > > Signed-off-by: Paul Szczepanek > Reviewed-by: Honnappa Nagarahalli > --- > app/test/test_ring.h | 94 +++++++++- > app/test/test_ring_perf.c | 354 +++++++++++++++++++++++++------------- > 2 files changed, 324 insertions(+), 124 deletions(-) > > diff --git a/app/test/test_ring.h b/app/test/test_ring.h > index 45c263f3ff..3b00f2465d 100644 > --- a/app/test/test_ring.h > +++ b/app/test/test_ring.h > @@ -1,10 +1,12 @@ > /* SPDX-License-Identifier: BSD-3-Clause > - * Copyright(c) 2019 Arm Limited > + * Copyright(c) 2019-2023 Arm Limited Thomas insisted recently that updating copyrights in this manner is not nee= ded. https://matija.suklje.name/how-and-why-to-properly-write-copyright-statemen= ts-in-your-code#why-not-bump-the-year-on-change --=20 David Marchand