From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from inblrg02.tcs.com (inblrg02.tcs.com [121.242.48.116]) by dpdk.org (Postfix) with ESMTP id 1BECB2B9B for ; Mon, 1 Aug 2016 11:32:01 +0200 (CEST) IronPort-PHdr: =?us-ascii?q?9a23=3AnohhLB32UeMB8HlEsmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?segQLvad9pjvdHbS+e9qxAeQG96Ks7Qb1qGP6ujJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL2PbrnD61zMOABK3bVMz?= =?us-ascii?q?fbWtXNGPxJ3un8mJuLTrKz1SgzS8Zb4gZD6Xli728vcsvI15N6wqwQHIqHYbM8?= =?us-ascii?q?5fxGdvOE7B102kvpT41NdZ/i9Ro/Ms8dJbGeW/JvxgDO8QMDNzeWw4+uXnrRXA?= =?us-ascii?q?CwyV6TFUBmkbjDJEGwTGqhbgUcGinDH9s79H0SuTde//XLksUDDqu71iShauii?= =?us-ascii?q?4WPiYw9EnLgdc2h6Ve9kHy7ydjypLZNdnGfMF1ebnQKJZDHTJM?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2CsBADNFJ9X/6fBE6xdhBt8uw4khXmBa?= =?us-ascii?q?BABAQEBAQEBAXgLgjIEARMBghUFJ1IVE4EQBgsZiC6wJwEBAZA+AQEIAiWGKot?= =?us-ascii?q?WC4MHBYgdhm1AiWmBYIQ4iyCMBoEAkCc1gi4DHIFUZohRAQEB?= X-IPAS-Result: =?us-ascii?q?A2CsBADNFJ9X/6fBE6xdhBt8uw4khXmBaBABAQEBAQEBAXg?= =?us-ascii?q?LgjIEARMBghUFJ1IVE4EQBgsZiC6wJwEBAZA+AQEIAiWGKotWC4MHBYgdhm1Ai?= =?us-ascii?q?WmBYIQ4iyCMBoEAkCc1gi4DHIFUZohRAQEB?= X-IronPort-AV: E=Sophos;i="5.28,454,1464633000"; d="scan'208";a="27219774" MIME-Version: 1.0 Importance: Normal X-Priority: 3 (Normal) In-Reply-To: References: From: Raja Jayapal To: "dev@dpdk.org" Cc: Rafat Jahan , Nagaratna Patagar Message-ID: Date: Mon, 1 Aug 2016 15:01:45 +0530 X-Mailer: Lotus Domino Web Server Release 9.0.1FP6HF144 June 24, 2016 X-MIMETrack: Serialize by http on InBlrM16/TCS(Release 9.0.1FP6HF144 | June 24, 2016) at 08/01/2016 15:01:45, Serialize complete at 08/01/2016 15:01:45, Itemize by http on InBlrM16/TCS(Release 9.0.1FP6HF144 | June 24, 2016) at 08/01/2016 15:01:45, Serialize by Router on InBlrM16/TCS(Release 9.0.1FP6HF144 | June 24, 2016) at 08/01/2016 15:01:57, Serialize complete at 08/01/2016 15:01:57 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] l3fwd LPM memory allocation failed 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: Mon, 01 Aug 2016 09:32:03 -0000 Hi All, I have installed dpdk-2.2.0 on VM and when i try to run l3fwd sample applic= ation, facing the below memory error. root@tcs-Standard-PC-i440FX-PIIX-1996:/home/tcs/Downloads/dpdk-2.2.0/exampl= es/l3fwd# ./build/l3fwd -c 0x1 -n 1 -- -p 0x3 --config=3D"(0,0,0),(1,0,0)" = 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 0x600000 bytes EAL: Virtual area found at 0x7f2f9a800000 (size =3D 0x600000) EAL: Ask a virtual area of 0xc00000 bytes EAL: Virtual area found at 0x7f2f99a00000 (size =3D 0xc00000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f99400000 (size =3D 0x400000) EAL: Ask a virtual area of 0x800000 bytes EAL: Virtual area found at 0x7f2f98a00000 (size =3D 0x800000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f98400000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f98000000 (size =3D 0x200000) EAL: Ask a virtual area of 0xa00000 bytes EAL: Virtual area found at 0x7f2f97400000 (size =3D 0xa00000) EAL: Ask a virtual area of 0xc00000 bytes EAL: Virtual area found at 0x7f2f96600000 (size =3D 0xc00000) EAL: Ask a virtual area of 0x1600000 bytes EAL: Virtual area found at 0x7f2f94e00000 (size =3D 0x1600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f94a00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f94600000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f94000000 (size =3D 0x400000) EAL: Ask a virtual area of 0xe00000 bytes EAL: Virtual area found at 0x7f2f93000000 (size =3D 0xe00000) EAL: Ask a virtual area of 0x1a00000 bytes EAL: Virtual area found at 0x7f2f91400000 (size =3D 0x1a00000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f91000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f2f90800000 (size =3D 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f90400000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f90000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f8fa00000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8f600000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f8f000000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8ec00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8e800000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8e400000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8e000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8dc00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8d800000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f8d200000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8ce00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8ca00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8c600000 (size =3D 0x200000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f2f8be00000 (size =3D 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8ba00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f8b400000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f8b000000 (size =3D 0x200000) EAL: Ask a virtual area of 0xa00000 bytes EAL: Virtual area found at 0x7f2f8a400000 (size =3D 0xa00000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f89e00000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f89a00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f89400000 (size =3D 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f89000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f88c00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f88800000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f88400000 (size =3D 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2f87e00000 (size =3D 0x400000) EAL: Ask a virtual area of 0xe00000 bytes EAL: Virtual area found at 0x7f2f86e00000 (size =3D 0xe00000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f86a00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f86600000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2f86200000 (size =3D 0x200000) EAL: Ask a virtual area of 0xe00000 bytes EAL: Virtual area found at 0x7f2f85200000 (size =3D 0xe00000) EAL: Ask a virtual area of 0x1c00000 bytes EAL: Virtual area found at 0x7f2f83400000 (size =3D 0x1c00000) EAL: Ask a virtual area of 0x1000000 bytes EAL: Virtual area found at 0x7f2f82200000 (size =3D 0x1000000) EAL: Ask a virtual area of 0x1000000 bytes EAL: Virtual area found at 0x7f2f81000000 (size =3D 0x1000000) EAL: Ask a virtual area of 0x1000000 bytes EAL: Virtual area found at 0x7f2f7fe00000 (size =3D 0x1000000) EAL: Ask a virtual area of 0x1000000 bytes EAL: Virtual area found at 0x7f2f7ec00000 (size =3D 0x1000000) EAL: Ask a virtual area of 0xa00000 bytes EAL: Virtual area found at 0x7f2f7e000000 (size =3D 0xa00000) EAL: Ask a virtual area of 0x3c00000 bytes EAL: Virtual area found at 0x7f2f7a200000 (size =3D 0x3c00000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f2f79a00000 (size =3D 0x600000) EAL: Ask a virtual area of 0x4600000 bytes EAL: Virtual area found at 0x7f2f75200000 (size =3D 0x4600000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7f2f74a00000 (size =3D 0x600000) EAL: Ask a virtual area of 0xa00000 bytes EAL: Virtual area found at 0x7f2f73e00000 (size =3D 0xa00000) EAL: Requesting 263 pages of size 2MB from socket 0 EAL: TSC frequency is ~3092976 KHz EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using unreli= able clock cycles ! EAL: Master lcore 0 is ready (tid=3D9cb32940;cpuset=3D[0]) EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL:=FF=FF probe driver: 8086:100e rte_em_pmd EAL:=FF=FF PCI memory mapped at 0x7f2f9ae00000 PMD: eth_em_dev_init(): port_id 0 vendorID=3D0x8086 deviceID=3D0x100e EAL: PCI device 0000:00:07.0 on NUMA socket -1 EAL:=FF=FF probe driver: 8086:100e rte_em_pmd EAL:=FF=FF PCI memory mapped at 0x7f2f9ae20000 PMD: eth_em_dev_init(): port_id 1 vendorID=3D0x8086 deviceID=3D0x100e EAL: PCI device 0000:00:08.0 on NUMA socket -1 EAL:=FF=FF probe driver: 8086:100e rte_em_pmd EAL:=FF=FF PCI memory mapped at 0x7f2f9ae40000 PMD: eth_em_dev_init(): port_id 2 vendorID=3D0x8086 deviceID=3D0x100e EAL: PCI device 0000:00:09.0 on NUMA socket -1 EAL:=FF=FF probe driver: 8086:100e rte_em_pmd EAL:=FF=FF PCI memory mapped at 0x7f2f9ae60000 PMD: eth_em_dev_init(): port_id 3 vendorID=3D0x8086 deviceID=3D0x100e Initializing port 0 ... Creating queues: nb_rxq=3D1 nb_txq=3D1...=FF Addres= s:52:54:00:0D:AF:AF, Destination:02:00:00:00:00:00, Allocated mbuf pool on = socket 0 LPM: Adding route 0x01010100 / 24 (0) LPM: Adding route 0x02010100 / 24 (1) LPM: LPM memory allocation failed EAL: Error - exiting with code: 1 =FF Cause: Unable to create the l3fwd LPM table on socket 0 As mentioned in previous dpdkthreads, i tried after changing the hugepage s= ize to 1024 as well. http://dpdk.org/ml/archives/dev/2014-November/007770.html http://dpdk.org/ml/archives/users/2015-November/000066.html echo 512 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hug= epages = echo 1024 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_h= ugepages Tried setting the hugepage through ./tools/setup.sh (1024,4096...) as well.= but facing the same error. Could somebody help how to resolve this issue? Thanks, Raja =3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D-----=3D=3D=3D=3D=3D 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