Re: [PATCH v5] mempool: test performance with larger bursts

2024-02-21 Thread Bruce Richardson
On Wed, Feb 21, 2024 at 11:38:34AM +0100, Morten Brørup wrote: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Wednesday, 21 February 2024 11.23 > > > > 20/02/2024 14:49, Morten Brørup: > > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > > > > > How the test duration

RE: [PATCH v5] mempool: test performance with larger bursts

2024-02-21 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, 21 February 2024 11.23 > > 20/02/2024 14:49, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > > > > > How the test duration is changed after this patch? > > > > On my test machine, the expanded test pa

Re: [PATCH v5] mempool: test performance with larger bursts

2024-02-21 Thread Thomas Monjalon
20/02/2024 14:49, Morten Brørup: > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 24/01/2024 12:21, Morten Brørup: > > > REGISTER_PERF_TEST(mempool_perf_autotest, test_mempool_perf); > > > +REGISTER_PERF_TEST(mempool_perf_autotest_1core, > > test_mempool_perf_1core); > > > +REGISTER_PERF_T

RE: [PATCH v5] mempool: test performance with larger bursts

2024-02-20 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Sunday, 18 February 2024 19.04 > > 24/01/2024 12:21, Morten Brørup: > > --- a/app/test/test_mempool_perf.c > > +++ b/app/test/test_mempool_perf.c > > @@ -1,6 +1,6 @@ > > /* SPDX-License-Identifier: BSD-3-Clause > > * Copyright(c) 2010

Re: [PATCH v5] mempool: test performance with larger bursts

2024-02-18 Thread Thomas Monjalon
24/01/2024 12:21, Morten Brørup: > --- a/app/test/test_mempool_perf.c > +++ b/app/test/test_mempool_perf.c > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: BSD-3-Clause > * Copyright(c) 2010-2014 Intel Corporation > - * Copyright(c) 2022 SmartShare Systems > + * Copyright(c) 2022-2024 SmartShare

[PATCH v5] mempool: test performance with larger bursts

2024-01-24 Thread Morten Brørup
Bursts of up to 64 or 128 packets are not uncommon, so increase the maximum tested get and put burst sizes from 32 to 128. 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