From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id A39C65A79 for ; Sat, 28 May 2016 09:39:44 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id n129so19072751wmn.1 for ; Sat, 28 May 2016 00:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:mime-version:thread-index:date:message-id:subject:to; bh=eNFHfIo4cu4s84JDWa32GFO+d2m0Vm8uZWHLEd/Qkkc=; b=X80DXl0mQ2DKNxAOiveLZ+UWMcr/emhGz88x1+pcqGeaxtaZXorLEnmWGr9RSieC3o uqERG1oxRaXI7TzKpy9XtOD929rKoDkGfU7OjdV1Wg0dh/gWvOUX6rXdG9NfPAFtidxB hiRJQIeaSpkLsAYirI28OKXPWR4LYauRibLUE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to; bh=eNFHfIo4cu4s84JDWa32GFO+d2m0Vm8uZWHLEd/Qkkc=; b=Z+UbZ0jRTO1E3z62roJ5TbmuosRa8tJfP9ekX1Hs/RydHjjavu7EaDaOTk8EQbHPDn xmWSDepBUctwF93lbRLBzKhDW2me8HsoeCmxMOauHVEj0WTAIA/MeZvngH8+r7SVY+wQ 1NttGZcLQ4fv+fq6lP0BTU8Bl4RArzd/CSHoZORbi0QlBrfctCAWs9MuG7/A09acoR2R tNDFHRjFtQ1atwY7VtINZoYrx1TIw0y6xKWeRYiGPq+xMQrNon2FAk2j8jT30ZS9TkD9 RFU8xpPQVx6hNhL57FkuQRsjPO6aPdMZlAzT4PoYpOXumVBebyWkOSIy2lGdF1pmCBgH HE+A== X-Gm-Message-State: ALyK8tKgYTPsLXlM2X9XbInshonbJoNF7ulbK5FLWPDGib48HHnm4Ewo+coP0Mq1Jt7jd8h5NnSWAFlvC7+NK1LB X-Received: by 10.194.192.10 with SMTP id hc10mr18230172wjc.71.1464421184248; Sat, 28 May 2016 00:39:44 -0700 (PDT) From: Murali Krishna MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdG4tBERpZRuuAqHS1uDgpTCdP2yyw== Date: Sat, 28 May 2016 13:09:42 +0530 Message-ID: <55dfc6a5221582a096a8e6c69b5eace7@mail.gmail.com> To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Creation of mbuf pool for socket 0 failed on VM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 07:39:44 -0000 Hi, I have attached two 10G NICs to VM as pass-through devices and I=E2=80=99m = 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=3D1 --nb-ports=3D2 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 =3D 0x200000) EAL: Ask a virtual area of 0x5000000 bytes EAL: Virtual area found at 0x7f1d22400000 (size =3D 0x5000000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d22000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d21c00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d21800000 (size =3D 0x200000) EAL: Ask a virtual area of 0x800000 bytes EAL: Virtual area found at 0x7f1d20e00000 (size =3D 0x800000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d20a00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f1d20400000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d20000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f1d1f800000 (size =3D 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d1f400000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f1d1ee00000 (size =3D 0x400000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f1d1e800000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d1e400000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d1e000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d1dc00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f1d1d800000 (size =3D 0x200000) EAL: Requesting 64 pages of size 2MB from socket 0 EAL: TSC frequency is ~2596992 KHz EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using unreli= able 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=3D288c3900;cpuset=3D[0]) EAL: lcore 1 is ready (tid=3D1cdf2700;cpuset=3D[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