[dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri Feb 5 09:26:15 CET 2016
> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org] On Behalf Of anand prasad
> Sent: Friday, February 05, 2016 6:11 AM
> To: users at dpdk.org
> Subject: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in
> On Thursday, 4 February 2016 5:56 PM, anand prasad
> <prasadan2 at yahoo.co.in> wrote:
> Hi DPDK Team,
> I am new to DPDK and trying to understand DPDK by running the examples
> provided in the kit.
> I am using UBUNTU 14.04 64 bit OS and have successfully buit the kit on this
> system. Am getting below errors while executing below command:
> command: build/app/testpmd -c7 -n3 --vdev=eth_pcap0,iface=eth0 --
> vdev=eth_pcap1,iface=eth1 -- -i --nb-cores=2 --nb-ports=2 --total-num-
> command output:
> EAL: Detected lcore 0 as core 0 on socket 0
> EAL: Detected lcore 1 as core 1 on socket 0
> EAL: Detected lcore 2 as core 2 on socket 0
> EAL: Detected lcore 3 as core 3 on socket 0
> EAL: Detected lcore 4 as core 0 on socket 0
> EAL: Detected lcore 5 as core 1 on socket 0
> EAL: Detected lcore 6 as core 2 on socket 0
> EAL: Detected lcore 7 as core 3 on socket 0
> EAL: Support maximum 128 logical core(s) by configuration.
> EAL: Detected 8 lcore(s)
> 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)
> Can anyone help me understand the issue and possible solution.
> Thanks in advanceRegards,Anand Prasad+91 9880666968
You probably haven't reserved any hugepages.
Take a look at the Getting Started Guide (section 2.3.2):
Another way is run the setup.sh script, in tools directory.
Options 20 and 21 will do the hugepage reserve for you,
just need to pass the number of hugepages that you want.
Let me know if you have any more issues.
More information about the users