[wishes/any Bug 2059] Resizable mbuf pool

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Oct 15 14:56:55 CEST 2026


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: dev at dpdk.org
          Reporter: mb at smartsharesystems.com
  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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list