> > > Is there any measurable performance change with these > modifications? > > > > It varies. > > Here are some of the good ones, tested on a VM under VMware: > > > > mempool_autotest cache=512 cores=1 > > n_get_bulk=64 n_put_bulk=64 n_keep=128 constant_n=0 > > rate_persec=1309408130 -> 1417067889 : +8.2 % > > > > mempool_autotest cache=512 cores=1 > > n_get_bulk=64 n_put_bulk=64 n_keep=128 constant_n=1 > > rate_persec=1479812844 -> 1573307159 : +6.3 % > > > > mempool_autotest cache=512 cores=1 > > n_max_bulk=32 n_keep=128 constant_n=0 > > rate_persec=825183959 -> 868013386 : +5.2 % > > > > The last result is from a new type of test where the size of every > get/put varies between 1 and n_max_bulk, so the CPU's dynamic branch > predictor cannot predict the request size. > > I'll probably provide a separate patch for test_mempool_perf.c with > this new test type, when I have finished it.
Here's the above mentioned patch for the mempool perf test: https://patchwork.dpdk.org/project/dpdk/patch/20250228164858.274204-1...@smartsharesystems.com/