diff options
-rwxr-xr-x | bootstrap-verify-perf.sh | 13 | ||||
-rw-r--r-- | docs/tag_documentation.rst | 9 | ||||
-rw-r--r-- | resources/libraries/python/DropRateSearch.py | 43 | ||||
-rw-r--r-- | resources/libraries/python/TrafficGenerator.py | 61 | ||||
-rw-r--r-- | resources/libraries/robot/performance.robot | 296 | ||||
-rw-r--r-- | tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot | 232 | ||||
-rw-r--r-- | tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot | 230 | ||||
-rw-r--r-- | tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot | 232 | ||||
-rw-r--r-- | tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot | 319 | ||||
-rw-r--r-- | tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot | 230 | ||||
-rw-r--r-- | tests/suites/performance/Short_Bridge_Domain_Intel-X520-DA2.robot | 37 | ||||
-rw-r--r-- | tests/suites/performance/Short_IPv4_Intel-X520-DA2.robot | 37 | ||||
-rw-r--r-- | tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot | 37 | ||||
-rw-r--r-- | tests/suites/performance/Short_Xconnect_Dot1q_Intel-X520-DA2.robot | 18 | ||||
-rw-r--r-- | tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot | 37 |
15 files changed, 1692 insertions, 139 deletions
diff --git a/bootstrap-verify-perf.sh b/bootstrap-verify-perf.sh index 8662026dc2..7f5840ee0d 100755 --- a/bootstrap-verify-perf.sh +++ b/bootstrap-verify-perf.sh @@ -161,6 +161,19 @@ case "$TEST_TAG" in -L TRACE \ -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ -s "performance.Long_Xconnect_Dot1q*" \ + ;; + PERFTEST_NDR ) + pybot ${PYBOT_ARGS} \ + -L TRACE \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s performance -i NDR \ + tests/ + ;; + PERFTEST_PDR ) + pybot ${PYBOT_ARGS} \ + -L TRACE \ + -v TOPOLOGY_PATH:${WORKING_TOPOLOGY} \ + -s performance -i PDR \ tests/ ;; * ) diff --git a/docs/tag_documentation.rst b/docs/tag_documentation.rst index dd9e2ecc91..859972bb8b 100644 --- a/docs/tag_documentation.rst +++ b/docs/tag_documentation.rst @@ -84,3 +84,12 @@ PERFTEST_SHORT PERFTEST_LONG Find performance of DUT based on RFC2544 with linear/binary/combined search. Each test case run is executed for 60 seconds. + +PDR + Partial Drop Rate evaluation of single run result. Loss acceptance of + dropped packets from number of sent packet is set as variable in frames or + percentage. + +NDR + Non Drop Rate evaluation of results. Loss acceptance of dropped packets is + set to zero lost packets. diff --git a/resources/libraries/python/DropRateSearch.py b/resources/libraries/python/DropRateSearch.py index 8f8e371add..1f8e5618fe 100644 --- a/resources/libraries/python/DropRateSearch.py +++ b/resources/libraries/python/DropRateSearch.py @@ -135,6 +135,49 @@ class DropRateSearch(object): self._rate_max = float(max_rate) self._rate_min = float(min_rate) + def set_loss_acceptance(self, loss_acceptance): + """Set loss acceptance treshold for PDR search. + + :param loss_acceptance: Loss acceptance treshold for PDR search. + :type loss_acceptance: str + :return: nothing + """ + if float(loss_acceptance) < 0: + raise ValueError("Loss acceptance must be higher or equal 0") + else: + self._loss_acceptance = float(loss_acceptance) + + def get_loss_acceptance(self): + """Return configured loss acceptance treshold. + + :return: Loss acceptance treshold. + :rtype: float + """ + return self._loss_acceptance + + def set_loss_acceptance_type_percentage(self): + """Set loss acceptance treshold type to percentage. + + :return: nothing + """ + self._loss_acceptance_type = LossAcceptanceType.PERCENTAGE + + def set_loss_acceptance_type_frames(self): + """Set loss acceptance treshold type to frames. + + :return: nothing + """ + self._loss_acceptance_type = LossAcceptanceType.FRAMES + + def loss_acceptance_type_is_percentage(self): + """Return true if loss acceptance treshold type is percentage, + false otherwise. + + :return: True if loss acceptance treshold type is percentage. + :rtype: boolean + """ + return self._loss_acceptance_type == LossAcceptanceType.PERCENTAGE + def set_search_linear_step(self, step_rate): """Set step size for linear search. diff --git a/resources/libraries/python/TrafficGenerator.py b/resources/libraries/python/TrafficGenerator.py index 3969891cf9..5dab8b98d5 100644 --- a/resources/libraries/python/TrafficGenerator.py +++ b/resources/libraries/python/TrafficGenerator.py @@ -46,11 +46,16 @@ class TGDropRateSearchImpl(DropRateSearch): tg_instance.trex_stl_start_remote_exec(self.get_duration(), unit_rate, frame_size, traffic_type, False) - - # TODO: getters for tg_instance and loss_acceptance_type - logger.trace("comparing: {} < {} ".format(tg_instance._loss, - loss_acceptance)) - if float(tg_instance._loss) > float(loss_acceptance): + loss = tg_instance.get_loss() + sent = tg_instance.get_sent() + if self.loss_acceptance_type_is_percentage(): + loss = (float(loss) / float(sent)) * 100 + + # TODO: getters for tg_instance + logger.trace("comparing: {} < {} {}".format(loss, + loss_acceptance, + loss_acceptance_type)) + if float(loss) > float(loss_acceptance): return False else: return True @@ -73,6 +78,30 @@ class TrafficGenerator(object): # T-REX interface order mapping self._ifaces_reordered = 0 + def get_loss(self): + """Return number of lost packets. + + :return: Number of lost packets. + :rtype: str + """ + return self._loss + + def get_sent(self): + """Return number of sent packets. + + :return: Number of sent packets. + :rtype: str + """ + return self._sent + + def get_received(self): + """Return number of received packets. + + :return: Number of received packets. + :rtype: str + """ + return self._received + #pylint: disable=too-many-arguments, too-many-locals def initialize_traffic_generator(self, tg_node, tg_if1, tg_if2, dut1_node, dut1_if1, dut1_if2, @@ -361,7 +390,7 @@ class TrafficGenerator(object): return self._result def no_traffic_loss_occurred(self): - """Fail is loss occurred in traffic run. + """Fail if loss occurred in traffic run. :return: nothing """ @@ -369,3 +398,23 @@ class TrafficGenerator(object): raise Exception('The traffic generation has not been issued') if self._loss != '0': raise Exception('Traffic loss occurred: {0}'.format(self._loss)) + + def partial_traffic_loss_accepted(self, loss_acceptance, + loss_acceptance_type): + """Fail if loss is higher then accepted in traffic run. + + :return: nothing + """ + if self._loss is None: + raise Exception('The traffic generation has not been issued') + + if loss_acceptance_type == 'percentage': + loss = (float(self._loss) / float(self._sent)) * 100 + elif loss_acceptance_type == 'frames': + loss = float(self._loss) + else: + raise Exception('Loss acceptance type not supported') + + if loss > float(loss_acceptance): + raise Exception("Traffic loss {} above loss acceptance: {}".format( + loss, loss_acceptance)) diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index 5c8af8ede2..6c99e1d5aa 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -61,6 +61,18 @@ | | Set Suite Variable | ${10Ge_linerate_pps_9000B} | | Set Suite Variable | ${10Ge_linerate_pps_9004B} +| Setup performance global Variables +| | [Documentation] | Setup performance global Variables +| | ... +| | ... | _NOTE:_ This KW sets following suite variables: +| | ... | - ${glob_loss_acceptance} - Loss acceptance treshold +| | ... | - ${glob_loss_acceptance_type} - Loss acceptance treshold type +| | ... +| | ${glob_loss_acceptance}= | Set Variable | 0.5 +| | ${glob_loss_acceptance_type}= | Set Variable | percentage +| | Set Suite Variable | ${glob_loss_acceptance} +| | Set Suite Variable | ${glob_loss_acceptance_type} + | 3-node circular Topology Variables Setup | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | | ... | ${nodes['TG']} @@ -183,6 +195,7 @@ | | Setup default startup configuration of VPP on all DUTs | | Update All Interface Data On All Nodes | ${nodes} | | Setup performance rate Variables +| | Setup performance global Variables | | 3-node circular Topology Variables Setup | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} | | ... | ${dut1} | ${dut1_if1} | ${dut1_if2} @@ -194,6 +207,7 @@ | | Setup default startup configuration of VPP on all DUTs | | Update All Interface Data On All Nodes | ${nodes} | | Setup performance rate Variables +| | Setup performance global Variables | | 3-node circular Topology Variables Setup with DUT interface model | | ... | ${nic_model} | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} @@ -205,7 +219,24 @@ | | Teardown traffic generator | ${tg} | Find NDR using linear search and pps -| | [Documentation] | Find throughput by using RFC2544 linear search +| | [Documentation] | Find throughput by using RFC2544 linear search with +| | ... | non drop rate +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${start_rate} - Initial start rate [pps]. Type: float +| | ... | - ${step_rate} - Step of linear search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find NDR using linear search and pps \| 64 \| 5000000 \| \ +| | ... | \| 100000 \| 3-node-IPv4 \| 100000 \| 14880952 | | [Arguments] | ${framesize} | ${start_rate} | ${step_rate} | | ... | ${topology_type} | ${min_rate} | ${max_rate} | | ${duration}= | Set Variable | 10 @@ -221,8 +252,69 @@ | | ... | ${framesize} | ${topology_type} | | ... | fail_on_loss=${False} +| Find PDR using linear search and pps +| | [Documentation] | Find throughput by using RFC2544 linear search with +| | ... | partial drop rate, with PDR threshold 0.5%. +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${start_rate} - Initial start rate [pps]. Type: float +| | ... | - ${step_rate} - Step of linear search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... | - ${loss_acceptance} - Accepted loss during search. Type: float +| | ... | - ${loss_acceptance_type} - Percentage or frames. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find PDR using linear search and pps \| 64 \| 5000000 \ +| | ... | \| 100000 \| 3-node-IPv4 \| 100000 \| 14880952 \| 0.5 \| percentage +| | [Arguments] | ${framesize} | ${start_rate} | ${step_rate} +| | ... | ${topology_type} | ${min_rate} | ${max_rate} +| | ... | ${loss_acceptance}=0 | ${loss_acceptance_type}='frames' +| | ${duration}= | Set Variable | 10 +| | Set Duration | ${duration} +| | Set Search Rate Boundaries | ${max_rate} | ${min_rate} +| | Set Search Linear Step | ${step_rate} +| | Set Search Frame Size | ${framesize} +| | Set Search Rate Type pps +| | Set Loss Acceptance | ${loss_acceptance} +| | Run Keyword If | '${loss_acceptance_type}' == 'percentage' +| | ... | Set Loss Acceptance Type Percentage +| | Linear Search | ${start_rate} | ${topology_type} +| | ${rate_per_stream}= | Verify Search Result +| | Display result of PDR search | ${rate_per_stream} | ${framesize} | 2 +| | ... | ${loss_acceptance} | ${loss_acceptance_type} +| | Traffic should pass with partial loss | ${duration} | ${rate_per_stream}pps +| | ... | ${framesize} | ${topology_type} +| | ... | ${loss_acceptance} +| | ... | ${loss_acceptance_type} +| | ... | fail_on_loss=${False} + | Find NDR using binary search and pps -| | [Documentation] | Find throughput by using RFC2544 binary search +| | [Documentation] | Find throughput by using RFC2544 binary search with +| | ... | non drop rate +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${binary_min} - Lower boundary of search [pps]. Type: float +| | ... | - ${binary_max} - Upper boundary of search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... | - ${threshold} - Threshold to stop search [pps]. Type: integer +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find NDR using binary search and pps \| 64 \| 6000000 \ +| | ... | \| 12000000 \| 3-node-IPv4 \| 100000 \| 14880952 \| 50000 | | [Arguments] | ${framesize} | ${binary_min} | ${binary_max} | | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} | | ${duration}= | Set Variable | 10 @@ -238,9 +330,71 @@ | | ... | ${framesize} | ${topology_type} | | ... | fail_on_loss=${False} +| Find PDR using binary search and pps +| | [Documentation] | Find throughput by using RFC2544 binary search with +| | ... | partial drop rate, with PDR threshold 0.5%. +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${binary_min} - Lower boundary of search [pps]. Type: float +| | ... | - ${binary_max} - Upper boundary of search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... | - ${threshold} - Threshold to stop search [pps]. Type: integer +| | ... | - ${loss_acceptance} - Accepted loss during search. Type: float +| | ... | - ${loss_acceptance_type} - Percentage or frames. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find PDR using binary search and pps \| 64 \| 6000000 \ +| | ... | \| 12000000 \| 3-node-IPv4 \| 100000 \| 14880952 \| 50000 \| 0.5 \ +| | ... | \| percentage +| | [Arguments] | ${framesize} | ${binary_min} | ${binary_max} +| | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} +| | ... | ${loss_acceptance}=0 | ${loss_acceptance_type}='frames' +| | ${duration}= | Set Variable | 10 +| | Set Duration | ${duration} +| | Set Search Rate Boundaries | ${max_rate} | ${min_rate} +| | Set Search Frame Size | ${framesize} +| | Set Search Rate Type pps +| | Set Loss Acceptance | ${loss_acceptance} +| | Run Keyword If | '${loss_acceptance_type}' == 'percentage' +| | ... | Set Loss Acceptance Type Percentage +| | Set Binary Convergence Threshold | ${threshold} +| | Binary Search | ${binary_min} | ${binary_max} | ${topology_type} +| | ${rate_per_stream}= | Verify Search Result +| | Display result of PDR search | ${rate_per_stream} | ${framesize} | 2 +| | ... | ${loss_acceptance} | ${loss_acceptance_type} +| | Traffic should pass with partial loss | ${duration} | ${rate_per_stream}pps +| | ... | ${framesize} | ${topology_type} +| | ... | ${loss_acceptance} +| | ... | ${loss_acceptance_type} +| | ... | fail_on_loss=${False} + | Find NDR using combined search and pps | | [Documentation] | Find throughput by using RFC2544 combined search -| | ... | (linear + binary) +| | ... | (linear + binary) with non drop rate +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${start_rate} - Initial start rate [pps]. Type: float +| | ... | - ${step_rate} - Step of linear search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... | - ${threshold} - Threshold to stop search [pps]. Type: integer +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find NDR using combined search and pps \| 64 \| 5000000 \ +| | ... | \| 100000 \| 3-node-IPv4 \| 100000 \| 14880952 \| 5000 | | [Arguments] | ${framesize} | ${start_rate} | ${step_rate} | | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} | | ${duration}= | Set Variable | 10 @@ -257,9 +411,68 @@ | | ... | ${framesize} | ${topology_type} | | ... | fail_on_loss=${False} +| Find PDR using combined search and pps +| | [Documentation] | Find throughput by using RFC2544 combined search +| | ... | (linear + binary) with partial drop rate, with PDR +| | ... | threshold 0.5%. +| | ... +| | ... | *Arguments:* +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${start_rate} - Initial start rate [pps]. Type: float +| | ... | - ${step_rate} - Step of linear search [pps]. Type: float +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${min_rate} - Lower limit of search [pps]. Type: float +| | ... | - ${max_rate} - Upper limit of search [pps]. Type: float +| | ... | - ${threshold} - Threshold to stop search [pps]. Type: integer +| | ... | - ${loss_acceptance} - Accepted loss during search. Type: float +| | ... | - ${loss_acceptance_type} - Percentage or frames. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Find PDR using combined search and pps \| 64 \| 5000000 \ +| | ... | \| 100000 \| 3-node-IPv4 \| 100000 \| 14880952 \| 5000 \| 0.5 \ +| | ... | \| percentage +| | [Arguments] | ${framesize} | ${start_rate} | ${step_rate} +| | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} +| | ... | ${loss_acceptance}=0 | ${loss_acceptance_type}='frames' +| | ${duration}= | Set Variable | 10 +| | Set Duration | ${duration} +| | Set Search Rate Boundaries | ${max_rate} | ${min_rate} +| | Set Search Linear Step | ${step_rate} +| | Set Search Frame Size | ${framesize} +| | Set Search Rate Type pps +| | Set Loss Acceptance | ${loss_acceptance} +| | Run Keyword If | '${loss_acceptance_type}' == 'percentage' +| | ... | Set Loss Acceptance Type Percentage +| | Set Binary Convergence Threshold | ${threshold} +| | Combined Search | ${start_rate} | ${topology_type} +| | ${rate_per_stream}= | Verify Search Result +| | Display result of PDR search | ${rate_per_stream} | ${framesize} | 2 +| | ... | ${loss_acceptance} | ${loss_acceptance_type} +| | Traffic should pass with partial loss | ${duration} | ${rate_per_stream}pps +| | ... | ${framesize} | ${topology_type} +| | ... | ${loss_acceptance} +| | ... | ${loss_acceptance_type} +| | ... | fail_on_loss=${False} + | Display result of NDR search | | [Documentation] | Display result of NDR search in packet per seconds (total -| | ... | and per stream) and Gbps +| | ... | and per stream) and Gbps. +| | ... +| | ... | *Arguments:* +| | ... | - ${rate_per_stream} - Measured rate per stream [pps]. Type: string +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${nr_streams} - Total number of streams. Type: integer +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Display result of NDR search \| 4400000 \| 64 \| 2 | | [Arguments] | ${rate_per_stream} | ${framesize} | ${nr_streams} | | ${rate_total}= | Evaluate | ${rate_per_stream}*${nr_streams} | | ${bandwidth_total}= | Evaluate | ${rate_total}*(${framesize}+20)*8/(10**9) @@ -267,7 +480,51 @@ | | Set Test Message | (${nr_streams}x ${rate_per_stream} pps) | append=yes | | Set Test Message | FINAL_BANDWIDTH: ${bandwidth_total} Gbps | append=yes +| Display result of PDR search +| | [Documentation] | Display result of PDR search in packet per seconds (total +| | ... | and per stream) and Gbps. +| | ... +| | ... | *Arguments:* +| | ... | - ${rate_per_stream} - Measured rate per stream [pps]. Type: string +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${nr_streams} - Total number of streams. Type: integer +| | ... | - ${loss_acceptance} - Accepted loss during search. Type: float +| | ... | - ${loss_acceptance_type} - Percentage or frames. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Display result of PDR search \| 4400000 \| 64 \| 2 \| 0.5 \ +| | ... | \| percentage +| | [Arguments] | ${rate_per_stream} | ${framesize} | ${nr_streams} +| | ... | ${loss_acceptance} | ${loss_acceptance_type} +| | ${rate_total}= | Evaluate | ${rate_per_stream}*${nr_streams} +| | ${bandwidth_total}= | Evaluate | ${rate_total}*(${framesize}+20)*8/(10**9) +| | Set Test Message | FINAL_RATE: ${rate_total} pps +| | Set Test Message | (${nr_streams}x ${rate_per_stream} pps) | append=yes +| | Set Test Message | FINAL_BANDWIDTH: ${bandwidth_total} Gbps | append=yes +| | Set Test Message | ${\n}LOSS_ACCEPTANCE: ${loss_acceptance} ${loss_acceptance_type} +| | ... | append=yes + | Traffic should pass with no loss +| | [Documentation] | Send traffic at specified rate. No packet loss is +| | ... | accepted at loss evaluation. +| | ... +| | ... | *Arguments:* +| | ... | - ${duration} - Duration of traffic run [s]. Type: integer +| | ... | - ${rate} - Rate for sending packets. Type: string +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${topology_type} - Topology type. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Traffic should pass with no loss \| 10 \| 4.0mpps \| 64 \ +| | ... | \| 3-node-IPv4 | | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type} | | ... | ${fail_on_loss}=${True} | | Clear and show runtime counters with running traffic | ${duration} @@ -278,6 +535,37 @@ | | Show statistics on all DUTs | | Run Keyword If | ${fail_on_loss} | No traffic loss occurred +| Traffic should pass with partial loss +| | [Documentation] | Send traffic at specified rate. Partial packet loss is +| | ... | accepted within loss acceptance value. +| | ... +| | ... | *Arguments:* +| | ... | - ${duration} - Duration of traffic run [s]. Type: integer +| | ... | - ${rate} - Rate for sending packets. Type: string +| | ... | - ${framesize} - L2 Frame Size [B]. Type: integer +| | ... | - ${topology_type} - Topology type. Type: string +| | ... | - ${loss_acceptance} - Accepted loss during search. Type: float +| | ... | - ${loss_acceptance_type} - Percentage or frames. Type: string +| | ... +| | ... | *Return:* +| | ... | - No value returned +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Traffic should pass with partial loss \| 10 \| 4.0mpps \| 64 \ +| | ... | \| 3-node-IPv4 \| 0.5 \| percentage +| | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type} +| | ... | ${loss_acceptance} | ${loss_acceptance_type} +| | ... | ${fail_on_loss}=${True} +| | Clear and show runtime counters with running traffic | ${duration} +| | ... | ${rate} | ${framesize} | ${topology_type} +| | Clear all counters on all DUTs +| | Send traffic on tg | ${duration} | ${rate} | ${framesize} +| | ... | ${topology_type} | warmup_time=0 +| | Show statistics on all DUTs +| | Run Keyword If | ${fail_on_loss} | Partial traffic loss accepted +| | ... | ${loss_acceptance} | ${loss_acceptance_type} + | Clear and show runtime counters with running traffic | | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type} | | Send traffic on tg | -1 | ${rate} | ${framesize} diff --git a/tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot b/tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot index 78b873cf5c..710c01e8f6 100644 --- a/tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot @@ -34,7 +34,7 @@ | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -51,11 +51,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 64B frames by using +| | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 1518B frames by using | | ... | binary search with threshold 10,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -72,11 +96,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 1518B frames by using +| | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 9000B frames by using | | ... | binary search with threshold of 5,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -92,11 +140,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 9000B frames by using +| | ... | binary search with threshold of 5,000pps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -113,11 +184,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 64B frames by +| | ... | using binary search with threshold 0.1Mpps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by | | ... | using binary search with threshold 10,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -134,11 +229,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -154,11 +273,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by +| | ... | using binary search with threshold 5,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 64B | | ... | frames by using binary search with threshold 0.1Mpps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -175,11 +317,36 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 64B +| | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance +| | ... | is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B | | ... | frames by using binary search with threshold 10,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -196,11 +363,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 1518B +| | ... | frames by using binary search with threshold 10,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B | | ... | frames by using binary search with threshold 5,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -216,3 +407,26 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through bridge domain in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 9000B +| | ... | frames by using binary search with threshold 5,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 bridge domain initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + diff --git a/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot b/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot index d80dd5b7d3..90b3abd0d9 100644 --- a/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot @@ -38,7 +38,7 @@ | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -55,11 +55,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 64B frames by using +| | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 1518B frames by using | | ... | binary search with threshold 10,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -76,11 +100,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 1518B frames by using +| | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 9000B frames by using | | ... | binary search with threshold 5,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -96,11 +144,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 9000B frames by using +| | ... | binary search with threshold of 5,000pps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -117,11 +188,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 64B frames by +| | ... | using binary search with threshold 0.1Mpps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by | | ... | using binary search with threshold 10,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -138,11 +233,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -158,11 +277,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by +| | ... | using binary search with threshold 5,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 64B | | ... | frames by using binary search with threshold 0.1Mpps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -179,11 +321,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 64B +| | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance +| | ... | is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B | | ... | frames by using binary search with threshold 10,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -200,11 +366,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 1518B +| | ... | frames by using binary search with threshold 10,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B | | ... | frames by using binary search with threshold 5,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -220,3 +410,25 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 9000B +| | ... | frames by using binary search with threshold 5,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} diff --git a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot index 0a45796425..a09153c278 100644 --- a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot @@ -33,7 +33,7 @@ | | [Documentation] | | ... | Find throughput with non drop rate for 78B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -50,11 +50,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 78B frames by using +| | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 1518B frames by using | | ... | binary search with threshold 10,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -71,11 +95,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 1518B frames by using +| | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 9000B frames by using | | ... | binary search with threshold 5,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -91,11 +139,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 9000B frames by using +| | ... | binary search with threshold of 5,000pps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 78B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -112,11 +183,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 78B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by | | ... | using binary search with threshold 10,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -133,11 +228,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -153,11 +272,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by +| | ... | using binary search with threshold 5,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B | | ... | frames by using binary search with threshold 0.1Mpps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -174,11 +316,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 78B +| | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance +| | ... | is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B | | ... | frames by using binary search with threshold 10,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -195,12 +361,36 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 1518B +| | ... | frames by using binary search with threshold 10,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B | | ... | frames by using linear search starting at 138,580pps, stepping down -| | ... | with step of 5,000pps -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | with step of 5,000pps. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -216,3 +406,25 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 9000B +| | ... | frames by using binary search with threshold 5,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} diff --git a/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot b/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot index 76dd5a10a9..d13c707c56 100644 --- a/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot @@ -40,7 +40,7 @@ | | ... | Find throughput with non drop rate by using binary search with | | ... | threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging is | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} @@ -65,12 +65,45 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} -| Find NDR by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| Find PDR by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate by using binary search with +| | ... | threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging is +| | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + +| Find NDR by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate by using binary search with | | ... | threshold 10,000pps. Frames from and to TG are 1518B long. Tagging is | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} @@ -95,12 +128,45 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with non drop rate by using binary search with +| | ... | threshold 10,000pps. Frames from and to TG are 1518B long. Tagging is +| | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] -| | ... | Find throughput with non drop rate by using binary searchwith +| | ... | Find throughput with non drop rate by using binary search with | | ... | threshold 5,000pps. Frames from and to TG are 9000B long. Tagging is | | ... | applied between DUTs inserting 4B VLAN ID into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} @@ -124,12 +190,44 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate by using binary search with +| | ... | threshold 5,000pps. Frames from and to TG are 9000B long. Tagging is +| | ... | applied between DUTs inserting 4B VLAN ID into a packet header. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate by using binary search | | ... | with threshold 0.1Mpps. Frames from and to TG are 64B long. Tagging | | ... | is applied between DUTs inserting 4B VLAN ID into a packet header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} @@ -154,13 +252,46 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate by using binary +| | ... | search with threshold 0.1Mpps. Frames from and to TG are 64B long. +| | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet +| | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate by using binary search | | ... | with threshold 10,000pps. Frames from and to TG are 1518B long. | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet | | ... | header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} @@ -185,13 +316,46 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate by using binary +| | ... | search with threshold 10,000pps. Frames from and to TG are 1518B long. +| | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet +| | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate by using binary search | | ... | with threshold 5,000pps. Frames from and to TG are 9000B long. | | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet | | ... | header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} @@ -215,13 +379,45 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate by using binary +| | ... | search with threshold 5,000pps. Frames from and to TG are 9000B long. +| | ... | Tagging is applied between DUTs inserting 4B VLAN ID into a packet +| | ... | header. Loss acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using | | ... | binary search with threshold 0.1Mpps. Frames from and to TG are 64B | | ... | long. Tagging is applied between DUTs inserting 4B VLAN ID into a | | ... | packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} @@ -246,13 +442,47 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using +| | ... | binary search with threshold 0.1Mpps. Frames from and to TG are 64B +| | ... | long. Tagging is applied between DUTs inserting 4B VLAN ID into a +| | ... | packet header. Loss acceptance is set to 0.5 percent of transmitted +| | ... | packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_68B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using | | ... | binary search with threshold 10,000pps. Frames from and to TG are | | ... | 1518B long. Tagging is applied between DUTs inserting 4B VLAN ID into | | ... | a packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} @@ -277,13 +507,47 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using +| | ... | binary search with threshold 10,000pps. Frames from and to TG are +| | ... | 1518B long. Tagging is applied between DUTs inserting 4B VLAN ID into +| | ... | a packet header. Loss acceptance is set to 0.5 percent of transmitted +| | ... | packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1522B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate by using | | ... | binary search with threshold 5,000pps. Frames from and to TG are | | ... | 9000B long. Tagging is applied between DUTs inserting 4B VLAN ID into | | ... | a packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} @@ -306,3 +570,36 @@ | | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} + +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate by using +| | ... | binary search with threshold 5,000pps. Frames from and to TG are +| | ... | 9000B long. Tagging is applied between DUTs inserting 4B VLAN ID into +| | ... | a packet header. Loss acceptance is set to 0.5 percent of transmitted +| | ... | packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9004B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And VPP interfaces in path are up +| | When VLAN dot1q subinterfaces initialized on 3-node topology +| | ... | ${dut1} | ${dut1_if2} | ${dut2} | ${dut2_if1} | ${subid} +| | And L2 tag rewrite method setup on interfaces +| | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} +| | ... | ${tag_rewrite} +| | And Interfaces and VLAN sub-interfaces inter-connected using L2-xconnect +| | ... | ${dut1} | ${dut1_if1} | ${subif_index_1} +| | ... | ${dut2} | ${dut2_if2} | ${subif_index_2} +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} diff --git a/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot b/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot index 946b13a1d6..0c382df212 100644 --- a/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot @@ -35,7 +35,7 @@ | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -52,11 +52,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 64B frames by using +| | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 1518B frames by using | | ... | binary search with threshold 10,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -73,11 +97,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 1518B frames by using +| | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 9000B frames by using | | ... | binary search with threshold 5000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -93,11 +141,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 9000B frames by using +| | ... | binary search with threshold of 5,000pps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 64B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -114,11 +185,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 64B frames by +| | ... | using binary search with threshold 0.1Mpps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by | | ... | using binary search with threshold 10,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -135,11 +230,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -155,11 +274,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by +| | ... | using binary search with threshold 5,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 64B | | ... | frames by using binary search with threshold 0.1Mpps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -176,11 +318,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 64B +| | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance +| | ... | is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 64 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B | | ... | frames by using binary search with threshold 10,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -197,11 +363,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 1518B +| | ... | frames by using binary search with threshold 10,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -217,3 +407,25 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 9000B frames through L2 cross connect in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 9000B +| | ... | frames by using binary search with threshold 5,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} diff --git a/tests/suites/performance/Short_Bridge_Domain_Intel-X520-DA2.robot b/tests/suites/performance/Short_Bridge_Domain_Intel-X520-DA2.robot index 434a3d08a9..1b8ec45e88 100644 --- a/tests/suites/performance/Short_Bridge_Domain_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_Bridge_Domain_Intel-X520-DA2.robot @@ -10,6 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.NodePath @@ -26,8 +27,8 @@ | 1core VPP passes 64B frames through bridge domain at 2x 3.2Mpps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 64B frames through bridge domain -| | ... | at 2x 3.2Mpps in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 3.2Mpps in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 3.2mpps @@ -42,8 +43,8 @@ | 1core VPP passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 1518B frames through bridge domain -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -58,8 +59,8 @@ | 1core VPP passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 9000B frames through bridge domain -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -73,8 +74,8 @@ | 2core VPP with rss 1 passes 64B frames through bridge domain at 2x 6.9Mpps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 64B frames through bridge domain -| | ... | at 2x 6.9Mpps in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 6.9Mpps in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 6.9mpps @@ -89,8 +90,8 @@ | 2core VPP with rss 1 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 1518B frames through bridge domain -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -105,8 +106,8 @@ | 2core VPP with rss 1 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 9000B frames through bridge domain -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -120,8 +121,8 @@ | 4core VPP with rss 2 passes 64B frames through bridge domain at 2x 7.4Mpps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 64B frames through bridge -| | ... | domain at 2x7.4Mpps in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | domain at 2x7.4Mpps in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 7.4mpps @@ -136,8 +137,8 @@ | 4core VPP with rss 2 passes 1518B frames through bridge domain at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through bridge -| | ... | domain at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | domain at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -152,8 +153,8 @@ | 4core VPP with rss 2 passes 9000B frames through bridge domain at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2should pass 9000B frames through bridge -| | ... | domain at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | domain at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps diff --git a/tests/suites/performance/Short_IPv4_Intel-X520-DA2.robot b/tests/suites/performance/Short_IPv4_Intel-X520-DA2.robot index bd39ae7f26..f29e51909b 100644 --- a/tests/suites/performance/Short_IPv4_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_IPv4_Intel-X520-DA2.robot @@ -10,6 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.topology.Topology @@ -30,8 +31,8 @@ | 1core VPP passes 64B frames through IPv4 forwarding at 2x 3.5Mpps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 64B frames through IPv4 forwarding -| | ... | at 2x 3.5Mpps in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 3.5Mpps in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 3.5mpps @@ -46,8 +47,8 @@ | 1core VPP passes 1518B frames through IPv4 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 1518B frames through IPv4 forwarding -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -62,8 +63,8 @@ | 1core VPP passes 9000B frames through IPv4 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 9000B frames through IPv4 forwarding -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -77,8 +78,8 @@ | 2core VPP with rss 1 passes 64B frames through IPv4 forwarding at 2x 7.5Mpps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 64B frames through IPv4 forwarding -| | ... | at 2x 7.5Mpps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 7.5Mpps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 7.5mpps @@ -93,8 +94,8 @@ | 2core VPP with rss 1 passes 1518B frames through IPv4 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 1518B frames through IPv4 forwarding -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -109,8 +110,8 @@ | 2core VPP with rss 1 passes 9000B frames through IPv4 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 9000B frames through IPv4 forwarding -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -124,8 +125,8 @@ | 4core VPP with rss 2 passes 64B frames through IPv4 forwarding at 2x 7.8Mpps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 64B frames through IPv4 -| | ... | forwarding at 2x 7.8Mpps in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x 7.8Mpps in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 7.8mpps @@ -140,8 +141,8 @@ | 4core VPP with rss 2 passes 1518B frames through IPv4 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through IPv4 -| | ... | forwarding at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -156,8 +157,8 @@ | 4core VPP with rss 2 passes 9000B frames through IPv4 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through IPv4 -| | ... | forwarding at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps diff --git a/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot b/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot index ad75aaefee..18e425bf1d 100644 --- a/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_IPv6_Intel-X520-DA2.robot @@ -10,6 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + *** Settings *** | Resource | resources/libraries/robot/performance.robot | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_SHORT @@ -26,8 +27,8 @@ | 1core VPP passes 78B frames through IPv6 forwarding at 2x 2.9Mpps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 78B frames through IPv6 forwarding -| | ... | at 2x2.9Mpps in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x2.9Mpps in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 2.9mpps @@ -42,8 +43,8 @@ | 1core VPP passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 1518B frames through IPv6 forwarding -| | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -58,8 +59,8 @@ | 1core VPP passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 9000B frames through IPv6 forwarding -| | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -73,8 +74,8 @@ | 2core VPP with rss 1 passes 78B frames through IPv6 forwarding at 2x 5.9Mpps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 78B frames through IPv6 forwarding -| | ... | at 2x5.9Mpps in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x5.9Mpps in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 5.9mpps @@ -89,8 +90,8 @@ | 2core VPP with rss 1 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 1518B frames through IPv6 forwarding -| | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -105,8 +106,8 @@ | 2core VPP with rss 1 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 9000B frames through IPv6 forwarding -| | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -120,8 +121,8 @@ | 4core VPP with rss 2 passes 78B frames through IPv6 forwarding at 2x 7.3Mpps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 78B frames through IPv6 -| | ... | forwarding at 2x7.3Mpps in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x7.3Mpps in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 7.3mpps @@ -136,8 +137,8 @@ | 4core VPP with rss 2 passes 1518B frames through IPv6 forwarding at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through IPv6 -| | ... | forwarding at 2x812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -152,8 +153,8 @@ | 4core VPP with rss 2 passes 9000B frames through IPv6 forwarding at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through IPv6 -| | ... | forwarding at 2x138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | forwarding at 2x138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps diff --git a/tests/suites/performance/Short_Xconnect_Dot1q_Intel-X520-DA2.robot b/tests/suites/performance/Short_Xconnect_Dot1q_Intel-X520-DA2.robot index 71695c64bd..4f68d87d2f 100644 --- a/tests/suites/performance/Short_Xconnect_Dot1q_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_Xconnect_Dot1q_Intel-X520-DA2.robot @@ -34,7 +34,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at 2x2.9Mpps in | | ... | 3-node topology. Tagging is applied between DUTs inserting 4B VLAN ID | | ... | into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 2.9mpps @@ -60,7 +60,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 720,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 720000pps @@ -86,7 +86,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 120,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 120000pps @@ -111,7 +111,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at 2x5.8Mpps in | | ... | 3-node topology. Tagging is applied between DUTs inserting 4B VLAN ID | | ... | into a packet header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 5.8mpps @@ -137,7 +137,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 720,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 720000pps @@ -163,7 +163,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 120,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 120000pps @@ -188,7 +188,7 @@ | | ... | sub-interfaces inter-connected using L2 cross connect at 2x9.0Mpps in | | ... | 3-node topology. Tagging is applied between DUTs inserting 4B VLAN ID | | ... | into a packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 9.0mpps @@ -214,7 +214,7 @@ | | ... | dot1q sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 720,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 720000pps @@ -240,7 +240,7 @@ | | ... | dot1q sub-interfaces inter-connected using L2 cross connect at | | ... | 2x 120,000pps in 3-node topology. Tagging is applied between DUTs | | ... | inserting 4B VLAN ID into a packet header. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 120000pps diff --git a/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot b/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot index 4c8d38bf40..b716925a8b 100644 --- a/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot +++ b/tests/suites/performance/Short_Xconnect_Intel-X520-DA2.robot @@ -10,6 +10,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + *** Settings *** | Resource | resources/libraries/robot/performance.robot | Library | resources.libraries.python.InterfaceUtil @@ -27,8 +28,8 @@ | 1core VPP passes 64B frames through L2 cross connect at 2x 3.6Mpps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 64B frames through L2 cross connect -| | ... | at 2x3.6Mpps in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x3.6Mpps in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 3.6mpps @@ -43,8 +44,8 @@ | 1core VPP passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 1518B frames through L2 cross connect -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -59,8 +60,8 @@ | 1core VPP passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 1 core should pass 9000B frames through L2 cross connect -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -74,8 +75,8 @@ | 2core VPP with rss 1 passes 64B frames through L2 cross connect at 2x 8.3Mpps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 64B frames through L2 cross connect -| | ... | at 2x 8.3Mpps in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 8.3Mpps in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 8.3mpps @@ -90,8 +91,8 @@ | 2core VPP with rss 1 passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 1518B frames through L2 cross connect -| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -106,8 +107,8 @@ | 2core VPP with rss 1 passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 2 cores should pass 9000B frames through L2 cross connect -| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | ... | at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps @@ -121,8 +122,8 @@ | 4core VPP with rss 2 passes 64B frames through L2 cross connect at 2x 9.3Mpps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 64B frames through L2 cross -| | ... | connect at 2x9.3Mpps in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | connect at 2x9.3Mpps in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 9.3mpps @@ -137,8 +138,8 @@ | 4core VPP with rss 2 passes 1518B frames through L2 cross connect at 2x 812,743pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 1518B frames through L2 cross -| | ... | connect at 2x 812,743pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | connect at 2x 812,743pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps @@ -153,8 +154,8 @@ | 4core VPP with rss 2 passes 9000B frames through L2 cross connect at 2x 138,580pps in 3-node topology | | [Documentation] | | ... | VPP with 4 cores and rss 2 should pass 9000B frames through L2 cross -| | ... | connect at 2x 138,580pps (2x 10Gbps) in 3-node topology -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | connect at 2x 138,580pps (2x 10Gbps) in 3-node topology. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps |