On Tue, 6 Dec 2022 07:16:13 -0500
IraM <iram...@yahoo.com> wrote:

> Sent from my iPhone
> 
> > On Dec 5, 2022, at 12:39, Dylan Baros <dcba...@utexas.edu> wrote:
> > 
> > 
> > 
> > 
> > How do you figure out what settings need to be used to correctly configure 
> > a DPDK mempool for your application?  
> 
> I went to rough a similar exercise when I was playing around with packet 
> ordering example.
> 
> Here’s a rough formula I came up with.
> Comments are welcomed
> 
> Total pool size = Sum of the following numbers 
> -RX queue size  x number of ports
> -TX queue size x number of ports
> -Size of ring x number of rings
> -MAX_pkt_burstsize x number of threads since each does a read of that size
> 
> 
> 

Some drivers like Broadcom bnxt require multiple mbufs per rx descriptor.
And if you use jumbo frames and scatter/gather it gets a little more complex.

Reply via email to