DPDK usage discussions
 help / color / mirror / Atom feed
From: Crane Chu <cranechu@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] memzone reserve 2GB memory fail in dynamic memory mode
Date: Sat, 1 Dec 2018 17:03:35 +0800	[thread overview]
Message-ID: <CAPtQi4SsHt+5vUT=zvO6e7FjG42WqZw0htp3oai9OAUJo4dXYQ@mail.gmail.com> (raw)

Hi,

In my DPDK/SPDK application, it needs a large contiguous memory (2GB or
even much larger) given enough memory pre-allocated. It works fine with
DPDK before v18.05.

Now, I want to upgrade DPDK to v18.10, which includes the reworked memory
subsystem. In legary mode, rte_memzone_reserve_aligned can still reserve
the memory successfully, and the application works fine.

However, in new dynamic mode, rte_memzone_reserve_aligned(... 2GB,
..., RTE_MEMZONE_IOVA_CONTIG) fails always. So, in dynamic memory mode of
the reworked memory subsystem, is it possible to allocate the large
contiguous memzone? Is there any special configuration required?

Thanks,
-Crane

                 reply	other threads:[~2018-12-01  9:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAPtQi4SsHt+5vUT=zvO6e7FjG42WqZw0htp3oai9OAUJo4dXYQ@mail.gmail.com' \
    --to=cranechu@gmail.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).