Report: Add Trex comparisons 13/38013/2
authorTibor Frank <tifrank@cisco.com>
Wed, 25 Jan 2023 13:00:04 +0000 (14:00 +0100)
committerTibor Frank <tifrank@cisco.com>
Wed, 25 Jan 2023 13:05:07 +0000 (14:05 +0100)
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Id6e0c66bc1b09f546ae047840cfeeb68012a982c

docs/report/index.html.template
docs/report/trex_performance_tests/comparisons/current_vs_previous_release.rst [new file with mode: 0644]
docs/report/trex_performance_tests/comparisons/index.rst [new file with mode: 0644]
docs/report/trex_performance_tests/index.rst
resources/tools/presentation/input_data_parser.py
resources/tools/presentation/specifications/report/data_sets.yaml
resources/tools/presentation/specifications/report/elements.yaml

index 4aeb910..af80326 100644 (file)
@@ -50,6 +50,7 @@ CSIT-2302
     trex_performance_tests/overview
     trex_performance_tests/csit_release_notes
     trex_performance_tests/packet_throughput_graphs/index
+    trex_performance_tests/comparisons/index
     trex_performance_tests/throughput_trending
     trex_performance_tests/test_environment
 
diff --git a/docs/report/trex_performance_tests/comparisons/current_vs_previous_release.rst b/docs/report/trex_performance_tests/comparisons/current_vs_previous_release.rst
new file mode 100644 (file)
index 0000000..a55918f
--- /dev/null
@@ -0,0 +1,53 @@
+Current vs Previous Release
+---------------------------
+
+Listed mean and standard deviation values are computed based on a series
+of the same tests executed against respective VPP releases to verify
+test results repeatability, with percentage change calculated for mean
+values. Note that the standard deviation is quite high for a small
+number of packet throughput tests, what indicates poor test results
+repeatability and makes the relative change of mean throughput value not
+fully representative for these tests. The root causes behind poor
+results repeatability vary between the test cases.
+
+1n-aws-nitro50g
+~~~~~~~~~~~~~~~
+
+NDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML NDR comparison <performance-changes-1n-aws-ndr.html>`_
+  - `ASCII NDR comparison <../../_static/trex/performance-changes-1n-aws-ndr.txt>`_
+  - `CSV NDR comparison <../../_static/trex/performance-changes-1n-aws-ndr-csv.csv>`_
+
+PDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML PDR comparison <performance-changes-1n-aws-pdr.html>`_
+  - `ASCII PDR comparison <../../_static/trex/performance-changes-1n-aws-pdr.txt>`_
+  - `CSV PDR comparison <../../_static/trex/performance-changes-1n-aws-pdr-csv.csv>`_
+
+2n-icx-e810cq
+~~~~~~~~~~~~~
+
+NDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML NDR comparison <performance-changes-2n-icx-ndr.html>`_
+  - `ASCII NDR comparison <../../_static/trex/performance-changes-2n-icx-ndr.txt>`_
+  - `CSV NDR comparison <../../_static/trex/performance-changes-2n-icx-ndr-csv.csv>`_
+
+PDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML PDR comparison <performance-changes-2n-icx-pdr.html>`_
+  - `ASCII PDR comparison <../../_static/trex/performance-changes-2n-icx-pdr.txt>`_
+  - `CSV PDR comparison <../../_static/trex/performance-changes-2n-icx-pdr-csv.csv>`_
diff --git a/docs/report/trex_performance_tests/comparisons/index.rst b/docs/report/trex_performance_tests/comparisons/index.rst
new file mode 100644 (file)
index 0000000..28672f8
--- /dev/null
@@ -0,0 +1,11 @@
+
+.. raw:: latex
+
+    \clearpage
+
+Comparisons
+===========
+
+.. toctree::
+
+    current_vs_previous_release
index 48e3aea..024d31c 100644 (file)
@@ -6,6 +6,7 @@ TRex Performance
     overview
     csit_release_notes
     packet_throughput_graphs/index
+    comparisons/index
     throughput_trending
     test_environment
 
index 01dbfa7..11cbae7 100644 (file)
@@ -92,7 +92,7 @@ class ExecutionChecker(ResultVisitor):
         r'Connection [c|r]ps rate: (\d*).*\n'
         r'Total data transferred: (\d*).*\n'
         r'Completed requests: (\d*).*\n'
-        r'Failed requests:\s*(\d*.\d*)/gm'
+        r'Failed requests:\s*(\d*.\d*)'
     )
 
     # Needed for CPS and PPS tests
index 8841908..f9bf3e4 100644 (file)
       - 5   # 2302 NDRPDR iter env 11
       - 6   # 2302 NDRPDR iter env 11
       - 7   # 2302 NDRPDR iter env 11
-      - 8   # 2302 NDRPDR iter env 11
+      - 8   # 2302 NDRPDR iter env 11
       - 9   # 2302 NDRPDR iter env 11
       - 10  # 2302 NDRPDR iter env 11
 
index 9c0c09b..98be169 100644 (file)
     - "parent"
 
 ################################################################################
