DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Matthew Hall <mhall@mhcomputing.net>
Cc: Thomas Monjalon <thomas.monjalon@6wind.com>,
	"dev@dpdk.org" <dev@dpdk.org>, Nikita Kozlov <nikita@gandi.net>
Subject: Re: [dpdk-dev] LPM6 next hop size
Date: Wed, 21 Sep 2016 22:07:46 -0700	[thread overview]
Message-ID: <CAOaVG16YuP9R6CSZqSFR=mgHkOauB0dMvAwr12PABcnt5poW4g@mail.gmail.com> (raw)
In-Reply-To: <20160922015034.GA10277@mhcomputing.net>

If you have 2G of huge memory and one 16M routes then the rules start to
kill an application.
Since huge memory is unpageable (pinned) then it is limited.

On Wed, Sep 21, 2016 at 6:50 PM, Matthew Hall <mhall@mhcomputing.net> wrote:

> On Wed, Sep 21, 2016 at 04:42:05PM -0700, Stephen Hemminger wrote:
> > This was intentional because rte_malloc comes out of huge page area and
> that
> > resource is a critical resource. It could use rte_malloc() but that
> makes it
> > more likely to break when doing Policy Based routing or VRF.
>
> Can we get more clarity on why PBR or VRF would break it? The performance
> and
> fragmentation of the default glibc allocator are quite bad. So I am trying
> to
> avoid it in my app for example.
>
> Matthew.
>

  reply	other threads:[~2016-09-22  5:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-19 20:04 Shyam Sundar Govindaraj
2016-09-19 21:18 ` Nikita Kozlov
2016-09-19 21:22   ` Matthew Hall
2016-09-20 20:11     ` Thomas Monjalon
2016-09-21 17:29       ` Matthew Hall
2016-09-21 19:37         ` Thomas Monjalon
2016-09-21 23:42         ` Stephen Hemminger
2016-09-22  1:50           ` Matthew Hall
2016-09-22  5:07             ` Stephen Hemminger [this message]
2016-09-22 17:55               ` Matthew Hall
2016-09-22 18:09                 ` Stephen Hemminger
2016-09-22 20:32         ` Nikita Kozlov

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='CAOaVG16YuP9R6CSZqSFR=mgHkOauB0dMvAwr12PABcnt5poW4g@mail.gmail.com' \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=mhall@mhcomputing.net \
    --cc=nikita@gandi.net \
    --cc=thomas.monjalon@6wind.com \
    /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).