5f02e036acedc39c1f99e5886dddef1e38ff23ab
[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_stress_ping                                            |
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/posca_factor_system_bandwith |
25 |              |                                                              |
26 |              | stack number: 1                                              |
27 |              |                                                              |
28 +--------------+--------------------------------------------------------------+
29 |test result   | PKT loss rate, latency, throupht, cpu usage                  |
30 |              |                                                              |
31 +--------------+--------------------------------------------------------------+
32
33 Configration
34 ===========
35 ::
36
37     test_config:
38       tool: netperf
39       protocol: tcp
40       test_time: 20
41       tx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
42       rx_pkt_sizes: 64, 256, 1024, 4096, 8192, 16384, 32768, 65536
43       cpu_load: 0.9
44       latency: 100000
45     runner_config:
46       dashboard: "y"
47       dashboard_ip:
48       stack_create: yardstick
49       yardstick_test_ip:
50       yardstick_test_dir: "samples"
51       yardstick_testcase: "netperf_bottlenecks"