Re: [dpdk-dev] [PATCH 2/5] mempool: reduce wasted space on mempool populate

2019-10-29 Thread Olivier Matz
On Tue, Oct 29, 2019 at 01:09:01PM +0300, Andrew Rybchenko wrote: > On 10/28/19 5:01 PM, Olivier Matz wrote: > > The size returned by rte_mempool_op_calc_mem_size_default() is aligned > > to the specified page size. Therefore, with big pages, the returned size > > can be much more that what we real

Re: [dpdk-dev] [PATCH 2/5] mempool: reduce wasted space on mempool populate

2019-10-29 Thread Andrew Rybchenko
On 10/28/19 5:01 PM, Olivier Matz wrote: The size returned by rte_mempool_op_calc_mem_size_default() is aligned to the specified page size. Therefore, with big pages, the returned size can be much more that what we really need to populate the mempool. For instance, populating a mempool that requ

[dpdk-dev] [PATCH 2/5] mempool: reduce wasted space on mempool populate

2019-10-28 Thread Olivier Matz
The size returned by rte_mempool_op_calc_mem_size_default() is aligned to the specified page size. Therefore, with big pages, the returned size can be much more that what we really need to populate the mempool. For instance, populating a mempool that requires 1.1GB of memory with 1GB hugepages can