1 .. image:: ../../etc/opnfv-logo.png
7 *************************************
8 Yardstick Test Case Description TC001
9 *************************************
10 +-----------------------------------------------------------------------------+
11 |Network Performance |
12 +==============+==============================================================+
13 |test case id | OPNFV_YARDSTICK_TC001_NW PERF |
14 +--------------+--------------------------------------------------------------+
15 |metric | Number of flows and throughput |
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 flows matter for the throughput between hosts on different|
20 | | compute blades. Typically e.g. the performance of a vSwitch |
21 | | depends on the number of flows running through it. Also |
22 | | performance of other equipment or entities can depend |
23 | | on the number of flows or the packet sizes used. |
24 | | The purpose is also to be able to spot trends. Test results, |
25 | | graphs ans similar shall be stored for comparison reasons and|
26 | | product evolution understanding between different OPNFV |
27 | | versions and/or configurations. |
28 +--------------+--------------------------------------------------------------+
29 |configuration | file: opnfv_yardstick_tc001.yaml |
31 | | Packet size: 60 bytes |
32 | | Number of ports: 10, 50, 100, 500 and 1000, where each |
33 | | runs for 20 seconds. The whole sequence is run |
34 | | twice. The client and server are distributed on different HW.|
35 | | For SLA max_ppm is set to 1000. The amount of configured |
36 | | ports map to between 110 up to 1001000 flows, respectively. |
37 +--------------+--------------------------------------------------------------+
40 | | (Pktgen is not always part of a Linux distribution, hence it |
41 | | needs to be installed. It is part of the Yardstick Docker |
43 | | As an example see the /yardstick/tools/ directory for how |
44 | | to generate a Linux image with pktgen included.) |
45 +--------------+--------------------------------------------------------------+
46 |references |https://www.kernel.org/doc/Documentation/networking/pktgen.txt|
49 +--------------+--------------------------------------------------------------+
50 |applicability | Test can be configured with different packet sizes, amount |
51 | | of flows and test duration. Default values exist. |
54 | | max_ppm: The number of packets per million packets sent |
55 | | that are acceptable to lose, i.e. not received. |
56 +--------------+--------------------------------------------------------------+
57 |pre-test | The test case image needs to be installed into Glance |
58 |conditions | with pktgen included in it. |
60 | | No POD specific requirements have been identified. |
61 +--------------+------+----------------------------------+--------------------+
62 |test sequence | step | description | result |
63 | +------+----------------------------------+--------------------+
64 | | 1 | The hosts are installed, as | Logs are stored |
65 | | | server and client. pktgen is | |
66 | | | invoked and logs are produced | |
68 +--------------+------+----------------------------------+--------------------+
69 |test verdict | Fails only if SLA is not passed, or if there is a test case |
70 | | execution problem. |
71 +--------------+--------------------------------------------------------------+