From: Cliff Burdick <shaklee3@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Current CONFIG_RTE_MAX_MEMSEG=256 is not enough
Date: Thu, 13 Oct 2016 07:50:23 -0700 [thread overview]
Message-ID: <CA+Gp1nYg+mw9HG2yd3DraB2WLat-Hcme-3Tz3rnzKp8XR4kCZw@mail.gmail.com> (raw)
Hi, I have a DPDK application that I allocate 2048 2MB hugepages on
startup, and everything works for a while. However, if I clean my code and
run the application again, on occasion, I get the following error:
Current CONFIG_RTE_MAX_MEMSEG=256 is not enough
Please either increase it or request less amount of memory.
PANIC in rte_eal_init():
Cannot init memory
8: [app() [0x412f4b]]
7: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)
[0x7fa65918df45]]
6: [app() [0x4122b9]]
5: [app() [0x57494e]]
4: [app() [0x565c3f]]
3: [app() [0x457163]]
2: [app() [0x40af2f]]
1: [app() [0x4512ba]]
I know I can increase this parameter in the DPDK config, but I'm not sure
why that's the solution and that it runs fine for so long until hitting
this. Should I just increase that, or is there another issue at play?
next reply other threads:[~2016-10-13 14:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 14:50 Cliff Burdick [this message]
2016-10-13 14:56 ` Paul Emmerich
[not found] ` <CAN7yQ2rUyUyAw4XJcnHpq9VhF56AhgSQc4oqWoJ2FAcm+4Y+WA@mail.gmail.com>
[not found] ` <CAN7yQ2oazqOFxC-A+ipAeJTJaV2KLsAh08qD9=G++gHhVj2Arw@mail.gmail.com>
2016-10-13 17:00 ` Muhammad Zain-ul-Abideen
2016-10-13 17:04 ` De Lara Guarch, Pablo
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=CA+Gp1nYg+mw9HG2yd3DraB2WLat-Hcme-3Tz3rnzKp8XR4kCZw@mail.gmail.com \
--to=shaklee3@gmail.com \
--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).