All of lore.kernel.org
 help / color / mirror / Atom feed
* Huge ring allocation
@ 2016-08-25  6:05 Gregory Etelson
  2016-08-25 12:22 ` Wiles, Keith
  0 siblings, 1 reply; 3+ messages in thread
From: Gregory Etelson @ 2016-08-25  6:05 UTC (permalink / raw)
  To: dev

Hello,

I have a DPDK process that creates pktmbuf pool with 2_000_000 objects
In CentOS 6.x x86-64, ring size of this pool is 16MB
8 2MB hugepages required to hold such ring.
In some cases, hugepages are too fragmented and there are no 8 contiguous hugepages for the ring.
As the result, the process has enough hugepages memory, but ring allocation fails.
I use a workaround for these cases and create a ring with standard OS allocation routines.
Is there another way I could use unclaimed dpdk hugepages for that allocation ?

Regards,
Gregory
\0

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

end of thread, other threads:[~2016-08-25 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25  6:05 Huge ring allocation Gregory Etelson
2016-08-25 12:22 ` Wiles, Keith
2016-08-25 12:49   ` anupam

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.