9076526edadc2b1cdc7456d1ee38ff076c811403
[csit.git] / resources / tools / report_gen / run_report.sh
1 #!/bin/bash
2
3 set -x
4
5 # Build locally without jenkins integrations
6 DEBUG=0
7
8 # Script directory
9 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
10
11 # Load configuration
12 source ${SCRIPT_DIR}/run_report.cfg
13
14 # Install system dependencies
15 sudo apt-get -y update
16 sudo apt-get -y install libxml2 libxml2-dev libxslt-dev build-essential \
17     zlib1g-dev unzip
18
19 # Clean-up when finished
20 trap 'rm -rf ${DIR[WORKING]}; exit' EXIT
21 trap 'rm -rf ${DIR[WORKING]}; exit' ERR
22
23 # Remove the old build
24 rm -rf ${DIR[BUILD]} || true
25 rm -rf ${DIR[WORKING]} || true
26
27 # Create working directories
28 mkdir ${DIR[WORKING]}
29
30 # Create virtual environment
31 virtualenv ${DIR[WORKING]}/env
32 . ${DIR[WORKING]}/env/bin/activate
33
34 # Install python dependencies:
35 pip install -r requirements.txt
36
37 export PYTHONPATH=`pwd`
38
39 # Download raw outputs for plots
40 echo Downloading raw outputs for plots ...
41 mkdir -p ${DIR[STATIC,VPP]}
42 mkdir -p ${DIR[STATIC,DPDK]}
43 mkdir -p ${DIR[STATIC,ARCH]}
44 mkdir -p ${DIR[STATIC,TREND]}
45 mkdir -p ${DIR[PLOT,VPP]}
46 mkdir -p ${DIR[PLOT,DPDK]}
47
48 ### VPP PERFORMANCE SOURCE DATA
49
50 #if [[ ${DEBUG} -eq 1 ]] ;
51 #    cp ./${JOB[PERF,VPP]}-${JOB[PERF,VPP,FBLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${JOB[PERF,VPP,FBLD]}.zip
52 #fi
53
54 blds=${JOB[PERF,VPP,BLD]}
55 for i in ${blds[@]}; do
56     curl --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,VPP]}/${i}/robot/report/output_perf_data.xml \
57         --output ${DIR[PLOT,VPP]}/${JOB[PERF,VPP]}-${i}.xml
58     curl --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,VPP]}/${i}/robot/report/output_perf_data.json \
59         --output ${DIR[PLOT,VPP]}/${JOB[PERF,VPP]}-${i}.json
60     if [[ ${DEBUG} -eq 0 ]] ;
61     then
62         curl --fail --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,VPP]}/${i}/robot/report/\*zip\*/robot-plugin.zip \
63             --output ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${i}.zip
64     fi
65 done
66 # Archive trending
67 cp ${DIR[PLOT,VPP]}/* ${DIR[STATIC,TREND]}
68 blds=${JOB[1704,VPP,BLD]}
69 for i in ${blds[@]}; do
70     curl --silent ${URL[JENKINS,CSIT]}/${JOB[1704,PERF,VPP]}/${i}/robot/report/output_perf_data.xml \
71         --output ${DIR[STATIC,TREND]}/${JOB[1704,PERF,VPP]}-${i}.xml
72 done
73
74 ### DPDK PERFORMANCE SOURCE DATA
75
76 #if [[ ${DEBUG} -eq 1 ]] ;
77 #    cp ./${JOB[PERF,DPDK]}-${JOB[PERF,DPDK,FBLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[PERF,DPDK]}-${JOB[PERF,DPDK,FBLD]}.zip
78 #fi
79
80 blds=${JOB[PERF,DPDK,BLD]}
81 for i in ${blds[@]}; do
82     curl --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,DPDK]}/${i}/robot/report/output_perf_data.xml \
83         --output ${DIR[PLOT,DPDK]}/${JOB[PERF,DPDK]}-${i}.xml
84     curl --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,DPDK]}/${i}/robot/report/output_perf_data.json \
85         --output ${DIR[PLOT,DPDK]}/${JOB[PERF,DPDK]}-${i}.json
86     if [[ ${DEBUG} -eq 0 ]] ;
87     then
88         curl --fail --silent ${URL[JENKINS,CSIT]}/${JOB[PERF,DPDK]}/${i}/robot/report/\*zip\*/robot-plugin.zip \
89             --output ${DIR[STATIC,ARCH]}/${JOB[PERF,DPDK]}-${i}.zip
90     fi
91 done
92 cp ${DIR[PLOT,DPDK]}/* ${DIR[STATIC,TREND]}
93
94 ### FUNCTIONAL SOURCE DATA
95
96 #if [[ ${DEBUG} -eq 1 ]] ;
97 #    cp ./${JOB[FUNC,VPP]}-${JOB[FUNC,VPP,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[FUNC,VPP]}-${JOB[FUNC,VPP,BLD]}.zip
98 #fi
99
100 if [[ ${DEBUG} -eq 0 ]] ;
101 then
102     curl --fail --silent ${URL[JENKINS,CSIT]}/${JOB[FUNC,VPP]}/${JOB[FUNC,VPP,BLD]}/robot/report/\*zip\*/robot-plugin.zip \
103         --output ${DIR[STATIC,ARCH]}/${JOB[FUNC,VPP]}-${JOB[FUNC,VPP,BLD]}.zip
104 fi
105
106 ### HONEYCOMB FUNCTIONAL SOURCE DATA
107
108 #if [[ ${DEBUG} -eq 1 ]] ;
109 #    cp ./${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip
110 #fi
111
112 if [[ ${DEBUG} -eq 0 ]] ;
113 then
114     curl --fail --silent ${URL[JENKINS,HC]}/${JOB[FUNC,HC]}/${JOB[FUNC,HC,BLD]}/robot/report/\*zip\*/robot-plugin.zip \
115         --output ${DIR[STATIC,ARCH]}/${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip
116 fi
117
118 ### HONEYCOMB PERFORMANCE SOURCE DATA
119
120 #if [[ ${DEBUG} -eq 1 ]] ;
121 #    cp ./${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip
122 #fi
123
124 if [[ ${DEBUG} -eq 0 ]] ;
125 then
126     blds=${JOB[PERF,HC,BLD]}
127     for i in ${blds[@]}; do
128         curl --silent ${URL[JENKINS,HC]}/${JOB[PERF,HC]}/${JOB[PERF,HC,BLD]}/robot/report/\*zip\*/robot-plugin.zip \
129             --output ${DIR[STATIC,ARCH]}/${JOB[PERF,HC]}-${JOB[PERF,HC,BLD]}.zip
130 done
131 fi
132
133 ### NSH_SFC SOURCE DATA
134
135 #if [[ ${DEBUG} -eq 1 ]] ;
136 #    cp ./${JOB[FUNC,NSH]}-${JOB[FUNC,NSH,BLD]}.zip ${DIR[STATIC,ARCH]}/${JOB[FUNC,NSH]}-${JOB[FUNC,NSH,BLD]}.zip
137 #fi
138
139 if [[ ${DEBUG} -eq 0 ]] ;
140 then
141     curl --fail --silent ${URL[JENKINS,CSIT]}/${JOB[FUNC,NSH]}/${JOB[FUNC,NSH,BLD]}/robot/report/\*zip\*/robot-plugin.zip \
142         --output ${DIR[STATIC,ARCH]}/${JOB[FUNC,NSH]}-${JOB[FUNC,NSH,BLD]}.zip
143 fi
144
145 # Data post processing
146
147 if [[ ${DEBUG} -eq 0 ]] ;
148 then
149     # VPP PERF
150     unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${JOB[PERF,VPP,FBLD]}.zip -d ${DIR[WORKING]}/
151     python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
152         --output ${DIR[DTR,PERF,VPP]}/vpp_performance_results.rst \
153         --formatting rst --start 4 --level 2
154     python run_robot_teardown_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
155         --output ${DIR[DTC,PERF,VPP]}/vpp_performance_configuration.rst \
156         --data "VAT_H" --formatting rst --start 4 --level 2
157     python run_robot_teardown_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
158         --output ${DIR[DTO,PERF,VPP]}/vpp_performance_operational_data.rst \
159         --data "SH_RUN" --formatting rst --start 4 --level 2
160
161     blds=${JOB[PERF,VPP,BLD]}
162     for i in ${blds[@]}; do
163         unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,VPP]}-${i}.zip -d ${DIR[WORKING]}/
164         ./run_robot_json_data.py \
165             --input ${DIR[WORKING]}/output.xml \
166             --output ${DIR[DTR,PERF,VPP,IMPRV]}/${JOB[PERF,VPP]}-${i}.json \
167             --vdevice ${i}
168     done
169
170     # DPDK PERF
171     unzip -o ${DIR[STATIC,ARCH]}/${JOB[PERF,DPDK]}-${JOB[PERF,DPDK,FBLD]}.zip -d ${DIR[WORKING]}/
172     python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
173         --output ${DIR[DTR,PERF,DPDK]}/dpdk_performance_results.rst \
174         --formatting rst --start 4 --level 2
175
176     # VPP FUNC
177     unzip -o ${DIR[STATIC,ARCH]}/${JOB[FUNC,VPP]}-${JOB[FUNC,VPP,BLD]}.zip -d ${DIR[WORKING]}/
178     python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
179         --output ${DIR[DTR,FUNC,VPP]}/vpp_functional_results.rst \
180         --formatting rst --start 5 --level 2
181     python run_robot_teardown_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
182         --output ${DIR[DTC,FUNC,VPP]}/vpp_functional_configuration.rst \
183         --data "VAT_H" --formatting rst --start 5 --level 2
184
185     # HC FUNC
186     unzip -o ${DIR[STATIC,ARCH]}/${JOB[FUNC,HC]}-${JOB[FUNC,HC,BLD]}.zip -d ${DIR[WORKING]}/
187     python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
188         --output ${DIR[DTR,FUNC,HC]}/honeycomb_functional_results.rst \
189         --formatting rst --start 5 --level 2
190
191     # NSHSFC FUNC
192     unzip -o ${DIR[STATIC,ARCH]}/${JOB[FUNC,NSH]}-${JOB[FUNC,NSH,BLD]}.zip -d ${DIR[WORKING]}/
193     python run_robot_data.py -i ${DIR[WORKING]}/robot-plugin/output.xml \
194         --output ${DIR[DTR,FUNC,NSHSFC]}/nshsfc_functional_results.rst \
195         --formatting rst --start 5 --level 2
196 fi
197
198 # Generate tables for performance improvements
199 ./run_improvments_tables.py \
200     --input ${DIR[DTR,PERF,VPP,IMPRV]} \
201     --output ${DIR[DTR,PERF,VPP,IMPRV]}
202
203 # Delete temporary json files
204 find ${DIR[RST]} -name "*.json" -type f -delete
205
206 # Generate the documentation
207 DATE=$(date -u '+%d-%b-%Y')
208 sphinx-build -v -c . -a -b html -E \
209     -D release=$1 -D version="$1 report - $DATE" \
210     ${DIR[RST]} ${DIR[BUILD]}/
211
212 # Patch the CSS for tables layout
213 cat - > ${DIR[CSS_PATCH_FILE]} <<"_EOF"
214 /* override table width restrictions */
215 @media screen and (min-width: 767px) {
216     .wy-table-responsive table td, .wy-table-responsive table th {
217         white-space: normal !important;
218     }
219
220     .wy-table-responsive {
221         font-size: small;
222         margin-bottom: 24px;
223         max-width: 100%;
224         overflow: visible !important;
225     }
226 }
227 _EOF
228
229 # Plot packets per second
230
231 # VPP L2
232
233 python run_plot.py --input ${DIR[PLOT,VPP]} \
234     --output ${DIR[STATIC,VPP]}/64B-1t1c-l2-ndrdisc \
235     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
236     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
237 python run_plot.py --input ${DIR[PLOT,VPP]} \
238     --output ${DIR[STATIC,VPP]}/64B-2t2c-l2-ndrdisc \
239     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
240     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
241
242 python run_plot.py --input ${DIR[PLOT,VPP]} \
243     --output ${DIR[STATIC,VPP]}/64B-1t1c-l2-pdrdisc \
244     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" \
245     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
246 python run_plot.py --input ${DIR[PLOT,VPP]} \
247     --output ${DIR[STATIC,VPP]}/64B-2t2c-l2-pdrdisc \
248     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" \
249     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
250
251 # VPP IP4
252
253 python run_plot.py --input ${DIR[PLOT,VPP]} \
254     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-ip4-ndrdisc \
255     --title "64B-1t1c-ethip4-ip4[a-z0-9]+-[a-z-]*ndrdisc" \
256     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
257 python run_plot.py --input ${DIR[PLOT,VPP]} \
258     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-ip4-ndrdisc \
259     --title "64B-2t2c-ethip4-ip4[a-z0-9]+-[a-z-]*ndrdisc" \
260     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
261
262 python run_plot.py --input ${DIR[PLOT,VPP]} \
263     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-ip4-pdrdisc \
264     --title "64B-1t1c-ethip4-ip4[a-z0-9]+-[a-z-]*pdrdisc" \
265     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
266 python run_plot.py --input ${DIR[PLOT,VPP]} \
267     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-ip4-pdrdisc \
268     --title "64B-2t2c-ethip4-ip4[a-z0-9]+-[a-z-]*pdrdisc" \
269     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
270
271 # VPP IP6
272
273 python run_plot.py --input ${DIR[PLOT,VPP]} \
274     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-ip6-ndrdisc \
275     --title "78B-1t1c-ethip6-ip6[a-z0-9]+-[a-z-]*ndrdisc" \
276     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
277 python run_plot.py --input ${DIR[PLOT,VPP]} \
278     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-ip6-ndrdisc \
279     --title "78B-2t2c-ethip6-ip6[a-z0-9]+-[a-z-]*ndrdisc" \
280     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
281
282 python run_plot.py --input ${DIR[PLOT,VPP]} \
283     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-ip6-pdrdisc \
284     --title "78B-1t1c-ethip6-ip6[a-z0-9]+-[a-z-]*pdrdisc" \
285     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
286 python run_plot.py --input ${DIR[PLOT,VPP]} \
287     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-ip6-pdrdisc \
288     --title "78B-2t2c-ethip6-ip6[a-z0-9]+-[a-z-]*pdrdisc" \
289     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]'
290
291 # VPP IP4_overlay
292
293 python run_plot.py --input ${DIR[PLOT,VPP]} \
294     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-ndrdisc \
295     --title "64B-1t1c-ethip4[a-z0-9]+-[a-z0-9]*-ndrdisc" \
296     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]'
297 python run_plot.py --input ${DIR[PLOT,VPP]} \
298     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-ndrdisc \
299     --title "64B-2t2c-ethip4[a-z0-9]+-[a-z0-9]*-ndrdisc" \
300     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]'
301
302 python run_plot.py --input ${DIR[PLOT,VPP]} \
303     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-pdrdisc \
304     --title "64B-1t1c-ethip4[a-z0-9]+-[a-z0-9]*-pdrdisc" \
305     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]'
306 python run_plot.py --input ${DIR[PLOT,VPP]} \
307     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-pdrdisc \
308     --title "64B-2t2c-ethip4[a-z0-9]+-[a-z0-9]*-pdrdisc" \
309     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]'
310
311 # VPP IP6_overlay
312
313 python run_plot.py --input ${DIR[PLOT,VPP]} \
314     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-ndrdisc \
315     --title "78B-1t1c-ethip6[a-z0-9]+-[a-z0-9]*-ndrdisc" \
316     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]'
317 python run_plot.py --input ${DIR[PLOT,VPP]} \
318     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-ndrdisc \
319     --title "78B-2t2c-ethip6[a-z0-9]+-[a-z0-9]*-ndrdisc" \
320     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]'
321
322 python run_plot.py --input ${DIR[PLOT,VPP]} \
323     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-pdrdisc \
324     --title "78B-1t1c-ethip6[a-z0-9]+-[a-z0-9]*-pdrdisc" \
325     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]'
326 python run_plot.py --input ${DIR[PLOT,VPP]} \
327     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-pdrdisc \
328     --title "78B-2t2c-ethip6[a-z0-9]+-[a-z0-9]*-pdrdisc" \
329     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]'
330
331 # VPP VM VHOST
332
333 python run_plot.py --input ${DIR[PLOT,VPP]} \
334     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel1-ndrdisc \
335     --title "64B-1t1c-.*vhost.*-ndrdisc" \
336     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]'
337 python run_plot.py --input ${DIR[PLOT,VPP]} \
338     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel1-ndrdisc \
339     --title "64B-2t2c-.*vhost.*-ndrdisc" \
340     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]'
341
342 python run_plot.py --input ${DIR[PLOT,VPP]} \
343     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel1-pdrdisc \
344     --title "64B-1t1c-.*vhost.*-pdrdisc" \
345     --xpath '//*[@framesize="64B" and contains(@tags,"PDRDISC") and contains(@tags,"1T1C") and not(contains(@tags,"NDRDISC")) and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]'
346 python run_plot.py --input ${DIR[PLOT,VPP]} \
347     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel1-pdrdisc \
348     --title "64B-2t2c-.*vhost.*-pdrdisc" \
349     --xpath '//*[@framesize="64B" and contains(@tags,"PDRDISC") and contains(@tags,"2T2C") and not(contains(@tags,"NDRDISC")) and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]'
350
351 # VPP VM VHOST SELECTION
352
353 python run_plot.py --input ${DIR[PLOT,VPP]} \
354     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel2-ndrdisc \
355     --title "64B-1t1c-.*vhost.*-ndrdisc" \
356     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]'
357 python run_plot.py --input ${DIR[PLOT,VPP]} \
358     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel2-ndrdisc \
359     --title "64B-2t2c-.*vhost.*-ndrdisc" \
360     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]'
361
362 python run_plot.py --input ${DIR[PLOT,VPP]} \
363     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel2-pdrdisc \
364     --title "64B-1t1c-.*vhost.*-pdrdisc" \
365     --xpath '//*[@framesize="64B" and contains(@tags,"PDRDISC") and contains(@tags,"1T1C") and not(contains(@tags,"NDRDISC")) and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]'
366 python run_plot.py --input ${DIR[PLOT,VPP]} \
367     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel2-pdrdisc \
368     --title "64B-2t2c-.*vhost.*-pdrdisc" \
369     --xpath '//*[@framesize="64B" and contains(@tags,"PDRDISC") and contains(@tags,"2T2C") and not(contains(@tags,"NDRDISC")) and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]'
370
371 # VPP CRYPTO
372
373 python run_plot.py --input ${DIR[PLOT,VPP]} \
374     --output ${DIR[STATIC,VPP]}/64B-1t1c-ipsechw-ndrdisc \
375     --title "64B-1t1c-.*ipsec.*-ndrdisc" \
376     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "NDRDISC") and contains(@tags, "1T1C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]'
377 python run_plot.py --input ${DIR[PLOT,VPP]} \
378     --output ${DIR[STATIC,VPP]}/64B-2t2c-ipsechw-ndrdisc \
379     --title "64B-2t2c-.*ipsec.*-ndrdisc" \
380     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "NDRDISC") and contains(@tags, "2T2C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]'
381
382 python run_plot.py --input ${DIR[PLOT,VPP]} \
383     --output ${DIR[STATIC,VPP]}/64B-1t1c-ipsechw-pdrdisc \
384     --title "64B-1t1c-.*ipsec.*-pdrdisc" \
385     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags, "1T1C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]'
386 python run_plot.py --input ${DIR[PLOT,VPP]} \
387     --output ${DIR[STATIC,VPP]}/64B-2t2c-ipsechw-pdrdisc \
388     --title "64B-2t2c-.*ipsec.*-pdrdisc" \
389     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags, "2T2C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]'
390
391 # DPDK
392
393 python run_plot.py --input ${DIR[PLOT,DPDK]} \
394     --output ${DIR[STATIC,DPDK]}/64B-1t1c-l2-ndrdisc \
395     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
396     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
397 python run_plot.py --input ${DIR[PLOT,DPDK]} \
398     --output ${DIR[STATIC,DPDK]}/64B-2t2c-l2-ndrdisc \
399     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
400     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
401 python run_plot.py --input ${DIR[PLOT,DPDK]} \
402     --output ${DIR[STATIC,DPDK]}/64B-1t1c-ipv4-ndrdisc \
403     --title "64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc" \
404     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP4FWD")]' \
405     --lower 2000000 --upper 12000000
406 python run_plot.py --input ${DIR[PLOT,DPDK]} \
407     --output ${DIR[STATIC,DPDK]}/64B-2t2c-ipv4-ndrdisc \
408     --title "64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc" \
409     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP4FWD")]' \
410     --lower 2000000 --upper 12000000
411
412 python run_plot.py --input ${DIR[PLOT,DPDK]} \
413     --output ${DIR[STATIC,DPDK]}/64B-1t1c-l2-pdrdisc \
414     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" \
415     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
416 python run_plot.py --input ${DIR[PLOT,DPDK]} \
417     --output ${DIR[STATIC,DPDK]}/64B-2t2c-l2-pdrdisc \
418     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" \
419     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]'
420 python run_plot.py --input ${DIR[PLOT,DPDK]} \
421     --output ${DIR[STATIC,DPDK]}/64B-1t1c-ipv4-pdrdisc \
422     --title "64B-1t1c-ethip4-ip4base-l3fwd-pdrdisc" \
423     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"1T1C") and contains(@tags,"IP4FWD")]' \
424     --lower 20000000 --upper 30000000
425 python run_plot.py --input ${DIR[PLOT,DPDK]} \
426     --output ${DIR[STATIC,DPDK]}/64B-2t2c-ipv4-pdrdisc \
427     --title "64B-2t2c-ethip4-ip4base-l3fwd-pdrdisc" \
428     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"PDRDISC") and not(contains(@tags,"NDRDISC")) and contains(@tags,"2T2C") and contains(@tags,"IP4FWD")]' \
429     --lower 20000000 --upper 30000000
430
431 # Plot latency
432
433 # VPP L2
434
435 python run_plot.py --input ${DIR[PLOT,VPP]} \
436     --output ${DIR[STATIC,VPP]}/64B-1t1c-l2-ndrdisc-lat50 \
437     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
438     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]' --latency lat_50
439 python run_plot.py --input ${DIR[PLOT,VPP]} \
440     --output ${DIR[STATIC,VPP]}/64B-2t2c-l2-ndrdisc-lat50 \
441     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
442     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or (contains(@tags,"FEATURE") and contains(@tags,"ACL50") and contains(@tags,"10k_FLOWS"))) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]' --latency lat_50
443
444 # VPP IP4
445
446 python run_plot.py --input ${DIR[PLOT,VPP]} \
447     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-ip4-ndrdisc-lat50 \
448     --title "64B-1t1c-ethip4-ip4[a-z0-9]+-[a-z-]*ndrdisc" \
449     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]' --latency lat_50
450 python run_plot.py --input ${DIR[PLOT,VPP]} \
451     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-ip4-ndrdisc-lat50 \
452     --title "64B-2t2c-ethip4-ip4[a-z0-9]+-[a-z-]*ndrdisc" \
453     --xpath '//*[@framesize="64B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP4FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]' --latency lat_50
454
455 # VPP IP6
456
457 python run_plot.py --input ${DIR[PLOT,VPP]} \
458     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-ip6-ndrdisc-lat50 \
459     --title "78B-1t1c-ethip6-ip6[a-z0-9]+-[a-z-]*ndrdisc" \
460     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]' --latency lat_50
461 python run_plot.py --input ${DIR[PLOT,VPP]} \
462     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-ip6-ndrdisc-lat50 \
463     --title "78B-2t2c-ethip6-ip6[a-z0-9]+-[a-z-]*ndrdisc" \
464     --xpath '//*[@framesize="78B" and (contains(@tags,"BASE") or contains(@tags,"SCALE") or contains(@tags,"FEATURE")) and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP6FWD") and not(contains(@tags,"IPSEC")) and not(contains(@tags,"VHOST"))]' --latency lat_50
465
466 # VPP IP4_overlay
467
468 python run_plot.py --input ${DIR[PLOT,VPP]} \
469     --output ${DIR[STATIC,VPP]}/64B-1t1c-ethip4-ndrdisc-lat50 \
470     --title "64B-1t1c-ethip4[a-z0-9]+-[a-z0-9]*-ndrdisc" \
471     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]' --latency lat_50
472 python run_plot.py --input ${DIR[PLOT,VPP]} \
473     --output ${DIR[STATIC,VPP]}/64B-2t2c-ethip4-ndrdisc-lat50 \
474     --title "64B-2t2c-ethip4[a-z0-9]+-[a-z0-9]*-ndrdisc" \
475     --xpath '//*[@framesize="64B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST")) and not(contains(@tags, "IPSECHW"))]' --latency lat_50
476
477 # VPP IP6_overlay
478
479 python run_plot.py --input ${DIR[PLOT,VPP]} \
480     --output ${DIR[STATIC,VPP]}/78B-1t1c-ethip6-ndrdisc-lat50 \
481     --title "78B-1t1c-ethip6[a-z0-9]+-[a-z0-9]*-ndrdisc" \
482     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]' --latency lat_50
483 python run_plot.py --input ${DIR[PLOT,VPP]} \
484     --output ${DIR[STATIC,VPP]}/78B-2t2c-ethip6-ndrdisc-lat50 \
485     --title "78B-2t2c-ethip6[a-z0-9]+-[a-z0-9]*-ndrdisc" \
486     --xpath '//*[@framesize="78B" and contains(@tags,"ENCAP") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"VXLAN") or contains(@tags,"VXLANGPE") or contains(@tags,"LISP") or contains(@tags,"LISPGPE") or contains(@tags,"GRE")) and not(contains(@tags,"VHOST"))]' --latency lat_50
487
488 # VPP VM VHOST
489
490 python run_plot.py --input ${DIR[PLOT,VPP]} \
491     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel1-ndrdisc-lat50 \
492     --title "64B-1t1c-.*vhost.*-ndrdisc" \
493     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]' --latency lat_50
494 python run_plot.py --input ${DIR[PLOT,VPP]} \
495     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel1-ndrdisc-lat50 \
496     --title "64B-2t2c-.*vhost.*-ndrdisc" \
497     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"VHOST") and not(contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD"))]' --latency lat_50
498
499 # VPP VM VHOST selection
500
501 python run_plot.py --input ${DIR[PLOT,VPP]} \
502     --output ${DIR[STATIC,VPP]}/64B-1t1c-vhost-sel2-ndrdisc-lat50 \
503     --title "64B-1t1c-.*vhost.*-ndrdisc" \
504     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]' --latency lat_50
505 python run_plot.py --input ${DIR[PLOT,VPP]} \
506     --output ${DIR[STATIC,VPP]}/64B-2t2c-vhost-sel2-ndrdisc-lat50 \
507     --title "64B-2t2c-.*vhost.*-ndrdisc" \
508     --xpath '//*[@framesize="64B" and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"VHOST") and not(contains(@tags,"VXLAN")) and not(contains(@tags,"IP4FWD")) and not(contains(@tags,"DOT1Q")) and not(contains(name(), "2Vm"))]' --latency lat_50
509
510 # VPP CRYPTO
511
512 python run_plot.py --input ${DIR[PLOT,VPP]} \
513     --output ${DIR[STATIC,VPP]}/64B-1t1c-ipsechw-ndrdisc-lat50 \
514     --title "64B-1t1c-.*ipsec.*-ndrdisc" \
515     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "NDRDISC") and contains(@tags, "1T1C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]' --latency lat_50
516 python run_plot.py --input ${DIR[PLOT,VPP]} \
517     --output ${DIR[STATIC,VPP]}/64B-2t2c-ipsechw-ndrdisc-lat50 \
518     --title "64B-2t2c-.*ipsec.*-ndrdisc" \
519     --xpath '//*[@framesize="64B" and not(contains(@tags, "VHOST")) and contains(@tags, "IP4FWD") and contains(@tags, "NDRDISC") and contains(@tags, "2T2C") and contains(@tags, "IPSECHW") and (contains(@tags, "IPSECTRAN") or contains(@tags, "IPSECTUN"))]' --latency lat_50
520
521 # DPDK
522
523 python run_plot.py --input ${DIR[PLOT,DPDK]} \
524     --output ${DIR[STATIC,DPDK]}/64B-1t1c-l2-ndrdisc-lat50 \
525     --title "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
526     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]' --latency lat_50
527 python run_plot.py --input ${DIR[PLOT,DPDK]} \
528     --output ${DIR[STATIC,DPDK]}/64B-2t2c-l2-ndrdisc-lat50 \
529     --title "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" \
530     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and (contains(@tags,"L2BDMACSTAT") or contains(@tags,"L2BDMACLRN") or contains(@tags,"L2XCFWD")) and not(contains(@tags,"VHOST"))]' --latency lat_50
531 python run_plot.py --input ${DIR[PLOT,DPDK]} \
532     --output ${DIR[STATIC,DPDK]}/64B-1t1c-ipv4-ndrdisc-lat50 \
533     --title "64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc" \
534     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"1T1C") and contains(@tags,"IP4FWD")]' --latency lat_50
535 python run_plot.py --input ${DIR[PLOT,DPDK]} \
536     --output ${DIR[STATIC,DPDK]}/64B-2t2c-ipv4-ndrdisc-lat50 \
537     --title "64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc" \
538     --xpath '//*[@framesize="64B" and contains(@tags,"BASE") and contains(@tags,"NDRDISC") and contains(@tags,"2T2C") and contains(@tags,"IP4FWD")]' --latency lat_50
539
540 # Create archive
541 echo Creating csit.report.tar.gz ...
542 tar -czvf ./csit.report.tar.gz ${DIR[BUILD]}