Docs for Danube 2.0
[bottlenecks.git] / docs / testing / user / userguide / posca / posca_stress_traffic.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, Huawei Tech and others.
5
6 **********************************************
7 POSCA Stress (Factor) Test of System bandwidth
8 **********************************************
9
10
11 Test Case
12 =========
13 +-----------------------------------------------------------------------------+
14 |Bottlenecks POSCA Stress Test Traffic                                        |
15 |                                                                             |
16 +--------------+--------------------------------------------------------------+
17 |test case name| posca_factor_system_bandwith                                 |
18 |              |                                                              |
19 +--------------+--------------------------------------------------------------+
20 |description   | Stress test regarding baseline of the system for a single    |
21 |              | user, i.e., a VM pair while increasing the package size      |
22 +--------------+--------------------------------------------------------------+
23 |configuration | config file:                                                 |
24 |              |   /testsuite/posca/testcase_cfg/                             |
25 |              |                   posca_factor_system_bandwith.yaml          |
26 |              |                                                              |
27 |              | stack number: 1                                              |
28 |              |                                                              |
29 +--------------+--------------------------------------------------------------+
30 |test result   | PKT loss rate, latency, throupht, cpu usage                  |
31 |              |                                                              |
32 +--------------+--------------------------------------------------------------+
33
34 Configration
35 ===========
36 ::
37
38     test_config:
39       tool: netperf
40       protocol: tcp
41       test_time: 20
42       tx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
43       rx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
44       cpu_load: 0.9
45       latency: 100000
46     runner_config:
47       dashboard: "y"
48       dashboard_ip:
49       stack_create: yardstick
50       yardstick_test_ip:
51       yardstick_test_dir: "samples"
52       yardstick_testcase: "netperf_bottlenecks"