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 AC8B2A0521;
	Mon,  3 Aug 2020 03:56:55 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 7A9C62BE1;
	Mon,  3 Aug 2020 03:56:55 +0200 (CEST)
Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178])
 by dpdk.org (Postfix) with ESMTP id 5C3FB2BE1
 for <spp@dpdk.org>; Mon,  3 Aug 2020 03:56:54 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 3A540A053A; Mon,  3 Aug 2020 03:56:54 +0200 (CEST)
From: bugzilla@dpdk.org
To: spp@dpdk.org
Date: Mon, 03 Aug 2020 01:56:54 +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: yamashita.hideyuki@ntt-tx.co.jp
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-LFU7fnKSnF@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 #17 from Hideyuki Yamashita (yamashita.hideyuki@ntt-tx.co.jp) -=
--
Hello Vipin,

I have tried what you said in the following ticket.
https://bugs.dpdk.org/show_bug.cgi?id=3D443#c8

--Result-
  1. Usage of hugepage only changes when primary process started
  2. Usage of hugepage did NOT change with number of secondary=20
  Note that we measured hugepage usage not only measurement by using numast=
at.

What do you think?

0. Initila staete(no primary, no secondary)
grep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 16
HugePages_Rsvd: 0
HugePages_Surp: 0
tx_h-yamashita@R730n10:~$ numastat -s

Per-node numastat info (in MBs):
Node 0 Node 1 Total
--------------- --------------- ---------------
Numa_Hit 1170.66 3359.65 4530.31
Local_Node 678.14 3210.07 3888.21
Other_Node 492.52 149.58 642.10
Interleave_Hit 146.16 143.30 289.46
Numa_Miss 0.00 0.00 0.00
Numa_Foreign 0.00 0.00 0.00
tx_h-yamashita@R730n10:~$ numastat -s|grep spp_
tx_h-yamashita@R730n10:~$ numastat -s|grep spp_p spp_
Found no processes containing pattern: "spp_"

Per-node numastat info (in MBs):
Node 0 Node 1 Total
--------------- --------------- ---------------
Numa_Hit 1171.93 3361.25 4533.18
Numa_Miss 0.00 0.00 0.00
Numa_Foreign 0.00 0.00 0.00
Interleave_Hit 146.16 143.30 289.46
Local_Node 679.41 3211.66 3891.08
Other_Node 492.52 149.58 642.10

1=EF=BC=8EState1(primary started, no secondary)
tx_h-yamashita@R730n10:~$ numastat -p spp_s|gregrep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0
tx_h-yamashita@R730n10:~$ grep HugePages_ /proc/meminfonumastat -p spp_

Per-node process memory usage (in MBs)
Can't read /proc/10178/numa_maps: Permission denied
Can't read /proc/10179/numa_maps: Permission denied

tx_h-yamashita@R730n10:~$ numastat -p spp_sudo
[sudo] password for tx_h-yamashita:

Per-node process memory usage (in MBs)
PID Node 0 Node 1 Total
------------------- --------------- --------------- ---------------
10178 (sudo) 0.67 6.81 7.48
10179 (spp_primary) 1033.96 1030.59 2064.54
10193 (sudo) 0.39 9.16 9.55
------------------- --------------- --------------- ---------------
Total 1035.02 1046.55 2081.57

2=EF=BC=8EState2(primary started, 1 secondary started)

tx_h-yamashita@R730n10:~$ 4sudo numastat p spp_grep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0
tx_h-yamashita@R730n10:~$ grep HugePages_ /proc/meminfosudo numastat -p spp_
Per-node process memory usage (in MBs)
PID Node 0 Node 1 Total
------------------ --------------- --------------- ---------------
10178 (sudo) 0.67 6.81 7.48
10179 (spp_primary) 1033.96 1030.59 2064.55
10213 (sudo) 0.62 6.77 7.40
10214 (spp_nfv) 1024.95 1039.67 2064.61
10219 (sudo) 0.39 7.01 7.39
------------------- --------------- --------------- ---------------
Total 2060.59 2090.85 4151.43

3=EF=BC=8EState3(primary started, 2 secondary started)
tx_h-yamashita@R730n10:~$ sudo numastat -p spp_grep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0

tx_h-yamashita@R730n10:~$ grep HugePages_ /proc/meminfosudo numastat -p spp_

Per-node process memory usage (in MBs)
PID Node 0 Node 1 Total
------------------- --------------- --------------- ---------------
10178 (sudo) 0.67 6.81 7.48
10179 (spp_primary) 1033.96 1030.59 2064.55
10213 (sudo) 0.62 6.77 7.40
10214 (spp_nfv) 1024.95 1039.67 2064.61
10225 (sudo) 0.44 7.04 7.48
10226 (spp_nfv) 1025.09 1039.74 2064.83
10243 (sudo) 0.45 7.04 7.48
------------------- --------------- --------------- ---------------
Total 3086.17 3137.66 6223.83

Thanks!

Best Regards,
Hideyuki Yamashita

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