diff options
Diffstat (limited to 'docs/testing')
-rw-r--r-- | docs/testing/developer/index.rst | 4 | ||||
-rw-r--r-- | docs/testing/user/configguide/index.rst | 2 | ||||
-rw-r--r-- | docs/testing/user/configguide/trafficgen.rst | 31 |
3 files changed, 34 insertions, 3 deletions
diff --git a/docs/testing/developer/index.rst b/docs/testing/developer/index.rst index 408cc69f..cdda1d98 100644 --- a/docs/testing/developer/index.rst +++ b/docs/testing/developer/index.rst @@ -51,7 +51,7 @@ VSPERF IETF Internet Draft .. toctree:: :caption: vSwitch Internet Draft :maxdepth: 2 - :numbered: + :numbered: This IETF INternet Draft on `Benchmarking Virtual Switches in OPNFV <https://tools.ietf.org/html/draft-ietf-bmwg-vswitch-opnfv-01>`_ was developed by VSPERF contributors and is maintained in the IETF repo. at https://tools.ietf.org/html/ @@ -62,7 +62,7 @@ VSPERF Scenarios and CI Results .. toctree:: :caption: VSPERF Scenarios & Results :maxdepth: 2 - :numbered: + :numbered: ./results/scenario.rst ./results/results.rst diff --git a/docs/testing/user/configguide/index.rst b/docs/testing/user/configguide/index.rst index 2b19591d..a7df2ebc 100644 --- a/docs/testing/user/configguide/index.rst +++ b/docs/testing/user/configguide/index.rst @@ -35,7 +35,7 @@ VSPERF User Guide .. toctree:: :caption: VSPERF Install, Upgrade, Traffic Generator Guide, Test Suite Guide :maxdepth: 2 - :numbered: + :numbered: ./installation.rst ./upgrade.rst diff --git a/docs/testing/user/configguide/trafficgen.rst b/docs/testing/user/configguide/trafficgen.rst index 32fd738b..1059ce12 100644 --- a/docs/testing/user/configguide/trafficgen.rst +++ b/docs/testing/user/configguide/trafficgen.rst @@ -614,6 +614,37 @@ Each value modifies the behavior of rfc 2544 throughput testing. Refer to your Xena documentation to understand the behavior changes in modifying these values. +Xena RFC2544 testing inside VSPerf also includes a final verification option. +This option allows for a faster binary search with a longer final verification +of the binary search result. This feature can be enabled in the configuration +files as well as the length of the final verification in seconds. + +..code-block:: python + + TRAFFICGEN_XENA_RFC2544_VERIFY = False + TRAFFICGEN_XENA_RFC2544_VERIFY_DURATION = 120 + +If the final verification does not pass the test with the lossrate specified +it will continue the binary search from its previous point. If the smart search +option is enabled the search will continue by taking the current pass rate minus +the minimum and divided by 2. The maximum is set to the last pass rate minus the +threshold value set. + +For example if the settings are as follows + +..code-block:: python + + TRAFFICGEN_XENA_RFC2544_BINARY_RESTART_SMART_SEARCH = True + TRAFFICGEN_XENA_2544_TPUT_MIN_VALUE = '0.5' + TRAFFICGEN_XENA_2544_TPUT_VALUE_RESOLUTION = '0.5' + +and the verification attempt was 64.5, smart search would take 64.5 - 0.5 / 2. +This would continue the search at 32 but still have a maximum possible value of +64. + +If smart is not enabled it will just resume at the last pass rate minus the +threshold value. + Continuous Traffic Testing ~~~~~~~~~~~~~~~~~~~~~~~~~~ |