DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: "Van Haaren, Harry" <harry.van.haaren@intel.com>,
	anand prasad <prasadan2@yahoo.co.in>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
Date: Fri, 5 Feb 2016 14:16:22 +0000	[thread overview]
Message-ID: <39311B2C-6154-4D5A-AE64-58078E8CBEF1@intel.com> (raw)
In-Reply-To: <E923DB57A917B54B9182A2E928D00FA612867388@IRSMSX102.ger.corp.intel.com>

>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





      reply	other threads:[~2016-02-05 14:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1981343572.1545894.1454588815267.JavaMail.yahoo.ref@mail.yahoo.com>
     [not found] ` <1981343572.1545894.1454588815267.JavaMail.yahoo@mail.yahoo.com>
2016-02-05  6:11   ` anand prasad
2016-02-05  9:02     ` Van Haaren, Harry
2016-02-05 14:16       ` Wiles, Keith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39311B2C-6154-4D5A-AE64-58078E8CBEF1@intel.com \
    --to=keith.wiles@intel.com \
    --cc=harry.van.haaren@intel.com \
    --cc=prasadan2@yahoo.co.in \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).