[dpdk-users] Cannot run Quick Start on ubuntu16.04.1 VM

Marco Kwok maruko.kwok at gmail.com
Thu Dec 29 07:25:29 CET 2016


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


More information about the users mailing list