DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] unable to configure EAL command line options
@ 2016-02-03 12:25 Nagaraj Trivedi
  2016-02-03 12:29 ` Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nagaraj Trivedi @ 2016-02-03 12:25 UTC (permalink / raw)
  To: users

Hi, I tried configuring the following command to configure EAL parameters 
but getting error as Not enough memory available on socket 1

/home/poc/pktgen-2.9.7$ sudo ./app/app/x86_64-native-linuxapp-gcc/pktgen 
-c 0x0f -n 3 --proc-type auto --socket-mem 256,256 -b 0000:01:00.0 -b 
0000:01:00.1 --file-prefix pg -- -P -m "[1:3].0, [0:2].1"


EAL: Not enough memory available on socket 1! Requested: 256MB, available: 
0MB
PANIC in rte_eal_init():
Cannot init memory

Can any one tell me how to make memory available for this socket

Thanks & Regards
Nagaraj Trivedi
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

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

* Re: [dpdk-users] unable to configure EAL command line options
  2016-02-03 12:25 [dpdk-users] unable to configure EAL command line options Nagaraj Trivedi
@ 2016-02-03 12:29 ` Thomas Monjalon
  2016-02-03 14:41 ` Wiles, Keith
  2016-02-03 14:45 ` Wiles, Keith
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2016-02-03 12:29 UTC (permalink / raw)
  To: users, Nagaraj Trivedi

Hi all,

General comment for the mailing list:
This kind of footer is not relevant and may sometimes imply
to reject the mail.
Please remove it. Thanks

2016-02-03 17:55, Nagaraj Trivedi:
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you

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

* Re: [dpdk-users] unable to configure EAL command line options
  2016-02-03 12:25 [dpdk-users] unable to configure EAL command line options Nagaraj Trivedi
  2016-02-03 12:29 ` Thomas Monjalon
@ 2016-02-03 14:41 ` Wiles, Keith
  2016-02-03 14:45 ` Wiles, Keith
  2 siblings, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2016-02-03 14:41 UTC (permalink / raw)
  To: Nagaraj Trivedi, users


Regards,
Keith









>Hi, I tried configuring the following command to configure EAL parameters 
>but getting error as Not enough memory available on socket 1
>
>/home/poc/pktgen-2.9.7$ sudo ./app/app/x86_64-native-linuxapp-gcc/pktgen 
>-c 0x0f -n 3 --proc-type auto --socket-mem 256,256 -b 0000:01:00.0 -b 
>0000:01:00.1 --file-prefix pg -- -P -m "[1:3].0, [0:2].1"

Sometimes this means you are on a single socket system, meaning a single CPU.

If that is the case change the —socket-men 256,256 to —socket-men 512 instead and assuming you allocated 512 2M huge pages in your system.
>
>
>EAL: Not enough memory available on socket 1! Requested: 256MB, available: 
>0MB
>PANIC in rte_eal_init():
>Cannot init memory
>
>Can any one tell me how to make memory available for this socket
>
>Thanks & Regards
>Nagaraj Trivedi
>=====-----=====-----=====
>Notice: The information contained in this e-mail
>message and/or attachments to it may contain 
>confidential or privileged information. If you are 
>not the intended recipient, any dissemination, use, 
>review, distribution, printing or copying of the 
>information contained in this e-mail message 
>and/or attachments to it are strictly prohibited. If 
>you have received this communication in error, 
>please notify us by reply e-mail or telephone and 
>immediately and permanently delete the message 
>and any attachments. Thank you
>
>

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

* Re: [dpdk-users] unable to configure EAL command line options
  2016-02-03 12:25 [dpdk-users] unable to configure EAL command line options Nagaraj Trivedi
  2016-02-03 12:29 ` Thomas Monjalon
  2016-02-03 14:41 ` Wiles, Keith
@ 2016-02-03 14:45 ` Wiles, Keith
  2 siblings, 0 replies; 4+ messages in thread
From: Wiles, Keith @ 2016-02-03 14:45 UTC (permalink / raw)
  To: Nagaraj Trivedi, users


Regards,
Keith









>Hi, I tried configuring the following command to configure EAL parameters 
>but getting error as Not enough memory available on socket 1
>
>/home/poc/pktgen-2.9.7$ sudo ./app/app/x86_64-native-linuxapp-gcc/pktgen 
>-c 0x0f -n 3 --proc-type auto --socket-mem 256,256 -b 0000:01:00.0 -b 
>0000:01:00.1 --file-prefix pg -- -P -m "[1:3].0, [0:2].1"

I also noticed you used core 0 [0:2].1 Pktgen requires a core to run display and timers. If you only have a 4 core system then the first core in -c 0f can not be used here. You will need to adjust the cores being used to something like -m”1.0, 2.1” or -m”[1:2].0, 3.1”

Also make sure the blacklist PCI devices are valid ports to blacklist.
>
>
>EAL: Not enough memory available on socket 1! Requested: 256MB, available: 
>0MB
>PANIC in rte_eal_init():
>Cannot init memory
>
>Can any one tell me how to make memory available for this socket
>
>Thanks & Regards
>Nagaraj Trivedi
>=====-----=====-----=====
>Notice: The information contained in this e-mail
>message and/or attachments to it may contain 
>confidential or privileged information. If you are 
>not the intended recipient, any dissemination, use, 
>review, distribution, printing or copying of the 
>information contained in this e-mail message 
>and/or attachments to it are strictly prohibited. If 
>you have received this communication in error, 
>please notify us by reply e-mail or telephone and 
>immediately and permanently delete the message 
>and any attachments. Thank you
>
>

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

end of thread, other threads:[~2016-02-03 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 12:25 [dpdk-users] unable to configure EAL command line options Nagaraj Trivedi
2016-02-03 12:29 ` Thomas Monjalon
2016-02-03 14:41 ` Wiles, Keith
2016-02-03 14:45 ` 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).