[dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB

Wiles, Keith keith.wiles at intel.com
Fri Feb 5 15:16:22 CET 2016


>From: anand prasad
>>  Hi DPDK Team,
>
>Hello,
>
>>   I am new to DPDK and trying to understand DPDK by running the examples provided in the
>> kit.
>> <snip>
>> EAL: No free hugepages reported in hugepages-2048kB
>> PANIC in rte_eal_init():
>> Cannot get hugepage information
>> 6: [build/app/testpmd() [0x439493]]
>> 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f86cf2dcec5]]
>> 4: [build/app/testpmd(main+0x52) [0x436bf2]]
>> 3: [build/app/testpmd(rte_eal_init+0xc43) [0x4b60f3]]
>> 2: [build/app/testpmd(__rte_panic+0xc9) [0x431640]]
>> 1: [build/app/testpmd(rte_dump_stack+0x1a) [0x4bcdfa]]
>> Aborted (core dumped)
>
>This is caused by hugepages not being set up on the system.
>Some details about hugepages here:
>http://dpdk.org/doc/guides/linux_gsg/build_sample_apps.html#hugepage-memory-use-by-applications
>
>To solve it, the easiest way is to use the "tools/setup.sh" script:
>
>cd /path/to/dpdk
>./tools/setup.sh
># Read the options, select "Set up hugepages"
>Say how many hugepages to use, I use 512 when not doing performance testing.
>Note that this must be performed after each reboot.

On other reason I have seen this when you forget to run as root using sudo ….

>
>Hope that helps, -Harry
>


Regards,
Keith






More information about the users mailing list