diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2018-04-11 09:07:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-11 09:07:03 +0000 |
commit | 7e263087c47e471fff47f204e79d7fe21a56eaa9 (patch) | |
tree | e8f950b9aad97aa38bb728d06adb454ae7cf03e1 /docs/testing/user/configguide/trafficgen.rst | |
parent | a3e365e8b39e4e907870a8224a760591c7371130 (diff) | |
parent | e9ff0fdf355d26d0c171c6c1137c4beb12561233 (diff) |
Merge "trex: Add support for burst traffic type"
Diffstat (limited to 'docs/testing/user/configguide/trafficgen.rst')
-rw-r--r-- | docs/testing/user/configguide/trafficgen.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/testing/user/configguide/trafficgen.rst b/docs/testing/user/configguide/trafficgen.rst index c1df27dc..f9e2db11 100644 --- a/docs/testing/user/configguide/trafficgen.rst +++ b/docs/testing/user/configguide/trafficgen.rst @@ -39,6 +39,7 @@ and is configured as follows: TRAFFIC = { 'traffic_type' : 'rfc2544_throughput', 'frame_rate' : 100, + 'burst_size' : 100, 'bidir' : 'True', # will be passed as string in title format to tgen 'multistream' : 0, 'stream_type' : 'L4', @@ -871,6 +872,21 @@ place. This can be adjusted with the following configurations: TRAFFICGEN_TREX_LEARNING_MODE=True TRAFFICGEN_TREX_LEARNING_DURATION=5 +Latency measurements have impact on T-Rex performance. Thus vswitchperf uses a separate +latency stream for each direction with limited speed. This workaround is used for RFC2544 +**Throughput** and **Continuous** traffic types. In case of **Burst** traffic type, +the latency statistics are measured for all frames in the burst. Collection of latency +statistics is driven by configuration option ``TRAFFICGEN_TREX_LATENCY_PPS`` as follows: + + * value ``0`` - disables latency measurements + * non zero integer value - enables latency measurements; In case of Throughput + and Continuous traffic types, it specifies a speed of latency specific stream + in PPS. In case of burst traffic type, it enables latency measurements for all frames. + +.. code-block:: console + + TRAFFICGEN_TREX_LATENCY_PPS = 1000 + SR-IOV and Multistream layer 2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ T-Rex by default only accepts packets on the receive side if the destination mac matches the |