[dpdk-dev] mmap fails with more than 40000 hugepages

Damjan Marion (damarion) damarion at cisco.com
Fri Feb 6 11:31:09 CET 2015


> On 06 Feb 2015, at 11:26, De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com> wrote:
> 
> 
> 
>> -----Original Message-----
>> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Linhaifeng
>> Sent: Friday, February 06, 2015 2:04 AM
>> To: Damjan Marion (damarion); dev at dpdk.org
>> Subject: Re: [dpdk-dev] mmap fails with more than 40000 hugepages
>> 
>> 
>> 
>> On 2015/2/5 20:00, Damjan Marion (damarion) wrote:
>>> Hi,
>>> 
>>> I have system with 2 NUMA nodes and 256G RAM total. I noticed that DPDK
>> crashes in rte_eal_init()
>>> when number of available hugepages is around 40000 or above.
>>> Everything works fine with lower values (i.e. 30000).
>>> 
>>> I also tried with allocating 40000 on node0 and 0 on node1, same crash
>> happens.
>>> 
>>> 
>>> Any idea what might be causing this?
>>> 
>>> Thanks,
>>> 
>>> Damjan
>>> 
>> 
>> cat /proc/sys/vm/max_map_count
> 
> I just checked on my board, and having 40k hugepages, you need that value to be over the double of that (a value of 81k should work).
> 
> Let us know if that fixed the problem!

Yes, it works now. Thanks!



More information about the dev mailing list