From: Bruce Richardson <bruce.richardson@intel.com>
To: "Morten Brørup" <mb@smartsharesystems.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
Kishore Padmanabha <kishore.padmanabha@broadcom.com>,
fengchengwen <fengchengwen@huawei.com>,
Thomas Monjalon <thomas@monjalon.net>, dev <dev@dpdk.org>,
Wisam Jaddo <wisamm@nvidia.com>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: Re: mempool cache change
Date: Tue, 21 Jul 2026 10:11:51 +0100 [thread overview]
Message-ID: <al8317iuWn7_MpJQ@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35F65984@smartserver.smartshare.dk>
On Tue, Jul 21, 2026 at 11:02:34AM +0200, Morten Brørup wrote:
> The mempool cache size is configurable.
>
> The application developer should configure it to strike a balance
> between the two performance parameters:
>
> - Throughput: Large mempool cache reduces the number of backend
> transfers.
>
> - Latency: Large mempool cache causes latency spikes (CPU cache misses)
> when transferring objects from/to cold backend memory.
>
>
Since 26.11 is an ABI break release, perhaps we can reconsider the option
to have the "keep" value configurable for the mempool caches, i.e. for
random alloc/free's set it to 50% like you have, or 25% as proposed by my
patch, while for pipeline apps it should be set to 0%. Rather than us
constantly arguing^H^H^H discussing what the value should be, we can make
it tunable for the developer?
As an alternative version of that proposal, we can simplify and just have a
couple of predefined simple profiles for 2 or 3 values, one for pipeline
apps, and one or two for run-to-completion, rather than exposing the whole
range of possibilities to the user.
/Bruce
next prev parent reply other threads:[~2026-07-21 9:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-14 16:48 mempool cache change Kishore Padmanabha
2026-07-14 20:08 ` Morten Brørup
2026-07-15 8:11 ` fengchengwen
2026-07-15 9:02 ` Morten Brørup
2026-07-15 15:12 ` Kishore Padmanabha
2026-07-16 9:56 ` Bruce Richardson
2026-07-17 17:10 ` Kishore Padmanabha
2026-07-18 14:07 ` Morten Brørup
2026-07-20 8:12 ` Bruce Richardson
2026-07-20 10:54 ` Morten Brørup
2026-07-21 1:42 ` Kishore Padmanabha
2026-07-21 6:34 ` Stephen Hemminger
2026-07-21 9:02 ` Morten Brørup
2026-07-21 9:11 ` Bruce Richardson [this message]
2026-07-21 9:18 ` Morten Brørup
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=al8317iuWn7_MpJQ@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=fengchengwen@huawei.com \
--cc=kishore.padmanabha@broadcom.com \
--cc=mb@smartsharesystems.com \
--cc=stephen@networkplumber.org \
--cc=thomas@monjalon.net \
--cc=wisamm@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox