add yardstick iruya 9.0.0 release notes
[yardstick.git] / docs / testing / user / userguide / opnfv_yardstick_tc009.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International
2 .. License.
3 .. http://creativecommons.org/licenses/by/4.0
4 .. (c) OPNFV, Ericsson AB and others.
5
6 *************************************
7 Yardstick Test Case Description TC009
8 *************************************
9
10 .. _pktgen: https://www.kernel.org/doc/Documentation/networking/pktgen.txt
11
12 +-----------------------------------------------------------------------------+
13 |Packet Loss                                                                  |
14 |                                                                             |
15 +--------------+--------------------------------------------------------------+
16 |test case id  | OPNFV_YARDSTICK_TC009_NW PERF, Packet loss                   |
17 |              |                                                              |
18 +--------------+--------------------------------------------------------------+
19 |metric        | Number of flows, packets lost and throughput                 |
20 |              |                                                              |
21 +--------------+--------------------------------------------------------------+
22 |test purpose  | To evaluate the IaaS network performance with regards to     |
23 |              | flows and throughput, such as if and how different amounts   |
24 |              | of flows matter for the throughput between VMs on different  |
25 |              | compute blades.                                              |
26 |              | Typically e.g. the performance of a vSwitch                  |
27 |              | depends on the number of flows running through it. Also      |
28 |              | performance of other equipment or entities can depend        |
29 |              | on the number of flows or the packet sizes used.             |
30 |              | The purpose is also to be able to spot trends. Test results, |
31 |              | graphs ans similar shall be stored for comparison reasons and|
32 |              | product evolution understanding between different OPNFV      |
33 |              | versions and/or configurations.                              |
34 |              |                                                              |
35 +--------------+--------------------------------------------------------------+
36 |configuration | file: opnfv_yardstick_tc009.yaml                             |
37 |              |                                                              |
38 |              | Packet size: 64 bytes                                        |
39 |              |                                                              |
40 |              | Number of ports: 1, 10, 50, 100, 500 and 1000. The amount of |
41 |              | configured ports map from 2 up to 1001000 flows,             |
42 |              | respectively. Each port amount is run ten times, for 20      |
43 |              | seconds each. Then the next port_amount is run, and so on.   |
44 |              |                                                              |
45 |              | The client and server are distributed on different HW.       |
46 |              |                                                              |
47 |              | For SLA max_ppm is set to 1000.                              |
48 |              |                                                              |
49 +--------------+--------------------------------------------------------------+
50 |test tool     | pktgen                                                       |
51 |              |                                                              |
52 |              | (Pktgen is not always part of a Linux distribution, hence it |
53 |              | needs to be installed. It is part of the Yardstick Docker    |
54 |              | image.                                                       |
55 |              | As an example see the /yardstick/tools/ directory for how    |
56 |              | to generate a Linux image with pktgen included.)             |
57 |              |                                                              |
58 +--------------+--------------------------------------------------------------+
59 |references    | pktgen_                                                      |
60 |              |                                                              |
61 |              | ETSI-NFV-TST001                                              |
62 |              |                                                              |
63 +--------------+--------------------------------------------------------------+
64 |applicability | Test can be configured with different packet sizes, amount   |
65 |              | of flows and test duration. Default values exist.            |
66 |              |                                                              |
67 |              | SLA (optional): max_ppm: The number of packets per million   |
68 |              | packets sent that are acceptable to loose, not received.     |
69 |              |                                                              |
70 +--------------+--------------------------------------------------------------+
71 |pre-test      | The test case image needs to be installed into Glance        |
72 |conditions    | with pktgen included in it.                                  |
73 |              |                                                              |
74 |              | No POD specific requirements have been identified.           |
75 |              |                                                              |
76 +--------------+--------------------------------------------------------------+
77 |test sequence | description and expected result                              |
78 |              |                                                              |
79 +--------------+--------------------------------------------------------------+
80 |step 1        | The hosts are installed, as server and client. pktgen is     |
81 |              | invoked and logs are produced  and stored.                   |
82 |              |                                                              |
83 |              | Result: logs are stored.                                     |
84 |              |                                                              |
85 +--------------+--------------------------------------------------------------+
86 |test verdict  | Fails only if SLA is not passed, or if there is a test case  |
87 |              | execution problem.                                           |
88 |              |                                                              |
89 +--------------+--------------------------------------------------------------+