[dpdk-dev] [PATCH v4] mempool: reduce rte_mempool structure size

Olivier MATZ olivier.matz at 6wind.com
Mon Feb 15 10:20:23 CET 2016



On 02/12/2016 07:36 PM, Keith Wiles wrote:
> The rte_mempool structure is changed, which will cause an ABI change
> for this structure. Providing backward compat is not reasonable
> here as this structure is used in multiple defines/inlines.
> 
> Allow mempool cache support to be dynamic depending on if the
> mempool being created needs cache support. Saves about 1.5M of
> memory used by the rte_mempool structure.
> 
> Allocating small mempools which do not require cache can consume
> larges amounts of memory if you have a number of these mempools.
> 
> Change to be effective in release 16.07.
> 
> Signed-off-by: Keith Wiles <keith.wiles at intel.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>
(for 16.07)



More information about the dev mailing list