> From: Morten Brørup [mailto:m...@smartsharesystems.com] > Sent: Tuesday, 17 September 2024 10.10 > > 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> > ---
Duration of mempool_perf_autotest on a 4 core x86_64 virtual machine: 1 hour 15 minutes Tested-by: Morten Brørup <m...@smartsharesystems.com>