[dpdk-dev] CONFIG_RTE_MAX_MEM_MB fails in DPDK18.05

Burakov, Anatoly anatoly.burakov at intel.com
Wed Feb 19 15:23:27 CET 2020

On 19-Feb-20 11:16 AM, Kamaraj P wrote:
> Hi Kevin/Anatoly,
> Yes we have the patch already included in our code base.
> Looks like it get struck in the below piece of the code:
> mapped_addr = mmap(requested_addr, (size_t)map_sz, PROT_READ,
>                                  mmap_flags, -1, 0);
> Could you please share your thoughts on this?
> Thanks,
> Kamaraj


If it's stuck mapping, that probably means it is pinning the memory. Did 
you call mlockall() (or equivalent) before EAL initialization?


More information about the dev mailing list