8954b74d14f0b3ed641814e67e4cbe2242d261b6
[csit.git] / docs / report / vpp_performance_tests / http_server_performance / index.rst
1 HTTP/TCP Performance
2 ====================
3
4 Plotted results are generated by multiple executions of the same CSIT
5 performance tests across three physical testbeds within LF FD.io labs.
6 To provide a descriptive summary view, Box-and-Whisker plots are used to
7 display variation in measured performance values, without making any
8 assumptions of the underlying statistical distribution.
9
10 For each plotted test case, Box-and-Whisker plots show the quartiles
11 (Min, 1st quartile / 25th percentile, 2nd quartile / 50th percentile /
12 mean, 3rd quartile / 75th percentile, Max) across collected data set
13 (data set size stated in the note below). Outliers are plotted as
14 individual points. Min and max values are plotted as bottom and top
15 Whiskers respectively. 2nd and 3rd quartiles are plotted as bottom and
16 top edge of the box. If multiple samples match only two values, and all
17 samples fall between them, then no whiskers are plotted. If all samples
18 have the same value, only a horizontal line is plotted.
19
20 .. note::
21
22     Data sources for reported test results: i) `FD.io test executor vpp
23     performance jobs`_, ii) archived FD.io jobs test result `output files
24     <../../_static/archive/>`_.
25
26 Connections per second
27 ----------------------
28
29 .. raw:: html
30
31     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-cps.html"></iframe>
32
33 .. raw:: latex
34
35     \begin{figure}[H]
36         \centering
37             \graphicspath{{../_build/_static/vpp/}}
38             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-cps}
39             \label{fig:http-server-performance-cps}
40     \end{figure}
41
42 *Figure 1. VPP HTTP Server Performance - Connections per Second*
43
44 CSIT source code for the test cases used for above plots can be found in CSIT
45 git repository:
46
47 .. only:: html
48
49    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/tcp && grep -HE '(1t1c|2t2c|4t4c)-ethip4tcphttp-httpserver-cps' *
50       :shell:
51
52 .. only:: latex
53
54    .. code-block:: bash
55
56       $ cd tests/vpp/perf/tcp
57       $ grep -HE '(1t1c|2t2c|4t4c)-ethip4tcphttp-httpserver-cps' *
58
59 Requests per second
60 -------------------
61
62 .. raw:: html
63
64     <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-rps.html"></iframe>
65
66 .. raw:: latex
67
68     \begin{figure}[H]
69         \centering
70             \graphicspath{{../_build/_static/vpp/}}
71             \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-rps}
72             \label{fig:http-server-performance-rps}
73     \end{figure}
74
75 *Figure 2. VPP HTTP Server Performance - Requests per Second*
76
77 CSIT source code for the test cases used for above plots can be found in CSIT
78 git repository:
79
80 .. only:: html
81
82    .. program-output:: cd ../../../../../ && set +x && cd tests/vpp/perf/tcp && grep -HE '(1t1c|2t2c|4t4c)-ethip4tcphttp-httpserver-rps' *
83       :shell:
84
85 .. only:: latex
86
87    .. code-block:: bash
88
89       $ cd tests/vpp/perf/tcp
90       $ grep -HE '(1t1c|2t2c|4t4c)-ethip4tcphttp-httpserver-rps' *