RE: [dpdk-dev v1] mempool: double cache max size using ABI-neutral struct compaction
Morten Brørup <[email protected]>
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <[email protected]> |
> /* 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/[email protected]/