From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gonzalez Monroy, Sergio" Subject: Re: mempool deleting and cache_size Date: Thu, 16 Apr 2015 10:18:23 +0100 Message-ID: <552F7E5F.3050502@intel.com> References: <552EB8C6.5050906@linaro.org> <20150415122419.767e4048@urahara> <552F7AD6.3070003@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: In-Reply-To: <552F7AD6.3070003-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On 16/04/2015 10: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 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). > > Sergio Forgot to say, suggestions/ideas are more than welcome. Sergio