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