* [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
[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
0 siblings, 1 reply; 3+ messages in thread
From: anand prasad @ 2016-02-05 6:11 UTC (permalink / raw)
To: users
On Thursday, 4 February 2016 5:56 PM, anand prasad <prasadan2@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-mbufs=2048
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
From pablo.de.lara.guarch@intel.com Fri Feb 5 09:26:41 2016
Return-Path: <pablo.de.lara.guarch@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
by dpdk.org (Postfix) with ESMTP id 3D73EBDAE
for <users@dpdk.org>; Fri, 5 Feb 2016 09:26:41 +0100 (CET)
Received: from orsmga002.jf.intel.com ([10.7.209.21])
by orsmga103.jf.intel.com with ESMTP; 05 Feb 2016 00:26:39 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.22,399,1449561600"; d="scan'208";a="906084131"
Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96])
by orsmga002.jf.intel.com with ESMTP; 05 Feb 2016 00:26:18 -0800
Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by
IRSMSX154.ger.corp.intel.com (163.33.192.96) with Microsoft SMTP Server (TLS)
id 14.3.248.2; Fri, 5 Feb 2016 08:26:16 +0000
Received: from irsmsx108.ger.corp.intel.com ([169.254.11.102]) by
irsmsx111.ger.corp.intel.com ([169.254.2.198]) with mapi id 14.03.0248.002;
Fri, 5 Feb 2016 08:26:16 +0000
From: "De Lara Guarch, Pablo" <pablo.de.lara.guarch@intel.com>
To: anand prasad <prasadan2@yahoo.co.in>, "users@dpdk.org" <users@dpdk.org>
Thread-Topic: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages
reported in hugepages-2048kB
Thread-Index: AQHRX9x94xBgnyMf9EWthoED8zTVDZ8dGxRw
Date: Fri, 5 Feb 2016 08:26:15 +0000
Message-ID: <E115CCD9D858EF4F90C690B0DCB4D8973C8A01C2@IRSMSX108.ger.corp.intel.com>
References: <1981343572.1545894.1454588815267.JavaMail.yahoo.ref@mail.yahoo.com>
<1981343572.1545894.1454588815267.JavaMail.yahoo@mail.yahoo.com>
<815717527.1824435.1454652672590.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <815717527.1824435.1454652672590.JavaMail.yahoo@mail.yahoo.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGM0ZTZlMTAtZDIyYi00ODA4LWE1NzgtZjQ4ZjVhZDEyZmI0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiTmRLemdSODZjUEZGZG1YallnK2lWbzVsNTlDRU1wQlwvS211TVF0NUhXV2c9In0x-ctpclassification: CTP_IC
x-originating-ip: [163.33.239.182]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Subject: Re: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported
in hugepages-2048kB
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
<mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
<mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Feb 2016 08:26:41 -0000
SGkgQW5hbmQsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogdXNlcnMg
W21haWx0bzp1c2Vycy1ib3VuY2VzQGRwZGsub3JnXSBPbiBCZWhhbGYgT2YgYW5hbmQgcHJhc2Fk
DQo+IFNlbnQ6IEZyaWRheSwgRmVicnVhcnkgMDUsIDIwMTYgNjoxMSBBTQ0KPiBUbzogdXNlcnNA
ZHBkay5vcmcN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ysweDFhKSBbMHg0YmNkZmFdXQ0KPiBBYm9ydGVk
IChjb3JlIGR1bXBlZCkNCj4gQ2FuIGFueW9uZSBoZWxwIG1lIHVuZGVyc3RhbmQgdGhlIGlzc3Vl
IGFuZCBwb3NzaWJsZSBzb2x1dGlvbi4NCj4gVGhhbmtzIGluIGFkdmFuY2VSZWdhcmRzLEFuYW5k
IFByYXNhZCs5MSA5ODgwNjY2OTY4DQoNCllvdSBwcm9iYWJseSBoYXZlbid0IHJlc2VydmVkIGFu
eSBodWdlcGFnZXMuDQpUYWtlIGEgbG9vayBhdCB0aGUgR2V0dGluZyBTdGFydGVkIEd1aWRlIChz
ZWN0aW9uIDIuMy4yKToNCmh0dHA6Ly9kcGRrLnJlYWR0aGVkb2NzLm9yZy9lbi92Mi4yLjAvbGlu
dXhfZ3NnL3N5c19yZXFzLmh0bWwjcnVubmluZy1kcGRrLWFwcGxpY2F0aW9ucw0KDQpBbm90aGVy
IHdheSBpcyBydW4gdGhlIHNldHVwLnNoIHNjcmlwdCwgaW4gdG9vbHMgZGlyZWN0b3J5Lg0KT3B0
aW9ucyAyMCBhbmQgMjEgd2lsbCBkbyB0aGUgaHVnZXBhZ2UgcmVzZXJ2ZSBmb3IgeW91LA0KanVz
dCBuZWVkIHRvIHBhc3MgdGhlIG51bWJlciBvZiBodWdlcGFnZXMgdGhhdCB5b3Ugd2FudC4NCg0K
TGV0IG1lIGtub3cgaWYgeW91IGhhdmUgYW55IG1vcmUgaXNzdWVzLg0KDQpQYWJsbw0KPiANCj4g
DQo+IA0K
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
2016-02-05 6:11 ` [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB anand prasad
@ 2016-02-05 9:02 ` Van Haaren, Harry
2016-02-05 14:16 ` Wiles, Keith
0 siblings, 1 reply; 3+ messages in thread
From: Van Haaren, Harry @ 2016-02-05 9:02 UTC (permalink / raw)
To: anand prasad, users
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.
Hope that helps, -Harry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB
2016-02-05 9:02 ` Van Haaren, Harry
@ 2016-02-05 14:16 ` Wiles, Keith
0 siblings, 0 replies; 3+ messages in thread
From: Wiles, Keith @ 2016-02-05 14:16 UTC (permalink / raw)
To: Van Haaren, Harry, anand prasad, users
>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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-05 14:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[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 ` [dpdk-users] Fw: DPDK Error --> EAL: No free hugepages reported in hugepages-2048kB anand prasad
2016-02-05 9:02 ` Van Haaren, Harry
2016-02-05 14:16 ` Wiles, Keith
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).