DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Huge pages to be allocated based on number of mbufs
@ 2016-03-14 17:54 Saurabh Mishra
  2016-03-17 17:25 ` Zoltan Kiss
  0 siblings, 1 reply; 2+ messages in thread
From: Saurabh Mishra @ 2016-03-14 17:54 UTC (permalink / raw)
  To: users, dev

Hi,

We are planning to support virtio, vmxnet3, ixgbe, i40e, bxn2x and SR-IOV
on some of them with DPDK.

We have seen that even if we give correct number of mbufs given the number
hugepages reserved, rte_eth_tx_queue_setup() may still fail with no enough
memory (I saw this on i40evf but worked on virtio and vmxnet3).

We like to know what's the recommended way to determine how many hugepages
we should allocate given the number of mbufs such that queue setup APIs
also don't fail.

Since we will be running on low-end systems too we need to be careful about
reserving hugepages.

Thanks,
/Saurabh

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

end of thread, other threads:[~2016-03-17 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14 17:54 [dpdk-dev] Huge pages to be allocated based on number of mbufs Saurabh Mishra
2016-03-17 17:25 ` 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).