[dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
Van Haaren, Harry
harry.van.haaren at intel.com
Fri Feb 5 10:02:43 CET 2016
From: anand prasad
> Hi DPDK Team,
> I am new to DPDK and trying to understand DPDK by running the examples provided in the
> 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:
To solve it, the easiest way is to use the "tools/setup.sh" script:
# 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.
Hope that helps, -Harry
More information about the users