From: Olivier Matz <olivier.matz@6wind.com>
To: dev@dpdk.org
Cc: mb@smartsharesystems.com, andrew.rybchenko@oktetlabs.ru,
bruce.richardson@intel.com, jerinjacobk@gmail.com,
thomas@monjalon.net
Subject: Re: [PATCH] mempool: test performance with constant n
Date: Mon, 24 Jan 2022 15:57:50 +0100 [thread overview]
Message-ID: <Ye6+bhW+pFDy5l1/@platinum> (raw)
In-Reply-To: <20220124145309.13925-1-olivier.matz@6wind.com>
On Mon, Jan 24, 2022 at 03:53:09PM +0100, Olivier Matz wrote:
> From: Morten Brørup <mb@smartsharesystems.com>
>
> "What gets measured gets done."
>
> This patch adds mempool performance tests where the number of objects to
> put and get is constant at compile time, which may significantly improve
> the performance of these functions. [*]
>
> Also, it is ensured that the array holding the object used for testing
> is cache line aligned, for maximum performance.
>
> And finally, the following entries are added to the list of tests:
> - Number of kept objects: 512
> - Number of objects to get and to put: The number of pointers fitting
> into a cache line, i.e. 8 or 16
>
> [*] Some example performance test (with cache) results:
>
> get_bulk=4 put_bulk=4 keep=128 constant_n=false rate_persec=280480972
> get_bulk=4 put_bulk=4 keep=128 constant_n=true rate_persec=622159462
>
> get_bulk=8 put_bulk=8 keep=128 constant_n=false rate_persec=477967155
> get_bulk=8 put_bulk=8 keep=128 constant_n=true rate_persec=917582643
>
> get_bulk=32 put_bulk=32 keep=32 constant_n=false rate_persec=871248691
> get_bulk=32 put_bulk=32 keep=32 constant_n=true rate_persec=1134021836
>
> Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Sorry, wrong title, "v2" is missing. Please ignore, I'm resending it.
next prev parent reply other threads:[~2022-01-24 14:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 11:37 Morten Brørup
2022-01-24 10:26 ` Olivier Matz
2022-01-24 10:37 ` Morten Brørup
2022-01-24 14:53 ` Olivier Matz
2022-01-24 14:57 ` Olivier Matz [this message]
2022-01-24 14:59 ` [PATCH v2] " Olivier Matz
2022-01-24 17:20 ` Morten Brørup
2022-01-25 12:56 ` Olivier Matz
2022-02-02 22:39 ` Thomas Monjalon
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=Ye6+bhW+pFDy5l1/@platinum \
--to=olivier.matz@6wind.com \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=jerinjacobk@gmail.com \
--cc=mb@smartsharesystems.com \
--cc=thomas@monjalon.net \
/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;
as well as URLs for NNTP newsgroup(s).