[dpdk-dev v1] mempool: double cache max size using ABI-neutral struct compaction

Morten Brørup mb at smartsharesystems.com
Fri Aug 21 08:31:59 CEST 2026


>  /* mempool defines */
> -#define RTE_MEMPOOL_CACHE_MAX_SIZE 512
> +#define RTE_MEMPOOL_CACHE_MAX_SIZE 1024

I don't think we should increase the default value.
If some exotic application needs an extremely large mempool cache, it can be changed at build time.

Please also consider this patch, which unconditionally allocates mempool cache for all mempools:
https://patchwork.dpdk.org/project/dpdk/patch/20260812090723.1771628-1-mb@smartsharesystems.com/



More information about the dev mailing list