[dpdk-dev] [PATCH] test/mempool: decrease size of requested mempool

2015-07-09 Thread Thomas Monjalon
2015-07-09 12:18, Bruce Richardson: > On Thu, Jul 09, 2015 at 11:01:29AM +0200, Olivier Matz wrote: > > In test application, the default size of allocated mempool is calculated > > as following: > > > > (RTE_MAX_LCORE * (RTE_MEMPOOL_CACHE_MAX_SIZE + max_kept_objects)) - 1 > > > > The objective

[dpdk-dev] [PATCH] test/mempool: decrease size of requested mempool

2015-07-09 Thread Bruce Richardson
On Thu, Jul 09, 2015 at 11:01:29AM +0200, Olivier Matz wrote: > In test application, the default size of allocated mempool is calculated > as following: > > (RTE_MAX_LCORE * (RTE_MEMPOOL_CACHE_MAX_SIZE + max_kept_objects)) - 1 > > The objective is to ensure that all cores can fill their cache

[dpdk-dev] [PATCH] test/mempool: decrease size of requested mempool

2015-07-09 Thread Olivier Matz
In test application, the default size of allocated mempool is calculated as following: (RTE_MAX_LCORE * (RTE_MEMPOOL_CACHE_MAX_SIZE + max_kept_objects)) - 1 The objective is to ensure that all cores can fill their cache and keep 'max_kept_objects' at the same time. As RTE_MAX_LCORE is 128 and