From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by dpdk.org (Postfix) with ESMTP id 9232A5598 for ; Thu, 29 Dec 2016 07:25:30 +0100 (CET) Received: by mail-qk0-f172.google.com with SMTP id n21so258997615qka.3 for ; Wed, 28 Dec 2016 22:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=/SVzIfjNJ8qu0jnsMFOKgVU3SpWMpQdlXmNrMvKMSbc=; b=G7JGtkpYrt2GXfubMYdk49LIoYBvBvUk05fiZBnAS6G/2ggEklh9/jaqfNBxWF7SOJ cz/8sIrqtaozqRwmCUGHqxACJ+TQpU6IF2+f4UBrYf5rTH/40HlXImaqt4MrRvl3QQfJ 1OWbn24QZplASKu18wBXWcEpqNUVIkZRLfvKhqYHWMIGBYgQNbqAZ//kLTHoj6sDlKOo sGrByAv4Z6frcDeTGJViTQSO7W014LSDOiTg3fHW/A0RyuJcSB/bCwl8r4yEKLWt7ov7 Jj27/MHoHLHC9w14AIUvsv1L2l3nOPAfoVPa/ecVb6Af9cNdU8ZOvXgmj4LdvoUt6VdO XcPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=/SVzIfjNJ8qu0jnsMFOKgVU3SpWMpQdlXmNrMvKMSbc=; b=GX+ja2g3RDueIno27higDZs9VpiUCM+BNwKP8NdCSJx/fVs6NcmNoC3EwZctXdOzZA gDKoRabSKzuDHig9jG4YIIOD4JnLV+bdrxubgtTz34veLRWtvAdxzlXZikyOplRPHRtC vlH4ChpKMP+x2nAw4Gl7cxhVTJRViKAJHopUTE23qxRm/zQiVAz2vOoA2m8KVNanWdk7 xexgAeta187UelFxpBaFMTnZg1nLYNIkAtVKUgQpbafQouYfQy34GUqQOfuM+M3vLe3s O5uO6XshK169xilvia6HBib7o+1agaWmLgzSdQz5p3j/pf54sUr0bmL6V/U0JfrdKhAW OCWw== X-Gm-Message-State: AIkVDXIamAbYZs12IEHDN8rmXK7Zc8IWRYQKV2wrx6EG6aBH343LkHJNWKwVTBRF9I6zYohidmfS5iJVEKfpTw== X-Received: by 10.55.10.4 with SMTP id 4mr4023866qkk.22.1482992729713; Wed, 28 Dec 2016 22:25:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.18.197 with HTTP; Wed, 28 Dec 2016 22:25:29 -0800 (PST) From: Marco Kwok Date: Thu, 29 Dec 2016 14:25:29 +0800 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] Cannot run Quick Start on ubuntu16.04.1 VM X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: maruko.kwok@gmail.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2016 06:25:30 -0000 Hello all, I am running vmware workstation for ubuntu 16.04.1. Following the guide here: http://dpdk.org/doc/quick-start everything is fine until this line: > echo 64 > /sys/devices/system/node/node0/hugepages/hugepages- > 2048kB/nr_hugepages I got permission denied even with sudo, so I get through it with: > sh -c "echo 64 > /sys/devices/system/node/node0/hugepages/hugepages- > 2048kB/nr_hugepages" Then I want to start the program testpmd and I found the argument of this line is not supported: > -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=2048 With this command to start the testpmd(my card is not eth0 and eth1 but ens33 and 38 instead): sudo build/app/testpmd -c7 -n3 --vdev=eth_pcap0,iface=ens33 --vdev=eth_pcap1,iface=ens38 EAL: Detected 4 lcore(s) > > EAL: No free hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > PMD: Initializing pmd_pcap for eth_pcap0 > > PMD: Creating pcap-backed ethdev on numa socket 0 > > PMD: Initializing pmd_pcap for eth_pcap1 > > PMD: Creating pcap-backed ethdev on numa socket 0 > > PMD: bnxt_rte_pmd_init() called for (null) > > EAL: PCI device 0000:02:01.0 on NUMA socket -1 > > EAL: probe driver: 8086:100f rte_em_pmd > > EAL: PCI device 0000:02:06.0 on NUMA socket -1 > > EAL: probe driver: 8086:100f rte_em_pmd > > USER1: create a new mbuf pool : n=163456, size=2176, >> socket=0 > > EAL: Error - exiting with code: 1 > > Cause: Creation of mbuf pool for socket 0 failed: Cannot allocate memory > > Does anybody know how I could get through this? Best Regards, Mark