From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk0-f53.google.com (mail-vk0-f53.google.com [209.85.213.53]) by dpdk.org (Postfix) with ESMTP id 9131D5F35 for ; Sat, 2 Jun 2018 00:06:40 +0200 (CEST) Received: by mail-vk0-f53.google.com with SMTP id q135-v6so13951424vkh.1 for ; Fri, 01 Jun 2018 15:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PwpXAq1zBmByOZ1swTtaXh/L0zSajwmUeTVLJRtseLA=; b=GT53pJAYueqHHv0cf0pm/TS+BTysxSSPYKR21famN8fmBHGN8yTJVL993vkkhpsIep /MCpfWoQsHb6d8Z94f8Rjd87MZc8f4owFllX+qkczT8BLyR6cYEaGdZ+BzOoua0wP3LW BsNPyZGhQTGn/sqULgDPMbAAI4kGQjGnynb7xgpLIQC3n31F3nSaRdlpU2XAgEGC5f/W Cbb7R3twpyVjP/Uv61Tr0L74Dr+Vgxm+UyGubSYuE8XPTJD6yX5KcJDvRziMe5f/HYLG FdzYJ7sqn7VTZTYqvdkeW/c9hiAEydgLId/w+TP3ZpVcv858aZDHacOMHBOseBnyRFBd vh+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PwpXAq1zBmByOZ1swTtaXh/L0zSajwmUeTVLJRtseLA=; b=WMpWvt6tZoyc1t7ih0yvP5GV/g3mTFIR1kWxOzAERDtLhc+ixTfNX3fEpfZL/1OXH6 PkOZQuASYxqYC78GJ1/JpGP7S4cz8K1Qr8SEm2os8AGwSI2FjGuHzMKjn4tLNXE1ByIe 94YqkndBpKN/qr73zMuga/HJX1aA0uE5iXDPu+TcngHvLvjudxH15qFx7yJPAcnyGf2z /imfCmdB5ZDXtz3+qNT8uRW5cRLg6SWz+yLHp0+2QMaLbqlkZJp01xndo40UzfOQsS1Y F2VQeC/ZK6tBKJe3ZzTbWaGQ/j7rA63ip3bC9aZbM9C9rTRPcytLq1/vfJ1pZ02qeSVn QeNg== X-Gm-Message-State: ALKqPwcFuiSVaQZJiDEurFfZXmmdLMqpSmL4Ttp3GhrvLgX2mnQ7HP4E XDDXXCoKHSYj7nRyMmO0W08JYUfNZ7MmOub3oSi7pg== X-Google-Smtp-Source: ADUXVKJA0jcVJ2vxr7kWHRypG1o72l8vMNXe2qQa9+EIsNxUAJCAqxlahHjl8m0U99FjYBYigyGEcMUKe5ofRFt72RU= X-Received: by 2002:a1f:5003:: with SMTP id e3-v6mr8093102vkb.47.1527890799881; Fri, 01 Jun 2018 15:06:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:1d42:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 15:06:39 -0700 (PDT) From: Monika Mails Date: Fri, 1 Jun 2018 15:06:39 -0700 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Testpmd fails in initialization X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2018 22:06:40 -0000 Hi All, This is Monika. I am new to DPDK. I just installed DPDK release - 18.05 on my server and trying to run "testpmd" Here is my command and its output :- sudo testpmd -l 8 -n 4 -c 0x3 --socket-mem=512,512 EAL: Detected lcore 0 as core 3 on socket 0 EAL: Detected lcore 1 as core 3 on socket 1 EAL: Detected lcore 2 as core 4 on socket 0 EAL: Detected lcore 3 as core 4 on socket 1 EAL: Detected lcore 4 as core 5 on socket 0 EAL: Detected lcore 5 as core 5 on socket 1 EAL: Detected lcore 6 as core 6 on socket 0 EAL: Detected lcore 7 as core 6 on socket 1 EAL: Detected lcore 8 as core 10 on socket 0 EAL: Detected lcore 9 as core 10 on socket 1 EAL: Detected lcore 10 as core 11 on socket 0 EAL: Detected lcore 11 as core 11 on socket 1 EAL: Detected lcore 12 as core 3 on socket 0 EAL: Detected lcore 13 as core 3 on socket 1 EAL: Detected lcore 14 as core 4 on socket 0 EAL: Detected lcore 15 as core 4 on socket 1 EAL: Detected lcore 16 as core 5 on socket 0 EAL: Detected lcore 17 as core 5 on socket 1 EAL: Detected lcore 18 as core 6 on socket 0 EAL: Detected lcore 19 as core 6 on socket 1 EAL: Detected lcore 20 as core 10 on socket 0 EAL: Detected lcore 21 as core 10 on socket 1 EAL: Detected lcore 22 as core 11 on socket 0 EAL: Detected lcore 23 as core 11 on socket 1 EAL: Support maximum 128 logical core(s) by configuration. EAL: Detected 24 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Setting up physically contiguous memory... EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d14600000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d14200000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d13e00000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d13a00000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2d13400000 (size = 0x400000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d13000000 (size = 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7f2d12c00000 (size = 0x200000) EAL: Ask a virtual area of 0x400000 bytes EAL: Virtual area found at 0x7f2d12600000 (size = 0x400000) *EAL: Not enough memory available on socket 0! Requested: 512MB, available: 0MB* PANIC in rte_eal_init(): Cannot init memory 6: [testpmd(_start+0x29) [0x4155b9]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f2d158b5830]] 4: [testpmd(main+0x51) [0x414fb1]] 3: [/usr/lib/x86_64-linux-gnu/libdpdk.so.0(rte_eal_init+0x1111) [0x7f2d16e59c91]] 2: [/usr/lib/x86_64-linux-gnu/libdpdk.so.0(__rte_panic+0xd0) [0x7f2d16e38e18]] 1: [/usr/lib/x86_64-linux-gnu/libdpdk.so.0(rte_dump_stack+0x2b) [0x7f2d16fa840b]] Aborted (core dumped) Here are the other details of my server :- *./deps/dpdk-18.05/usertools/cpu_layout.py* ====================================================================== Core and Socket Information (as reported by '/sys/devices/system/cpu') ====================================================================== cores = [3, 4, 5, 6, 10, 11] sockets = [0, 1] Socket 0 Socket 1 -------- -------- Core 3 [0, 12] [1, 13] Core 4 [2, 14] [3, 15] Core 5 [4, 16] [5, 17] Core 6 [6, 18] [7, 19] Core 10 [8, 20] [9, 21] Core 11 [10, 22] [11, 23] I tried selecting different number of hugepages from 1024-10, but getting the same initialization error. Can someone please suggest some resolution. Appreciate some advice. Regards, Monika