DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Current CONFIG_RTE_MAX_MEMSEG=256 is not enough
@ 2016-10-13 14:50 Cliff Burdick
  2016-10-13 14:56 ` Paul Emmerich
  0 siblings, 1 reply; 4+ messages in thread
From: Cliff Burdick @ 2016-10-13 14:50 UTC (permalink / raw)
  To: users

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-13 17:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 14:50 [dpdk-users] Current CONFIG_RTE_MAX_MEMSEG=256 is not enough Cliff Burdick
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

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).