From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f175.google.com (mail-ot0-f175.google.com [74.125.82.175]) by dpdk.org (Postfix) with ESMTP id E995B1B65D for ; Sat, 23 Dec 2017 22:44:57 +0100 (CET) Received: by mail-ot0-f175.google.com with SMTP id i1so27699040oth.9 for ; Sat, 23 Dec 2017 13:44:57 -0800 (PST) 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=NbvSisyi2jtJahWEjfRVIMgePeme411Fil+zfV5zFBs=; b=ZzLkIJC7aQcpsfwVmM70I17O3Nv//AGZetZjUgcY1IluTTBD/qmpZ1TCOj0ubxmQ3I T4W/AnuOe2LvVeDZcbCKVdqOno0904mw1YtxKR2MRfo82vnvOzMn3BAKe2gPbxVGpsbP sjW6E1xUz4hmGXsuVw4Vsq4Ojzrpd0qtIYM5ebAjcGSpbZZtIgVAXwLzc1iYEDkV75rx 3A8YYDaK4+3iqOxFIsAu3o9bds9ALOrnlghfRL0og7HgPoVCI5DZ1a3hhn3zl0O+pRMQ rmeKAQnWZT6twoDlhXzJ2ZeHbCqxCczrq/eLPMy1bqfRYMkMx+jdB9cZbqo0S6UHshsR MlkA== 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=NbvSisyi2jtJahWEjfRVIMgePeme411Fil+zfV5zFBs=; b=QB93MdJrQeQtdyy72xm2hJk+liWRuRn9kgewYKBc1L+I0lxY9vTU/bRlhe7n+4hoEl WVYRkopwxNwSSS3qtQvhmdzQyEGa+6E0RhWHfyM2KAp99ikAKSjrlNWwwW2zMefM/qMh +R8Zk3j5w0MHQl/SJyS4B0bxX3Wv0+GjzFHEwKZ0q9Vc5zeRF/8xiwK6uA6y3No3Fmkd siTtTcLIPub8I/Xg3IFHbPgAHkgx6wmJydvy552GKS2A3Gpd6xeHFw4pCBSu76E8Mtg8 WVMTr+UZowRYaBG08JB0SeC9lFtV4F5QhNepXOAR1VfKgA5DYE/uEbFU7kNSr3APtdUC xfbg== X-Gm-Message-State: AKGB3mJrDgXQUzflczp6YlNu5cObtN6DOszdzC/6sIBDAnUIJOgxI0Tf j+Ji0AlhfENvrzYBVvO7I+lS12m2NabKrwydHREjqbRD X-Google-Smtp-Source: ACJfBotxh7bM9ZiWr8YNVFcMzEKrX3ID1IvXZxLM5yl673XRVAuQ+0uXLEQXJwJb9gB8207fDkwOaUuS940bETnR40w= X-Received: by 10.157.74.52 with SMTP id h49mr14294121otf.308.1514065497073; Sat, 23 Dec 2017 13:44:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.36.202 with HTTP; Sat, 23 Dec 2017 13:44:56 -0800 (PST) From: gyp sud Date: Sat, 23 Dec 2017 16:44:56 -0500 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] No free hugepages reported in hugepages when running DPDK helloworld example 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: Sat, 23 Dec 2017 21:44:58 -0000 I downloaded and built dpdk-stable-16.11.4 version (using x86_64-native-linuxapp-gcc target). I'm running Ubuntu 16.04.3 LTS. After setting up hugepages according to http://dpdk.org/doc/quick-start or http://dpdk.org/doc/guides-16.04/linux_gsg/sys_reqs.html mkdir -p /mnt/huge mount -t hugetlbfs nodev /mnt/huge echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages I can see the hugepages fine. #cat /proc/meminfo | grep HugeAnonHugePages: 284672 kB ShmemHugePages: 0 kB HugePages_Total: 64 HugePages_Free: 64 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB But when I run the helloWorld example, it complained about no free hugepages, see below. #./build/helloworld -l 0-3 -n 2 EAL: Detected 4 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... hello from core 1 hello from core 2 hello from core 3 hello from core 0 Also, the memory info showed free hugepages were all gone. #cat /proc/meminfo | grep Huge AnonHugePages: 380928 kB ShmemHugePages: 0 kB HugePages_Total: 64 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Any idea why this is happening? Gyp