On Tue, Sep 17, 2024 at 10:10 AM Morten Brørup <m...@smartsharesystems.com> 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ørup <m...@smartsharesystems.com> > Acked-by: Chengwen Feng <fengcheng...@huawei.com> > Acked-by: Bruce Richardson <bruce.richard...@intel.com>
Applied, thanks Morten. -- David Marchand