From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by dpdk.org (Postfix) with ESMTP id 815819E3 for ; Tue, 20 Jun 2017 10:57:11 +0200 (CEST) Received: by mail-qk0-f177.google.com with SMTP id g83so52226607qkb.3 for ; Tue, 20 Jun 2017 01:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tkHUv2v5dzkflRUPOZVxHslpsBamMVjvC/vEH3PZ6sw=; b=tyjdDq7N2WZbAYS6g08iEsUrYrf0nw8F4VYxbXwcC3Lczjs/E1gvSsKBWqVAGp5020 5rJpA1+Cp3PGbOn1776oGsY5xg8mYn0+59uueQG9j9X/uvwvC7ehJJT4OHDvgnDFFFWV jq1nOeqwme5DW8MixhB1wKU2gfxNi6WJgNkNLZccVgHc9XnHnmFdo1rZzV+B3rnEtxCI kq9P2rWrQ7eg4Zt4ygx7pwYIjg6pLdsA4P8I1DE6PaJ7ATSWxKwP1vjj8O/tjNpfvqWS g/qSi+A3iawdSLA9NkM9A9pzyZbgIKxU0ACBewE6nDZ3rU3nymnLZGaHrWFN65ALmdnX wgmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tkHUv2v5dzkflRUPOZVxHslpsBamMVjvC/vEH3PZ6sw=; b=DiBoOb/lAjvh3qi7XRewegYBlOB+8pXQ8rewO1hJL/AMeQKIvIczvzfKBQqpQIw849 OguXr/rHlbDzqHPGRGbyVg8SLylE47BDKs+ojrNiUYarph1TvbfDIbY7RJyYC/GzW/ek taJidqnzqIfpiRjt/FT3hrNUsw/ZG4gIl3N3xG0fL88kQKPCk/gZCVvac2gKYEh7qi8P Pez8/J97BpdIF5GoZfGa9NR16K4A96tm8olGnW+kYqelFlR4Ay8hGv2c7X8v5xPkqVaa /7xyjO9KRL5u0pPjgknbw/ZWBuaGPtN1ajzYbC1xRhHu8iGPnQ6MHMutjlc85PEG62xg h1EQ== X-Gm-Message-State: AKS2vOy4nOWrtBFG0M2bF7yf6sDr51FSSm6lnVErIyzAsM8h7PuA/UUw tdxrWVWvr8hlhvqd8qlEUMrigCyUwTeD X-Received: by 10.55.157.198 with SMTP id g189mr3395960qke.241.1497949030813; Tue, 20 Jun 2017 01:57:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.72.83 with HTTP; Tue, 20 Jun 2017 01:57:10 -0700 (PDT) In-Reply-To: References: From: Paul Tsvika Date: Tue, 20 Jun 2017 16:57:10 +0800 Message-ID: To: Shreyansh Jain Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Run testpmd application and encountered no free page issues 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: Tue, 20 Jun 2017 08:57:11 -0000 Hi Shreyansh, Thanks for the reply. By using the set-up script in DPDK: the hugepage memory looks to be allocated properly: cat /proc/meminfo HugePages_Total: 240 HugePages_Free: 240 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB and then i run the commands below in sequence: $ sudo modprobe uio $ sudo insmod ./build/kmod/igb_uio.ko $ sudo ./usertools/dpdk-devbind.py -b igb_uio xxx:xx.0 xxx:xx.1 ( xxx.xx.0, xxx.xx.1 <-- 10G port pci address ) $ sudo ./build/app/testpmd -l 1,2,3 -n 2 -- -i EAL: Detected 16 lcore(s) *EAL: No free hugepages reported in hugepages-1048576kB* EAL: Probing VFIO support... EAL: VFIO support initialized *EAL: PCI device 0000:03:00.0 on NUMA socket 0* *EAL: probe driver: 8086:15ad net_ixgbe* *EAL: PCI device 0000:03:00.1 on NUMA socket 0* *EAL: probe driver: 8086:15ad net_ixgbe* EAL: PCI device 0000:05:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:05:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb Interactive-mode selected USER1: create a new mbuf pool : n=163456, size=2176, socket=0 Configuring Port 0 (socket 0) PMD: ixgbe_dev_link_status_print(): Port 0: Link Down Port 0: 00:25:90:5C:E9:58 Configuring Port 1 (socket 0) PMD: ixgbe_dev_link_status_print(): Port 1: Link Down Port 1: 00:25:90:5C:E9:59 Checking link statuses... Done testpmd> Questions below: 1. It looks like the application can enter the interactive mode. however, I have no idea why *EAL: No free hugepages reported in hugepages-1048576kB *keeps popping out. 2. Is there any reason why the ports went down why I run the commands? The Link was up before running it. 3. The hugepage will be gone after running this application. HugePages_Total: 240 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB It became this. However, how can i free it again ? I tried to umount and mount again but it did not work. Please advice if any. Paul