From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by dpdk.org (Postfix) with ESMTP id 8AE8F2C6E for ; Tue, 22 Mar 2016 21:21:29 +0100 (CET) Received: by mail-yw0-f178.google.com with SMTP id h129so269429750ywb.1 for ; Tue, 22 Mar 2016 13:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=S1vQF4gOgqBglLS0IViPacIhASA/1IldeNIQj/+sgYQ=; b=usjzd4BmXKkfwB3C1KROgBOA+uJxtyxrdfhXOrwWq3p+G4ooIg+gN7B/A/8vmaZnVQ nll9T//JPcf8GsmIHuq0c1qxu2vCC2si5ECHRCqPHAOL5M91wn197u8R82olMVGndvvI Uta4mmzro+v+X+qhBwiVcIxW8ocpceLGJVB9jevbXavRaUKisjhAr/7LHtGQzd0hbUwI S4mN9sVFWbwhp2ssYshQSwV2BxMLqRcj7HuGzJlqQafyKwZxwG0CCpajXjRdSeA83Ki6 BSC90GRdV88FOeOR7Csul7e+QvFmFXgTqdTqg1sXlxeu0PlV7ha2VhLdWhphfp76o0fs yUlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=S1vQF4gOgqBglLS0IViPacIhASA/1IldeNIQj/+sgYQ=; b=dymr82vdR/J7fePvZkgkqAKIvcYpmqaRJVM6cITJEX27Q0e7fO8o+VjE9/j+JE6S/S uctBOh0N+WFstvAMPjyGJuEgN9zzrwh7Qju2VybEgp3I9nTzvAaFguc7JvzkxuCkwgDd /iUB5OiGPEvylZSJ9zWXBuKjG/oBW/vsSx5oiV3r9czTakPaN36TIIBj9bM5IHBN5Jy7 kCThSwi1W7Lf8rRZvGFuXN61yF1IR2kVELVQJcglcXdhuVSXASKYq9TgHQ/LqEVwOQ1U OuihkD5vc2on6WSIwMOldxSc7TycLVTA2KKWVHB4+1RbRJdT9SFZpE/8X0RCRE+baE1c eI6w== X-Gm-Message-State: AD7BkJLSMYheK0g/eL1OlWCwKvCk7GCfbKymPgwh4bh5aRu7QUWx/7NBF6jhuUQyP9Oz3tipiIQMj/IOrfkakw== MIME-Version: 1.0 X-Received: by 10.129.71.135 with SMTP id u129mr20054597ywa.162.1458678088971; Tue, 22 Mar 2016 13:21:28 -0700 (PDT) Received: by 10.13.255.6 with HTTP; Tue, 22 Mar 2016 13:21:28 -0700 (PDT) Date: Tue, 22 Mar 2016 22:21:28 +0200 Message-ID: From: Kevin Wilson To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] Error when starting testpmd in dpdk 2.2.0 ("Creation of mbuf pool for socket 0 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: Tue, 22 Mar 2016 20:21:29 -0000 Hi, I am getting the following error while running testpmd: RING: Cannot reserve memory EAL: Error - exiting with code: 1 Cause: **** Creation of mbuf pool for socket 0 failed I am running it thus: build/app/testpmd --log-level 8 -c7 -n3 -- \ -i --nb-cores=2 --nb-ports=2 --pkt-filter-mode=perfect And I followed the instruction on http://dpdk.org/doc/quick-start However, on my machine, as opposed to what appears in the link above, there is no /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepage , and under /sys/devices/system/node I have only a single node called "node1". I don't know what is the reason for this, this is Fedora 23 x86_64 standard distro and a standard kernel (4.2.3-300.fc23.x86_64), and on a different machine I **do** have node0. So instead echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages I run echo 64 > /sys/devices/system/node/node1/hugepages/hugepages-2048kB/nr_hugepages Could this be related somehow to the problem I have ? More info: This is a 16 core machine. I also delved a bit into the code and added a debug message which prints the pool name in the method where the failure occur, mbuf_pool_create(), and this is what I see: calling rte_pktmbuf_pool_create(), pool_name=mbuf_pool_socket_0 in mbuf_pool_create Any ideas ? Regards, Kevin