File tree Expand file tree Collapse file tree 3 files changed +41
-8
lines changed
Expand file tree Collapse file tree 3 files changed +41
-8
lines changed Original file line number Diff line number Diff line change 11if (GPVAL_VERSION >= 5.0 ) set for [i=1 : 8 ] linetype i dashtype i
22if (GPVAL_VERSION < 5.0 ) set termoption dashed
33
4+ print " Statistical Data for Memory Allocation on JavaVM "
5+ stats ' data/NcsJVMLauncher/mem_NcsJVMLauncher.log' using 3
6+
7+ print " Statistical Data for Memory Allocation on PythonVM(Total)"
8+ stats ' data/python3/mem_total.log' using 3
9+
10+ print " Statistical Data for Memory Allocation on ncs.smp"
11+ stats ' data/ncs.smp/mem_ncs.smp.log' using 3
12+
13+ print " Statistical Data for Commited_AS"
14+ stats ' data/python3/mem_total.log' using 4
15+ print " Recommended CommitLimit: " ,STATS_max
16+ print " Please add some buffer range based on the Recommended CommitLimit"
17+
418set term png small size 800 ,600
519set output " graphs/compare/mem-graph-compare-allocate.png"
620
@@ -24,8 +38,6 @@ set format x '%H:%M:%S'
2438
2539show style line
2640
27-
28-
2941plot " data/python3/mem_total.log" using 1 :5 with lines axes x1 y1 lc ' red' lw 2 title " CommitLimit" , \
3042 " data/python3/mem_total.log" using 1 :4 with lines axes x1 y1 title " Commited_AS" , \
3143 " data/ncs.smp/mem_ncs.smp.log" using 1 :3 with lines axes x1 y1 title " ncs.smp" , \
Original file line number Diff line number Diff line change 11if (GPVAL_VERSION >= 5.0 ) set for [i=1 : 8 ] linetype i dashtype i
22if (GPVAL_VERSION < 5.0 ) set termoption dashed
33
4+ print " Statistical Data for Memory Consumption on JavaVM Used"
5+ stats ' data/NcsJVMLauncher/mem_NcsJVMLauncher.log' using 2
6+
7+ print " Statistical Data for Memory Consumption on PythonVM(Total) Used"
8+ stats ' data/python3/mem_total.log' using 2
9+
10+ print " Statistical Data for Physical Memory Consumption on ncs.smp Used"
11+ stats ' data/ncs.smp/mem_ncs.smp.log' using 2
12+
13+ print " Statistical Data for Commited_AS"
14+ stats ' data/python3/mem_total.log' using 4
15+ print " Recommended CommitLimit: " ,STATS_max
16+ print " Please add some buffer range based on the Recommended CommitLimit"
17+
18+
419set term png small size 800 ,600
520set output " graphs/compare/mem-graph-compare-rss.png"
621
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ echo " ====================================== Collection for for all process ====================================================="
34bash collect.sh ncs.smp $1 &
45bash collect.sh NcsJVMLauncher $1 &
56bash collect.sh python3 $1 &
67wait
7- echo " ===================================== Collection for for all process done ================================================="
8- echo " \n\n"
8+ echo " ===================================== Collection for for all process done =================================================\n\n"
99
1010
11+ echo " ====================================== Ploting graph to all process ========================================================"
12+ echo " ====================================== Ploting graph for ncs.smp process ========================================================"
1113bash graphs.sh ncs.smp
12- echo " \n"
14+ echo " ===================================== Ploting graph for ncs.smp process done =================================================\n"
15+ echo " ====================================== Ploting graph for NcsJVMLauncher process ========================================================"
1316bash graphs.sh NcsJVMLauncher
14- echo " \n"
17+ echo " ===================================== Ploting graph for NcsJVMLauncher process done =================================================\n"
18+ echo " ====================================== Ploting graph for python3 process ========================================================"
1519bash graphs.sh python3
16- echo " \n"
20+ echo " ===================================== Ploting graph for python3 process done =================================================\n"
21+ echo " ====================================== Ploting graph to compare between process ========================================================"
1722bash graphs_compare.sh
18- echo " ===================================== Ploting graph for all process done ================================================="
23+ echo " ====================================== Ploting graph to compare between process done ========================================================\n"
24+ echo " ===================================== Ploting graph to all process done ================================================="
You can’t perform that action at this time.
0 commit comments