From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <spp-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 627EDA052B;
	Wed, 29 Jul 2020 02:47:25 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 33CD1F04;
	Wed, 29 Jul 2020 02:47:25 +0200 (CEST)
Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178])
 by dpdk.org (Postfix) with ESMTP id 8354FF04
 for <spp@dpdk.org>; Wed, 29 Jul 2020 02:47:24 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 5A1D7A0542; Wed, 29 Jul 2020 02:47:24 +0200 (CEST)
From: bugzilla@dpdk.org
To: spp@dpdk.org
Date: Wed, 29 Jul 2020 00:47:24 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: SPP
X-Bugzilla-Component: main
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: critical
X-Bugzilla-Who: vipin.varghese@intel.com
X-Bugzilla-Status: CONFIRMED
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: High
X-Bugzilla-Assigned-To: yasufum.o@gmail.com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-443-394-rA8Uj8zYSM@http.bugs.dpdk.org/>
In-Reply-To: <bug-443-394@http.bugs.dpdk.org/>
References: <bug-443-394@http.bugs.dpdk.org/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
Subject: [spp] [Bug 443] spp primary takes up the complete hugepages
X-BeenThere: spp@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Soft Patch Panel <spp.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/spp>,
 <mailto:spp-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/spp/>
List-Post: <mailto:spp@dpdk.org>
List-Help: <mailto:spp-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/spp>,
 <mailto:spp-request@dpdk.org?subject=subscribe>
Errors-To: spp-bounces@dpdk.org
Sender: "spp" <spp-bounces@dpdk.org>

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

--- Comment #16 from Vipin Varghese (vipin.varghese@intel.com) ---
Hi Hideyuku,

Please find the information which show cases how hugepage is dynamically
consumed in SPP

```
Vipin Varghese 2020-04-19 08:50:36 CEST
Hi Hideyuki,

I am not sure, whether it's the download or the missing information in the
documentation.=20

URL: https://doc.dpdk.org/spp/setup/getting_started.html#setup
DPDK version: mainline from git
SPP version: spp-19.11.zip


Observation: Primary is resource allocator (huge page), without secondary it
consumes 1Gb (1 page from the hugepage). Starting of secondary without
```socket-limit``` it is free to consume next huge page.

Memory Usage:
# numastat -p spp_

Per-node process memory usage (in MBs)
PID                           Node 0          Node 1           Total
-------------------  --------------- --------------- ---------------
15191 (gdb)                    54.12            3.23           57.35
15201 (spp_primary)          1040.76            2.12         1042.88
15208 (spp_nfv)              1039.82            2.29         1042.11
-------------------  --------------- --------------- ---------------
Total                        2134.70            7.64         2142.34
```

Please note this is confirmed and shared on `2020-04-19 08:50:36` in the sa=
me
ticket.=20

`SPP rarely allocates memory in dynamically and thus SPP document guides us=
ers
to allocate enough memory by using "--socket-mem" option`.=20
[request] Can you please confirm you are not seeing this.

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