Skip to contentSkip to conversation

Mempool of headerless objects

wishes/any Bug 2054 [email protected] 1 participant 1 message Oct 13

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=2054

Bug ID: 2054
Summary: Mempool of headerless objects
Product: wishes
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: any
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---

A mempool may be used for holding relatively small objects used only for software purposes, e.g. connection tracking.
The current mempool per-object header is 24 bytes in size. This is wasting a lot of memory when used with large pools of small objects.

I propose a mempool flag to create a mempool of objects without a mempool header.

Features relying on the mempool header will be unavailable for such a mempool, most prominently iteration over all objects in the mempool.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.