Soft Patch Panel
 help / color / Atom feed
From: bugzilla@dpdk.org
To: spp@dpdk.org
Subject: [spp] [Bug 443] spp primary takes up the complete hugepages
Date: Wed, 05 Aug 2020 05:52:18 +0000
Message-ID: <bug-443-394-VxjhlvwXzX@http.bugs.dpdk.org/> (raw)
In-Reply-To: <bug-443-394@http.bugs.dpdk.org/>

https://bugs.dpdk.org/show_bug.cgi?id=443

--- Comment #22 from Vipin Varghese (vipin.varghese@intel.com) ---

I understand that this ticket is related with "hugepage usage" as ticket title
tells.
[VV] thanks for agreeing

I understand that hugepage usage does NOT increase regardless of number of
secondary process.
[VV] thanks for confirming the same.

The following is the result
- hugepage in system is 16G
[VV] are you stating the SPP requires 16GB of memory as hugepages to work. Only
place mentioning about memory is
`https://doc.dpdk.org/spp/setup/getting_started.html#setup`. 

problem-1: But here it is contracting with `1GB is 8` and with `2MB is 1024`.
this is the first concern there is no minimum requirement.

problem-2: Without setting lower limit via `--socket-mem` and upper limit
`--socket-limit`, other DPDK applciations can consume the huge pages leading to
exhgaustation of pages.

probelm-3: Earlier interactions from `Masahiro Nemoto` and `Hideyuki Yamashita`
did not see change in huge page or allocation of memory from secodnary from the
day ticket being opened (2020-04-06 08:25:15). But I am happy to udnerstand
that we all agree starting secondary leads to 1GB consumption.

In my humble opinion right actions for better use of SPP and SPP community
would be to

a. confirm this has been present in earlier and current releases.

b. update documentation in minimum memory requirement for running priamry and
secondaries.

c. update documentation minimum memory utilziation for launching secodnaries is
1GB each.

d. edit the start or EAL-ARGS to reflect the based on user configuration (1GB
for priamry + 1GB * n secondaries)

e. updating eal-args of spp_primary with socket-limit to prevent using more
than `1GB for priamry + 1GB * n secondaries.

Please feel free if you have difference in opinion.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply index

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06  6:25 bugzilla
2020-04-07  8:29 ` bugzilla
2020-04-07 10:33 ` bugzilla
2020-04-08  8:23 ` bugzilla
2020-04-09  8:41 ` bugzilla
2020-04-09 10:20 ` bugzilla
2020-04-17  8:25 ` bugzilla
2020-04-19  6:50 ` bugzilla
2020-04-19  6:55 ` bugzilla
2020-04-19  6:56 ` bugzilla
2020-04-19  6:56 ` bugzilla
2020-04-23  2:00 ` bugzilla
2020-04-23  2:23 ` bugzilla
2020-04-28  4:06 ` bugzilla
2020-07-10  7:24 ` bugzilla
2020-07-20  1:12 ` bugzilla
2020-07-28  4:00 ` bugzilla
2020-07-29  0:47 ` bugzilla
2020-08-03  1:56 ` bugzilla
2020-08-03  4:49 ` bugzilla
2020-08-04  0:27 ` bugzilla
2020-08-04  1:47 ` bugzilla
2020-08-05  4:55 ` bugzilla
2020-08-05  5:52 ` bugzilla [this message]
2020-08-20  2:15 ` bugzilla
2020-08-25 11:53 ` bugzilla

Reply instructions:

You may reply publically 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=bug-443-394-VxjhlvwXzX@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=spp@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

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.spp


AGPL code for this site: git clone https://public-inbox.org/ public-inbox