From: "Morten Brørup" <mb@smartsharesystems.com>
To: "Bruce Richardson" <bruce.richardson@intel.com>
Cc: <dev@dpdk.org>, "Andrew Rybchenko" <andrew.rybchenko@oktetlabs.ru>
Subject: RE: [RFC PATCH v2] mempool: optimizations
Date: Thu, 13 Aug 2026 14:56:50 +0200 [thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F659E0@smartserver.smartshare.dk> (raw)
In-Reply-To: <an2w6xvcssfVEjTB@bricha3-mobl1.ger.corp.intel.com>
> > +* mempool: The obsolete ``flushthresh`` field was removed from the
> > ``rte_mempool_cache`` structure. + * Removed deprecated symbols:
> >
> I'm not convinced about removing this field at this point. Based on
> previous discussions around run-to-completion vs pipeline apps, and the
> reported performance degradations due to recent cache changes, I could
> see a scenario where it's useful to track a separate flushthreshold or
> cache-keep threshold for a mempool.
Removing the flushthresh field is part of the cleanup patch [1].
I merged that patch into this one because I'm having problems with Depends-on.
We all agree that different use cases benefit from different algorithms.
And the 26.07 update switches the favor towards run-to-completion use cases over get-put-on-separate-lcores use cases.
If we sometime in the future change the cache algorithm or amend it, and need another field in the cache structure, we can add a new field with a name reflecting its function, rather than reusing the flushthresh field for another purpose. A new algorithm might even need more than one field.
The flushthresh field is obsolete, and should be removed. This was also mentioned in the deprecation notice for DPDK 26.07.
[1]: https://patchwork.dpdk.org/project/dpdk/patch/20260806154506.1532375-1-mb@smartsharesystems.com/
PS:
The performance degradations were mainly due to the effective cache size being reduced from 150 % to 100 %.
Testers confirmed on the mailing list that the performance degradation went away when recompiling with a 150 % larger cache, so the effective cache size was unchanged.
next prev parent reply other threads:[~2026-08-13 12:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 9:07 [PATCH] mempool: optimizations Morten Brørup
2026-08-12 12:06 ` [RFC PATCH v2] " Morten Brørup
2026-08-13 11:56 ` Bruce Richardson
2026-08-13 12:56 ` Morten Brørup [this message]
2026-08-13 14:30 ` Morten Brørup
-- strict thread matches above, loose matches on Subject: below --
2026-08-12 9:58 Morten Brørup
2026-08-12 12:08 ` 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=98CBD80474FA8B44BF855DF32C47DC35F659E0@smartserver.smartshare.dk \
--to=mb@smartsharesystems.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.