DPDK usage discussions
 help / color / mirror / Atom feed
* Max size for rte_mempool_create
@ 2022-02-09 21:20 Antonio Di Bacco
  2022-02-09 21:44 ` Stephen Hemminger
  0 siblings, 1 reply; 5+ messages in thread
From: Antonio Di Bacco @ 2022-02-09 21:20 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

I have a system with two numa sockets. Each numa socket has 8GB of RAM.
I reserve a total of 6 hugepages (1G).

When I try to create a mempool (API rte_mempool_create) of 530432 mbufs
(each one with 9108 bytes) I get a ENOMEM error.

In theory this mempool should be around 4.8GB and the hugepages are enough
to hold it.
Why is this failing ?

[-- Attachment #2: Type: text/html, Size: 631 bytes --]

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

end of thread, other threads:[~2022-02-10  7:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09 21:20 Max size for rte_mempool_create Antonio Di Bacco
2022-02-09 21:44 ` Stephen Hemminger
2022-02-09 21:58   ` Antonio Di Bacco
2022-02-09 22:40     ` Stephen Hemminger
2022-02-10  7:24       ` Gabor LENCSE

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).