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 6479C45B12; Fri, 11 Oct 2024 14:50:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FF48402DC; Fri, 11 Oct 2024 14:50:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id D983E402A1 for ; Fri, 11 Oct 2024 14:50:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728651024; 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=tTx5bfnQPJXKH8nK0tiTxZRHwc4keU7sOvOHsab5das=; b=LsvI1RvPyK9ShUmoQc0pB1MQTQ4XNMjmtRoQ5IboYvZozP94Lty+EO6wXLqIfyZTCZI6fp 75d+chxFprVGKfuI7VZeWAaTOq6TLKY/v3c2Xmu2sYPfjbd4tJDO3HyI+6lJucFGFVpRYE a4/yVpziF6fud696hUDTW4BiU9MBrLE= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-302-7Qgdu44nNSeFWh6d2i4RDw-1; Fri, 11 Oct 2024 08:50:23 -0400 X-MC-Unique: 7Qgdu44nNSeFWh6d2i4RDw-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2fac69bee10so16762811fa.0 for ; Fri, 11 Oct 2024 05:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728651022; x=1729255822; 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=tTx5bfnQPJXKH8nK0tiTxZRHwc4keU7sOvOHsab5das=; b=B4oDMlAxAcPQdtXdiGdu5HfkRzlFeEDvW6K+V/x8oNkQmNV34QGZJNT7WpUp3bZ8p1 taaETpwF3pAMzf0CNvZfd6hcmDvHOASAGgrAfbtp07BhbquO5xhtXrYuVvl3r81aHqoh 4M2DhYPQ3IHzcwX6KvnZ2JbdSYfZ1m0vMunOLWFVmfDayRU93j7fp/5b6K2TBO5PU2kj DEmpQUrtjq9kY3lyMD/60TvnfMQxxiybQLaL4kP94e4U3ekLVK2V/3+vXveziyELsRyT QesQZiK7H3xUW9Gk/JhaKwC3zOn2aSkoc5ScxhUYa3bLiQg+jnbbkkMTjMcxwvpN8o96 p2zg== X-Forwarded-Encrypted: i=1; AJvYcCV5aHRu3MeEjUYiI0dXowJoHImrqWaZXpDgFEHNY74giiL7o1Sg+Hz+yIpzDzWnGnsGa8w=@dpdk.org X-Gm-Message-State: AOJu0YzYjq7GYey6XT9203mJyL1gCWadBXfT2Cswmm2IXXYlpGGVGwC7 uksHOQmkPMM8oxGqW+NvuD/CC06tOl0J0A5RlB/7eI8zNB2lA+7zyZ9vifEWZd6d/n2C6LproQN j1WrXc1mgAie8l6Hxzbt8tgN9Y6SOmb5frZM7JT3/3dZnwXP8P0XBBvX//AmTEG3DRt3G7VRGY2 +PdhoANZ+eo1yGXXs= X-Received: by 2002:a2e:4c01:0:b0:2f7:52c5:b75 with SMTP id 38308e7fff4ca-2fb32721703mr10120021fa.15.1728651021836; Fri, 11 Oct 2024 05:50:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHw7FicWm7cp+n7NOxtO8StHUo921IUseU0pQyYeyQ9jsO2UFqbw78uuHN8N+geGtd/3VpSfBv4UONjdHOJwhI= X-Received: by 2002:a2e:4c01:0:b0:2f7:52c5:b75 with SMTP id 38308e7fff4ca-2fb32721703mr10119711fa.15.1728651020970; Fri, 11 Oct 2024 05:50:20 -0700 (PDT) MIME-Version: 1.0 References: <20240121045249.22465-1-mb@smartsharesystems.com> <20240917081001.774187-1-mb@smartsharesystems.com> In-Reply-To: <20240917081001.774187-1-mb@smartsharesystems.com> From: David Marchand Date: Fri, 11 Oct 2024 14:50:09 +0200 Message-ID: Subject: Re: [PATCH v9] mempool: test performance with larger bursts To: =?UTF-8?Q?Morten_Br=C3=B8rup?= Cc: andrew.rybchenko@oktetlabs.ru, fengchengwen@huawei.com, thomas@monjalon.net, honnappa.nagarahalli@arm.com, bruce.richardson@intel.com, dev@dpdk.org 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 Tue, Sep 17, 2024 at 10:10=E2=80=AFAM Morten Br=C3=B8rup wrote: > > Bursts of up to 64, 128 and 256 packets are not uncommon, so increase the > maximum tested get and put burst sizes from 32 to 256. > For convenience, also test get and put burst sizes of > RTE_MEMPOOL_CACHE_MAX_SIZE. > > Some applications keep more than 512 objects, so increase the maximum > number of kept objects from 512 to 32768, still in jumps of factor four. > This exceeds the typical mempool cache size of 512 objects, so the test > also exercises the mempool driver. > > Reduced the duration of each iteration from 5 seconds to 1 second. > > Increased the precision of rate_persec calculation by timing the actual > duration of the test, instead of assuming it took exactly 1 second. > > Added cache guard to per-lcore stats structure. > > Signed-off-by: Morten Br=C3=B8rup > Acked-by: Chengwen Feng > Acked-by: Bruce Richardson Applied, thanks Morten. --=20 David Marchand