From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by dpdk.org (Postfix) with ESMTP id 2BE6BDD2 for ; Mon, 12 Mar 2018 11:25:42 +0100 (CET) Received: by mail-lf0-f50.google.com with SMTP id h127-v6so22325856lfg.12 for ; Mon, 12 Mar 2018 03:25:42 -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=Cm+og0zckj6/aytexKGY+96BYvahXgFsmn6VxmSzq7M=; b=KBYGyB8EceLdYvj+vQ+5NY+dVyl1xNXqMuONLB7CO7CpsncG6DW7wfN0KaAr6jrKrd z2Ao//7yTBtJ4UX2SAp/YEDnooJhMLNIvW0ytFGRe/jcpsxp1RW6WrshL6j30kLiTPYk 6ZzFQsiTW7dS0M3MYCcdcXdAVsxvf6+EY8BhxRm+Wsaak/+uQgrax95KpJs2TEh+Yvas BpOO6HI2LmdbKw5kMr9ImDl/lRAo7s3EQR66z1Wu1eNF/+Pm/YFcwtxQzZ7aVsxk+SuQ zlirYIPQtq59aNQA0DHRrO3iEEHa6pKhq3AVzcfME2oqLS2s6t9aVRByqrve2czcjrVG LDuw== 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=Cm+og0zckj6/aytexKGY+96BYvahXgFsmn6VxmSzq7M=; b=NaeEdvIO2WMXWT6ngDIcdBmEXr7UIZY3uGHEXYzRukap4EQos34CaclT7fZNFYSRJr 7proUCXZGQ1V+Y65CS6nUT5Wnz8hbQlQS5J4OsY96cN5QTNbuLlyOXJfFoLCdDKDmsLL YrI8dunr+aSLChu5Eb0s4KHvCnrAubUg+MAd6wtemKTe44Ub4nomYLAwXX6y7/iv5kVp SGA1lS1NfbIJNbWamWb21LY/l3MrQ841Vm5+eurSUJg82RoYiBbAPsoI5u+QccQm4p8N 4bwxx5Rb1NLnQ92CdzchcZdUty1q6b7t2djHKHE8XGX50DBoCd5lrnl0HFaMtxWZ9dLX ApAw== X-Gm-Message-State: AElRT7GZY67hminTf2iG4jp+zgJE/F9hx/tawy1A7PcuKgOt2XQWXGWE 6SOOM0KNP9GsvviwehgG+lBPwfOMXQ68+RUh2h0nGQ== X-Google-Smtp-Source: AG47ELu971Fsz/E7DSIzUK/xhNXS1+Y134CwBek/8RcEstyIG5Pwnpp989arzg7zbpiSfnsG1BntyG946E7FkgvQirE= X-Received: by 10.46.129.144 with SMTP id e16mr4981939ljg.94.1520850341356; Mon, 12 Mar 2018 03:25:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.68.156 with HTTP; Mon, 12 Mar 2018 03:25:00 -0700 (PDT) From: "RAJESH KUMAR S.R" Date: Mon, 12 Mar 2018 15:55:00 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] [DPDK-PDUMP] Issue: RING: Cannot reserve memory X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2018 10:25:42 -0000 Hi, I am new to dpdk. I'm trying to use dpdk-pdump tool. I'm able to capture packets on dpdk ports. But, I'm facing the following issue I'm getting a error "RING:Cannot reserve memory" while trying to restart the pdump tool or running 2 instances of pdump. I have also used the rte_eal_cleanup while exiting pdump main function. Output: * sudo /opt/pep/active/bin/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap,tx-dev=/tmp/tx.pcap'* [sudo] password for admin: EAL: Detected 2 lcore(s) EAL: Multi-process socket /var/run/.rte_unix_1061_ce297dfe759 EAL: Probing VFIO support... EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:04.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: Requested device 0000:00:05.0 cannot be used PMD: Initializing pmd_pcap for net_pcap_rx_0 PMD: Creating pcap-backed ethdev on numa socket -1 Port 2 MAC: 00 00 00 01 02 03 PMD: Initializing pmd_pcap for net_pcap_tx_0 PMD: Creating pcap-backed ethdev on numa socket -1 Port 3 MAC: 00 00 00 01 02 03 ^C Signal 2 received, preparing to exit... ##### PDUMP DEBUG STATS ##### -packets dequeued: 4 -packets transmitted to vdev: 4 -packets freed: 0 Restarting........ *> sudo /opt/pep/active/bin/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap,tx-dev=/tmp/tx.pcap'* EAL: Detected 2 lcore(s) EAL: Multi-process socket /var/run/.rte_unix_1073_cea9cc51241 EAL: Probing VFIO support... EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:04.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: Requested device 0000:00:05.0 cannot be used PMD: Initializing pmd_pcap for net_pcap_rx_0 PMD: Creating pcap-backed ethdev on numa socket -1 PMD: Initializing pmd_pcap for net_pcap_tx_0 PMD: Creating pcap-backed ethdev on numa socket -1 Segmentation fault *> sudo /opt/pep/active/bin/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap,tx-dev=/tmp/tx.pcap'* EAL: Detected 2 lcore(s) EAL: Multi-process socket /var/run/.rte_unix_1087_cec3ab006b1 EAL: Probing VFIO support... EAL: WARNING: Address Space Layout Randomization (ASLR) is enabled in the kernel. EAL: This may cause issues with mapping memory into secondary processes EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles ! EAL: PCI device 0000:00:03.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:04.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: PCI device 0000:00:05.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 1af4:1000 net_virtio EAL: Requested device 0000:00:05.0 cannot be used RING: Cannot reserve memory EAL: Error - exiting with code: 1 Cause: File exists:create_mp_ring_vdev:634 Hugepage info: cat /proc/meminfo | grep Huge AnonHugePages: 6144 kB HugePages_Total: 300 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Can you please help me in finding the issue. Thanks, Rajesh kumar S R