DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Sarthak Ray <sarthak_ray@outlook.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Mempool allocation fails on first boot; but succeeds after system reboot
Date: Wed, 17 Aug 2016 08:39:48 -0700	[thread overview]
Message-ID: <20160817083948.5024edec@xeon-e3> (raw)
In-Reply-To: <MAXPR01MB031505ED7323F2170688600E9F140@MAXPR01MB0315.INDPRD01.PROD.OUTLOOK.COM>

On Wed, 17 Aug 2016 13:10:35 +0000
Sarthak Ray <sarthak_ray@outlook.com> wrote:

> Hi,
> 
> I am using dpdk-2.1.0 for a platform appliance, where I am facing issue with mempool allocation.
> 
> On the firstboot of the newly installed appliance, my dpdk application is not coming up saying failure in mbuf allocation on socket 0. But once I reboot the system, it comes up without any issues.

How big is the huge page memory on the system?
On initial boot, the free memory is usually contiguous after a lot of programs
run it gets fragmented.  You can configure grub command line to reserve huge pages
before userspace starts; see kernel documentation Documentation/vm/hugepages.txt

  reply	other threads:[~2016-08-17 15:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 13:10 Sarthak Ray
2016-08-17 15:39 ` Stephen Hemminger [this message]
2016-08-18 13:42   ` Sarthak Ray

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=20160817083948.5024edec@xeon-e3 \
    --to=stephen@networkplumber.org \
    --cc=sarthak_ray@outlook.com \
    --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).