Dynamic Mempool: One of the Final Steps to Make DPDK Cloud-Native
summary
Extends DPDK mempool to support dynamic growth and shrink of mbuf pools, using DPDK dynamic memory/memseg, transparent hugepages and the external-heap attach API to avoid pinning. Implements minimal startup allocation and on-demand population of objects and management structures. Startup memory drops from >1 GB to <100 MB and initialization time falls to ~10% of original; 85% of instances use <200 MB while 2% exceed 400 MB. Observed runtime cost: ~2–3% throughput loss with non-hugepages; shrink logic still needs refinement.
AI-written summary · about
