From: Zoltan Kiss <zoltan.kiss-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: mempool deleting and cache_size
Date: Fri, 17 Apr 2015 11:28:47 +0100 [thread overview]
Message-ID: <5530E05F.1070701@linaro.org> (raw)
In-Reply-To: <552EB8C6.5050906-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Hi,
On 15/04/15 20:15, 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?
> - during creation, cache_size have one requirement: it has to be smaller
> than RTE_MEMPOOL_CACHE_MAX_SIZE. And one recommendation: "n modulo
> cache_size == 0". Is there any more guideline to determine that number?
> E.g. now I'm using the biggest number which fits the above two conditions.
>
> Regards,
>
> Zoltan
Thanks for all the answers for the first one, but does anyone has an
idea for the second one?
Zoli
prev parent reply other threads:[~2015-04-17 10:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-15 19:15 mempool deleting and cache_size Zoltan Kiss
[not found] ` <552EB8C6.5050906-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2015-04-15 19:24 ` Stephen Hemminger
2015-04-16 9:03 ` Gonzalez Monroy, Sergio
[not found] ` <552F7AD6.3070003-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-16 9:18 ` Gonzalez Monroy, Sergio
[not found] ` <552F7E5F.3050502-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-16 9:33 ` Olivier MATZ
2015-04-16 9:22 ` Marc Sune
[not found] ` <552F7F46.7050000-kpkqNMk1I7M@public.gmane.org>
2015-04-16 9:26 ` Gonzalez Monroy, Sergio
[not found] ` <552F802C.1040208-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-17 8:32 ` Marc Sune
2015-04-17 10:28 ` Zoltan Kiss [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5530E05F.1070701@linaro.org \
--to=zoltan.kiss-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=dev-VfR2kkLFssw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.