+# TRex
+
+# TRex Performance Changes 1n-aws pdr
+- type: "table"
+  title: "VPP Performance Changes 1n-aws pdr"
+  algorithm: "table_comparison"
+  output-file: "{DIR[STATIC,TREX]}/performance-changes-1n-aws-pdr"
+  include-tests: "PDR" # "PDR" | "NDR" | "MRR"
+  filter: "'NDRPDR'"
+  columns:
+    # - title: "2206.0-10"
+    #   data-set: "vpp-1n-aws-hist-iter"
+    - title: "2210.0-11"
+      data-set: "vpp-1n-aws-prev-iter"
+    - title: "2302.0-11"
+      data-set: "vpp-1n-aws-curr-iter"
+  comparisons:
+    - title: "2302.0-11 vs 2210.0-11"
+      reference: 1
+      compare: 2
+  legend:
+    - ''
+    - 'Test Case:              Test cases executed for: PDR throughput on 1n-aws with nitro50g.'
+    - 'YYMM.V-E:               [uSec +- StDev] results for VPP (YY year, MM month, V minor version) tested in CSIT (E environment version, "10" for CSIT rls2206, "11" for CSIT rls2210 and rls2302).'
+    - 'YYMM.V-E vs YYMM.V-E:   [% +- StDev] Relative difference, latter is the base. [N] for Root Cause Analysis (RCA) reference, see RCA list below.'
+    - '2302.0-11 vs 2210.0-11: Compares current VPP code in the current CSIT environment vs previous VPP code in the previous CSIT environment.'
+
+# TRex Performance Changes 1n-aws ndr
+- type: "table"
+  title: "VPP Performance Changes 1n-aws ndr"
+  algorithm: "table_comparison"
+  output-file: "{DIR[STATIC,TREX]}/performance-changes-1n-aws-ndr"
+  include-tests: "NDR" # "PDR" | "NDR" | "MRR"
+  filter: "'NDRPDR'"
+  columns:
+    # - title: "2206.0-10"
+    #   data-set: "vpp-1n-aws-hist-iter"
+    - title: "2210.0-11"
+      data-set: "vpp-1n-aws-prev-iter"
+    - title: "2302.0-11"
+      data-set: "vpp-1n-aws-curr-iter"
+  comparisons:
+    - title: "2302.0-11 vs 2210.0-11"
+      reference: 1
+      compare: 2
+  legend:
+    - ''
+    - 'Test Case:              Test cases executed for: NDR throughput on 1n-aws with nitro50g.'
+    - 'YYMM.V-E:               [uSec +- StDev] results for VPP (YY year, MM month, V minor version) tested in CSIT (E environment version, "10" for CSIT rls2206, "11" for CSIT rls2210 and rls2302).'
+    - 'YYMM.V-E vs YYMM.V-E:   [% +- StDev] Relative difference, latter is the base. [N] for Root Cause Analysis (RCA) reference, see RCA list below.'
+    - '2302.0-11 vs 2210.0-11: Compares current VPP code in the current CSIT environment vs previous VPP code in the previous CSIT environment.'
+
+# TRex Performance Changes 2n-icx pdr
+- type: "table"
+  title: "VPP Performance Changes 2n-icx pdr"
+  algorithm: "table_comparison"
+  output-file: "{DIR[STATIC,TREX]}/performance-changes-2n-icx-pdr"
+  include-tests: "PDR" # "PDR" | "NDR" | "MRR"
+  filter: "'NDRPDR'"
+  columns:
+    # - title: "2206.0-10"
+    #   data-set: "vpp-2n-icx-hist-iter"
+    - title: "2210.0-11"
+      data-set: "vpp-2n-icx-prev-iter"
+    - title: "2302.0-11"
+      data-set: "vpp-2n-icx-curr-iter"
+  comparisons:
+    - title: "2302.0-11 vs 2210.0-11"
+      reference: 1
+      compare: 2
+  legend:
+    - ''
+    - 'Test Case:              Test cases executed for: PDR throughput on 2n-icx with e810cq.'
+    - 'YYMM.V-E:               [uSec +- StDev] results for VPP (YY year, MM month, V minor version) tested in CSIT (E environment version, "10" for CSIT rls2206, "11" for CSIT rls2210 and rls2302).'
+    - 'YYMM.V-E vs YYMM.V-E:   [% +- StDev] Relative difference, latter is the base. [N] for Root Cause Analysis (RCA) reference, see RCA list below.'
+    - '2302.0-11 vs 2210.0-11: Compares current VPP code in the current CSIT environment vs previous VPP code in the previous CSIT environment.'
+
+# TRex Performance Changes 2n-icx ndr
+- type: "table"
+  title: "VPP Performance Changes 2n-icx ndr"
+  algorithm: "table_comparison"
+  output-file: "{DIR[STATIC,TREX]}/performance-changes-2n-icx-ndr"
+  include-tests: "NDR" # "PDR" | "NDR" | "MRR"
+  filter: "'NDRPDR'"
+  columns:
+    # - title: "2206.0-10"
+    #   data-set: "vpp-2n-icx-hist-iter"
+    - title: "2210.0-11"
+      data-set: "vpp-2n-icx-prev-iter"
+    - title: "2302.0-11"
+      data-set: "vpp-2n-icx-curr-iter"
+  comparisons:
+    - title: "2302.0-11 vs 2210.0-11"
+      reference: 1
+      compare: 2
+  legend:
+    - ''
+    - 'Test Case:              Test cases executed for: NDR throughput on 2n-icx with e810cq.'
+    - 'YYMM.V-E:               [uSec +- StDev] results for VPP (YY year, MM month, V minor version) tested in CSIT (E environment version, "10" for CSIT rls2206, "11" for CSIT rls2210 and rls2302).'
+    - 'YYMM.V-E vs YYMM.V-E:   [% +- StDev] Relative difference, latter is the base. [N] for Root Cause Analysis (RCA) reference, see RCA list below.'
+    - '2302.0-11 vs 2210.0-11: Compares current VPP code in the current CSIT environment vs previous VPP code in the previous CSIT environment.'
 
 ################################################################################
 # VPP