[dpdk-dev] How to fight forwarding performance regression on large mempool sizes.
Dmitry Vyal
dmitryvyal at gmail.com
Sun Sep 22 21:03:40 CEST 2013
On 09/20/2013 07:34 PM, Robert Sanford wrote:
> One more point, if you're not doing this already: Allocate 2^N-1
> mbufs, not 2^N. According to the code and comments: "The optimum size
> (in terms of memory usage) for a mempool is when n is a power of two
> minus one: n = (2^q - 1)."
>
Many thanks! Didn't know about it.
More information about the dev
mailing list