[spp] [Bug 443] spp primary takes up the complete hugepages

bugzilla at dpdk.org bugzilla at dpdk.org
Mon Aug 3 03:56:54 CEST 2020


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

--- Comment #17 from Hideyuki Yamashita (yamashita.hideyuki at ntt-tx.co.jp) ---
Hello Vipin,

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

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

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 at 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 at R730n10:~$ numastat -s|grep spp_
tx_h-yamashita at 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.State1(primary started, no secondary)
tx_h-yamashita at R730n10:~$ numastat -p spp_s|gregrep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0
tx_h-yamashita at 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 at 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.State2(primary started, 1 secondary started)

tx_h-yamashita at R730n10:~$ 4sudo numastat p spp_grep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0
tx_h-yamashita at 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.State3(primary started, 2 secondary started)
tx_h-yamashita at R730n10:~$ sudo numastat -p spp_grep HugePages_ /proc/meminfo
HugePages_Total: 16
HugePages_Free: 14
HugePages_Rsvd: 0
HugePages_Surp: 0

tx_h-yamashita at 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

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


More information about the spp mailing list