DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] mempool deleting and cache_size
@ 2015-04-15 19:15 Zoltan Kiss
  2015-04-15 19:24 ` Stephen Hemminger
  2015-04-17 10:28 ` Zoltan Kiss
  0 siblings, 2 replies; 9+ messages in thread
From: Zoltan Kiss @ 2015-04-15 19:15 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-04-17 10:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 19:15 [dpdk-dev] mempool deleting and cache_size Zoltan Kiss
2015-04-15 19:24 ` Stephen Hemminger
2015-04-16  9:03   ` Gonzalez Monroy, Sergio
2015-04-16  9:18     ` Gonzalez Monroy, Sergio
2015-04-16  9:33       ` Olivier MATZ
2015-04-16  9:22     ` Marc Sune
2015-04-16  9:26       ` Gonzalez Monroy, Sergio
2015-04-17  8:32         ` Marc Sune
2015-04-17 10:28 ` Zoltan Kiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).