DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Cannot run Quick Start on ubuntu16.04.1 VM
@ 2016-12-29  6:25 Marco Kwok
  0 siblings, 0 replies; only message in thread
From: Marco Kwok @ 2016-12-29  6:25 UTC (permalink / raw)
  To: users

Hello all,

I am running vmware workstation for ubuntu 16.04.1.
Following the guide here:
http://dpdk.org/doc/quick-start

everything is fine until this line:

> echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-
> 2048kB/nr_hugepages

I got permission denied even with sudo, so I get through it with:

> sh -c "echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-
> 2048kB/nr_hugepages"


Then I want to start the program testpmd and I found the argument of this
line is not supported:

> -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=2048


With this command to start the testpmd(my card is not eth0 and eth1 but
ens33 and 38 instead):
sudo build/app/testpmd -c7 -n3 --vdev=eth_pcap0,iface=ens33
--vdev=eth_pcap1,iface=ens38

EAL: Detected 4 lcore(s)
>
> EAL: No free hugepages reported in hugepages-1048576kB
>
> EAL: Probing VFIO support...
>
> PMD: Initializing pmd_pcap for eth_pcap0
>
> PMD: Creating pcap-backed ethdev on numa socket 0
>
> PMD: Initializing pmd_pcap for eth_pcap1
>
> PMD: Creating pcap-backed ethdev on numa socket 0
>
> PMD: bnxt_rte_pmd_init() called for (null)
>
> EAL: PCI device 0000:02:01.0 on NUMA socket -1
>
> EAL:   probe driver: 8086:100f rte_em_pmd
>
> EAL: PCI device 0000:02:06.0 on NUMA socket -1
>
> EAL:   probe driver: 8086:100f rte_em_pmd
>
> USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=163456, size=2176,
>> socket=0
>
> EAL: Error - exiting with code: 1
>
>   Cause: Creation of mbuf pool for socket 0 failed: Cannot allocate memory
>
>
Does anybody know how I could get through this?

Best Regards,
Mark

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-29  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-29  6:25 [dpdk-users] Cannot run Quick Start on ubuntu16.04.1 VM Marco Kwok

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