All of lore.kernel.org
 help / color / mirror / Atom feed
From: Murali Krishna <murali.krishna@broadcom.com>
To: dev@dpdk.org
Subject: Creation of mbuf pool for socket 0 failed on VM
Date: Sat, 28 May 2016 13:09:42 +0530	[thread overview]
Message-ID: <55dfc6a5221582a096a8e6c69b5eace7@mail.gmail.com> (raw)

Hi,



I have attached two 10G NICs to VM as pass-through devices and I’m trying
to run testpmd on the VM. I have assigned 4GB RAM and 2 cores to the VM.



/DPDK22/testpmd -c 0x3 -n 2 -d /DPDK22/librte_pmd_oce.so -w $P0 -w $P1 --
-i --nb-cores=1 --nb-ports=2



Where P0 and P1 are the PCI IDs of the two NIC ports.



Below is the complete testpmd app output:



EAL: Detected lcore 0 as core 0 on socket 0

EAL: Detected lcore 1 as core 0 on socket 0

EAL: Support maximum 128 logical core(s) by configuration.

EAL: Detected 2 lcore(s)

EAL: VFIO modules not all loaded, skip VFIO support...

EAL: Setting up physically contiguous memory...

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d27600000 (size = 0x200000)

EAL: Ask a virtual area of 0x5000000 bytes

EAL: Virtual area found at 0x7f1d22400000 (size = 0x5000000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d22000000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d21c00000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d21800000 (size = 0x200000)

EAL: Ask a virtual area of 0x800000 bytes

EAL: Virtual area found at 0x7f1d20e00000 (size = 0x800000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d20a00000 (size = 0x200000)

EAL: Ask a virtual area of 0x400000 bytes

EAL: Virtual area found at 0x7f1d20400000 (size = 0x400000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d20000000 (size = 0x200000)

EAL: Ask a virtual area of 0x600000 bytes

EAL: Virtual area found at 0x7f1d1f800000 (size = 0x600000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d1f400000 (size = 0x200000)

EAL: Ask a virtual area of 0x400000 bytes

EAL: Virtual area found at 0x7f1d1ee00000 (size = 0x400000)

EAL: Ask a virtual area of 0x400000 bytes

EAL: Virtual area found at 0x7f1d1e800000 (size = 0x400000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d1e400000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d1e000000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d1dc00000 (size = 0x200000)

EAL: Ask a virtual area of 0x200000 bytes

EAL: Virtual area found at 0x7f1d1d800000 (size = 0x200000)

EAL: Requesting 64 pages of size 2MB from socket 0

EAL: TSC frequency is ~2596992 KHz

EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable
clock cycles !

EAL: open shared lib //DPDK22/librte_pmd_oce.so

PMD: librte_pmd_oce by 6WIND registered

EAL: Master lcore 0 is ready (tid=288c3900;cpuset=[0])

EAL: lcore 1 is ready (tid=1cdf2700;cpuset=[1])

EAL: PCI device 0000:00:09.0 on NUMA socket -1

EAL:   probe driver: 10df:720 librte_pmd_oce

EAL: PCI device 0000:00:0a.0 on NUMA socket -1

EAL:   probe driver: 10df:720 librte_pmd_oce

Interactive-mode selected

EAL: Error - exiting with code: 1

  Cause: Creation of mbuf pool for socket 0 failed



Hugepage allocation:



mkdir -p /mnt/huge

mount -t hugetlbfs nodev /mnt/huge

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



Can someone tell me if there is anything wrong here.



Thanks,

Murali

             reply	other threads:[~2016-05-28  7:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-28  7:39 Murali Krishna [this message]
2016-05-28 11:54 ` Creation of mbuf pool for socket 0 failed on VM Olivier Matz

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=55dfc6a5221582a096a8e6c69b5eace7@mail.gmail.com \
    --to=murali.krishna@broadcom.com \
    --cc=dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.