DPDK usage discussions
 help / color / mirror / Atom feed
From: Byonggon Chun <byonggonchun@gmail.com>
To: "bg.chun@samsung.com" <bg.chun@samsung.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Hugepages does not release after DPDK-App termination.
Date: Wed, 4 Sep 2019 20:59:52 +0900	[thread overview]
Message-ID: <CACh8f0NpaJb0iLbrkKAe0v=Wa+sU-1=eZ7k+=98mx3WaOMSJGg@mail.gmail.com> (raw)

Hi, Forks.



I found that the hugepages which took by DPDK lib did not release, after
the termination of dpdk-app .

Is this an intended behavior of DPDK so that should I give an option to
DPDK?

For more details, I pre-allocated 5 of 1GB hugepages per socket; I ran a
sample on a 2-socket machine.

Before running DPDK-app, each socket had five free hugepages.

When a DPDK-app(testpmd or eventdev_pipeline) running on socket 0, one of
the 1GB hugepages was consumed by DPDK lib on a socket 0.

(so 4 of 1GB hugepages remained on socket 0 as free hugepages)

After termination of DPDK-app, I expected that the 5 of 1GB hugepages would
available on socket 0.

But only 4 of 1GB hugepages were available on socket 0.

Below is more information about my server and configuration.

-The machine has 1GB NIC on socket 0

-set 5 of 1GB-Hugepages per socket

-modprobe uio & insmod igb_uio

-bind port to igb_uio

I'm running DPDK samples in a following way:

sudo ./testpmd -l 2,42,3,43 -n 4 -- -i --portmask=0x1

sudo ./eventdev_pipeline --vdev event_sw0 -- -r1 -t1 -e4 -w FF00 -s4 -n0
-c32 -W1000 -D

Thank you.

                 reply	other threads:[~2019-09-04 12:00 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='CACh8f0NpaJb0iLbrkKAe0v=Wa+sU-1=eZ7k+=98mx3WaOMSJGg@mail.gmail.com' \
    --to=byonggonchun@gmail.com \
    --cc=bg.chun@samsung.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).