Resizable mbuf pool
https://bugs.dpdk.org/show_bug.cgi?id=2059
Bug ID: 2059
Summary: Resizable mbuf pool
Product: wishes
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: any
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Typically, the number of mbufs needed in a system scales with multiple parameters, some are per-interface, and some are system wide.
If a system's number of interfaces is not known at system startup time, it is a common design pattern to allocate one mbuf pool per interface at runtime, when each interface is created.
Having one mbuf pool per interface means that the size of each pool needs to be big enough to serve not only the per-interface mbuf consumption, but also system-wide mbuf consumption.
This is not memory efficient.
It would be memory efficient to share one (or one per CPU socket) big mbuf pool across all interfaces (or groups of interfaces attached to each CPU socket), so the number of mbufs needed for system wide purposes only is allocated once, and not once per interface.
For this alternative design pattern, where one mbuf pool is shared by all interfaces, and more interfaces can still be added at runtime, it "must" be possible to add more mbufs to the mbuf pool at runtime, effectively increasing its size.
NB:
The ability to reduce the mbuf pool size at runtime too, e.g. when an interface is deleted, is considered "nice to have" in this context.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.