How do you calculate DPDK mempool requirements?

IraM iramica at yahoo.com
Tue Dec 6 13:16:13 CET 2022



Sent from my iPhone

> On Dec 5, 2022, at 12:39, Dylan Baros <dcbaros at 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





More information about the users mailing list