DPDK usage discussions
 help / color / mirror / Atom feed
From: Sourav Roy <srvroy01@yahoo.in>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Introduction to DPDK
Date: Mon, 12 Jun 2017 09:11:34 +0000 (UTC)	[thread overview]
Message-ID: <1064996715.8932363.1497258694049@mail.yahoo.com> (raw)
In-Reply-To: <1064996715.8932363.1497258694049.ref@mail.yahoo.com>

Hi Team,            I have taken up a project on DPDK very recently, with a prerequisite knowledge of basic computer networking.I have installed the DPDK libraries in my laptop following the instructions in the DPDK getting started guide. But I am facing a difficulty in picking up the basic things and debugging errors that pop up during running the sample applications. I would like to know where exactly I should start so that I can have a clear concept of what I am doing and move further.            I would be grateful if someone suggests me the right way to start and carry out the project since I am an absolute beginner in this field.Thanking You.Sourav Roy.
From marco.varlese@suse.com  Mon Jun 12 16:15:37 2017
Return-Path: <marco.varlese@suse.com>
Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5])
 by dpdk.org (Postfix) with ESMTP id 31B633DC;
 Mon, 12 Jun 2017 16:15:37 +0200 (CEST)
Received: from emea4-mta.ukb.novell.com ([10.120.13.87])
 by smtp.nue.novell.com with ESMTP (TLS encrypted);
 Mon, 12 Jun 2017 16:15:36 +0200
Received: from linux-yk3w.homenet.telecomitalia.it
 (nwb-a10-snat.microfocus.com [10.120.13.202])
 by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted);
 Mon, 12 Jun 2017 15:15:10 +0100
Message-ID: <1497276908.3084.37.camel@suse.com>
From: Marco Varlese <marco.varlese@suse.com>
To: "users@dpdk.org" <users@dpdk.org>, dev@dpdk.org
Date: Mon, 12 Jun 2017 16:15:08 +0200
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.20.5
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-users] Problem with MBUF pool allocation
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Jun 2017 14:15:37 -0000

Hi,
I'm seeing an error reported by the DPDK EAL when allocating the MBUF pools.

The error is:
"MBUF: error setting mempool handler"

I have a multi-node NUMA system and I get the exact same error when trying to
allocate the memory from the different nodes. 

The bootstrap parameters I use to reserve huge-pages are:
"default_hugepagesz=1G hugepagesz=1G hugepages2"

If I check the available huge-pages in my systems they look Ok (see below).
fromm:~/:[130]# cat /proc/meminfo 
MemTotal:       263470432 kB
MemFree:        228408660 kB
MemAvailable:   227792692 kB
Buffers:            2148 kB
Cached:           229132 kB
SwapCached:            0 kB
Active:           113424 kB
Inactive:         150148 kB
Active(anon):      33508 kB
Inactive(anon):     1912 kB
Active(file):      79916 kB
Inactive(file):   148236 kB
Unevictable:          80 kB
Mlocked:              80 kB
SwapTotal:       2104316 kB
SwapFree:        2104316 kB
Dirty:               624 kB
Writeback:             0 kB
AnonPages:         33216 kB
Mapped:            60232 kB
Shmem:              2388 kB
Slab:             185240 kB
SReclaimable:      46320 kB
SUnreclaim:       138920 kB
KernelStack:       22592 kB
PageTables:         3000 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    117062316 kB
Committed_AS:     241992 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
HugePages_Total:      32
HugePages_Free:       32
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:    1048576 kB
DirectMap4k:      317756 kB
DirectMap2M:    11014144 kB
DirectMap1G:    258998272 kB

Any idea / help would be much appreciated.


Thanks,
Marco

           reply	other threads:[~2017-06-12  9:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1064996715.8932363.1497258694049.ref@mail.yahoo.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1064996715.8932363.1497258694049@mail.yahoo.com \
    --to=srvroy01@yahoo.in \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).