[dpdk-dev] mempool deleting and cache_size

Gonzalez Monroy, Sergio sergio.gonzalez.monroy at intel.com
Thu Apr 16 11:26:04 CEST 2015


On 16/04/2015 10:22, Marc Sune wrote:
>
>
> On 16/04/15 11:03, Gonzalez Monroy, Sergio wrote:
>> On 15/04/2015 20:24, Stephen Hemminger wrote:
>>> On Wed, 15 Apr 2015 20:15:18 +0100
>>> Zoltan Kiss <zoltan.kiss at linaro.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have two questions regarding mempools:
>>>>
>>>> - the first is trivial: how do you delete them? Can you? I can't see a
>>>> function to do that, and none of the examples are doing such thing. 
>>>> When
>>>> exactly it get deleted?
>>> You can't delete them. They live in hugepage area and are persistent.
>>> Correctly written code looks for them by name and reuses existing pool
>>> if it is big enough.
>>>
>> FYI, I'm looking into such functionality and also delete/destroy 
>> mempools (although still no plan on implementation).
>>
>
> Also the memzones behind, or will be "lost/leaked" after a mempool 
> destruction?
>
> Marc
>
>> Sergio
>
Sorry, my bad.
I did mean to say 'delete/destroy memzones' :)

Sergio


More information about the dev mailing list