From: Peter Mikus Date: Wed, 18 May 2016 16:45:30 +0000 (+0200) Subject: Replace linear search with binary search X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=891fc96712979aff9118b69c7a5c8bfa61ef5a00 Replace linear search with binary search - JIRA: CSIT-97 - Replace linear search with binary search for long performance testing Change-Id: I19cbcf3d9f7f5e6ec5128287b58a2ea3aceff00c Signed-off-by: Peter Mikus --- diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index 73f5bb726a..64c7aa6d0f 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -27,6 +27,40 @@ | Documentation | Performance suite keywords *** Keywords *** +| Setup performance rate Variables +| | [Documentation] | Setup performance rates as Suite Variables +| | ... +| | ... | _NOTE:_ This KW sets following suite variables: +| | ... | - ${10Ge_linerate_pps_64B} - Maximum number of packet per second +| | ... | for 10GE with 64B L2 Frame. +| | ... | - ${10Ge_linerate_pps_68B} - Maximum number of packet per second +| | ... | for 10GE with 68B L2 Frame. +| | ... | - ${10Ge_linerate_pps_78B} - Maximum number of packet per second +| | ... | for 10GE with 78B L2 Frame. +| | ... | - ${10Ge_linerate_pps_1518B} - Maximum number of packet per second +| | ... | for 10GE with 1518B L2 Frame. +| | ... | - ${10Ge_linerate_pps_1522B} - Maximum number of packet per second +| | ... | for 10GE with 1522B L2 Frame. +| | ... | - ${10Ge_linerate_pps_9000B} - Maximum number of packet per second +| | ... | for 10GE with 9000B L2 Frame. +| | ... | - ${10Ge_linerate_pps_9004B} - Maximum number of packet per second +| | ... | for 10GE with 9004B L2 Frame. +| | ... +| | ${10Ge_linerate_pps_64B}= | Set Variable | 14880952 +| | ${10Ge_linerate_pps_68B}= | Set Variable | 14204545 +| | ${10Ge_linerate_pps_78B}= | Set Variable | 12755102 +| | ${10Ge_linerate_pps_1518B}= | Set Variable | 812743 +| | ${10Ge_linerate_pps_1522B}= | Set Variable | 810635 +| | ${10Ge_linerate_pps_9000B}= | Set Variable | 138580 +| | ${10Ge_linerate_pps_9004B}= | Set Variable | 138519 +| | Set Suite Variable | ${10Ge_linerate_pps_64B} +| | Set Suite Variable | ${10Ge_linerate_pps_68B} +| | Set Suite Variable | ${10Ge_linerate_pps_78B} +| | Set Suite Variable | ${10Ge_linerate_pps_1518B} +| | Set Suite Variable | ${10Ge_linerate_pps_1522B} +| | Set Suite Variable | ${10Ge_linerate_pps_9000B} +| | Set Suite Variable | ${10Ge_linerate_pps_9004B} + | 3-node circular Topology Variables Setup | | Append Nodes | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['DUT2']} | | ... | ${nodes['TG']} @@ -148,6 +182,7 @@ | | [Arguments] | ${topology_type} | | Setup default startup configuration of VPP on all DUTs | | Update All Interface Data On All Nodes | ${nodes} +| | Setup performance rate Variables | | 3-node circular Topology Variables Setup | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} | | ... | ${dut1} | ${dut1_if1} | ${dut1_if2} @@ -158,6 +193,7 @@ | | [Arguments] | ${topology_type} | ${nic_model} | | Setup default startup configuration of VPP on all DUTs | | Update All Interface Data On All Nodes | ${nodes} +| | Setup performance rate Variables | | 3-node circular Topology Variables Setup with DUT interface model | | ... | ${nic_model} | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} 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 ce65b8116c..a166ef2a0f 100644 --- a/tests/suites/performance/Long_Bridge_Domain_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_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 @@ -30,177 +31,189 @@ | ... | matching MAC addresses of the TG node. *** Test Cases *** -| Find NDR by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology +| Find NDR by using RFC2544 binary search and 64B frames through bridge domain in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using -| | ... | linear search starting at 5.0Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 5000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology +| 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 -| | ... | linear search starting at 812,743pps, stepping down with step of -| | ... | 10,000pps +| | ... | binary search with threshold 10,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology +| 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 -| | ... | linear search starting at 138,580pps, stepping down with step of -| | ... | 5,000pps +| | ... | binary search with threshold of 5,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology +| 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 -| | ... | linear search starting at 9.0Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 9000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology +| 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 linear search starting at 812,743pps, stepping down with step -| | ... | of 10,000pps +| | ... | using binary search with threshold 10,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology +| 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 linear search starting at 138,580pps, stepping down with step -| | ... | of 5,000pps +| | ... | using binary search with threshold 5,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through bridge domain in 3-node topology +| 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 linear search starting at 13.2Mpps, stepping down -| | ... | with step of 0.1Mpps +| | ... | frames by using binary search with threshold 0.1Mpps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 13200000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through bridge domain in 3-node topology +| 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 linear search starting at 812,743pps, stepping down -| | ... | with step of 10,000pps +| | ... | frames by using binary search with threshold 10,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through bridge domain in 3-node topology +| 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 linear search starting at 138,580pps, stepping -| | ... | down with step of 5,000pps +| | ... | frames by using binary search with threshold 5,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-bridge +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} + diff --git a/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot b/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot index f94abca58a..88cc52c43a 100644 --- a/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_IPv4_Intel-X520-DA2.robot @@ -35,219 +35,189 @@ | ... | matching MAC addresses of the TG node. *** Test Cases *** -| Find NDR by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology +| Find NDR by using RFC2544 binary search and 64B frames through IPv4 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using -| | ... | linear search starting at 5.0Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 5000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 812,743pps, stepping down with step of -| | ... | 10,000pps +| | ... | binary search with threshold 10,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 138,580pps, stepping down with step of -| | ... | 5,000pps +| | ... | binary search with threshold 5,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 10Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 10000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology +| 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 linear search starting at 812,743pps, stepping down with step -| | ... | of 10.000pps +| | ... | using binary search with threshold 10,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through IPv4 forwarding in 3-node topology +| 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 linear search starting at 138,580pps, stepping down with step -| | ... | of 5,000pps +| | ... | using binary search with threshold 5,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through IPv4 forwarding in 3-node topology +| 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 linear search starting at 13Mpps, stepping down with -| | ... | step of 0.1Mpps +| | ... | frames by using binary search with threshold 0.1Mpps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 13000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through IPv4 forwarding in 3-node topology +| 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 linear search starting at 812,743pps, stepping down -| | ... | with step of 10.000pps +| | ... | frames by using binary search with threshold 10,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} | 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 linear search starting at 138,580pps, stepping down -| | ... | with step of 5,000pps +| | ... | frames by using binary search with threshold 5,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 -| | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} - -| Find NDR with 2 cores 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 5,000pps -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD -| | ${framesize}= | Set Variable | 64 -| | ${binary_min}= | Set Variable | 6000000 -| | ${binary_max}= | Set Variable | 14000000 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 -| | ${threshold}= | Set Variable | 5000 -| | 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 NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4 -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} - -| 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 5,000pps -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD -| | ${framesize}= | Set Variable | 64 -| | ${binary_min}= | Set Variable | 6000000 -| | ${binary_max}= | Set Variable | 14000000 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 -| | ${threshold}= | 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 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 NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-IPv4 | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} + diff --git a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot index 61fc777f9a..6cc088c70d 100644 --- a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot @@ -30,161 +30,171 @@ | ... | of the TG node. *** Test Cases *** -| Find NDR by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology +| Find NDR by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 78B frames by using -| | ... | linear search starting at 5.0Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 78 -| | ${start_rate}= | Set Variable | 5000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 12755102 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 812,743pps, stepping down with step of -| | ... | 10,000pps +| | ... | binary search with threshold 10,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 138,580pps, stepping down with step of -| | ... | 5,000pps +| | ... | binary search with threshold 5,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology +| 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 -| | ... | linear search starting at 9Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 78 -| | ${start_rate}= | Set Variable | 9000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 12755102 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology +| 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 linear search starting at 812,743pps, stepping down with step -| | ... | of 10.000pps +| | ... | using binary search with threshold 10,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology +| 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 linear search starting at 138,580pps, stepping down with step -| | ... | of 5,000pps +| | ... | using binary search with threshold 5,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 78B frames through IPv6 forwarding in 3-node topology +| 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 linear search starting at 12.2Mpps, stepping down with -| | ... | step of 0.1Mpps +| | ... | frames by using binary search with threshold 0.1Mpps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 78 -| | ${start_rate}= | Set Variable | 12200000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 12755102 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through IPv6 forwarding in 3-node topology +| 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 linear search starting at 812,743pps, stepping down -| | ... | with step of 10.000pps +| | ... | frames by using binary search with threshold 10,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] @@ -193,56 +203,17 @@ | | ... | with step of 5,000pps | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} - -| Find NDR with 2 cores 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 5,000pps -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD -| | ${framesize}= | Set Variable | 78 -| | ${binary_min}= | Set Variable | 5000000 -| | ${binary_max}= | Set Variable | 12000000 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 12755102 -| | ${threshold}= | Set Variable | 5000 -| | 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 NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| 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 5,000pps -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD -| | ${framesize}= | Set Variable | 78 -| | ${binary_min}= | Set Variable | 6000000 -| | ${binary_max}= | Set Variable | 12000000 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 12755102 -| | ${threshold}= | Set Variable | 5000 -| | 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 NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv6 -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} 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 dc0d3a7dad..b25065b43c 100644 --- a/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_Xconnect_Dot1q_Intel-X520-DA2.robot @@ -36,18 +36,18 @@ | ${tag_rewrite}= | pop-1 *** Test Cases *** -| Find NDR by using RFC2544 linear search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| Find NDR 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 linear search starting -| | ... | at 4.2Mpps, stepping down with step of 0.1Mpps. Frames from and to TG -| | ... | are 64B long. Tagging is applied between DUTs inserting 4B VLAN ID -| | ... | into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 4200000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 @@ -61,22 +61,23 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 non drop rate by using linear search starting -| | ... | at 812,743pps, stepping down with step of 10,000pps. Frames from and -| | ... | to TG are 1518B long. Tagging is applied between DUTs inserting 4B -| | ... | VLAN ID into a packet header. +| | ... | 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. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 @@ -90,22 +91,23 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 linear search starting -| | ... | at 138,580pps, stepping down with step of 5,000pps. Frames from and -| | ... | to TG are 9000B long. Tagging is applied between DUTs inserting 4B -| | ... | VLAN ID into a packet header. +| | ... | Find throughput with non drop rate by using binary searchwith +| | ... | 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 | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 @@ -118,22 +120,23 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 linear search -| | ... | starting at 7.8Mpps, stepping down with step of 0.1Mpps. Frames from -| | ... | and to TG are 64B long. Tagging is applied between DUTs inserting 4B -| | ... | VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 7800000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 @@ -147,22 +150,24 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 linear search -| | ... | starting at 812,743pps, stepping down with step of 10,000pps. Frames -| | ... | from and to TG are 1518B long. Tagging is applied between DUTs -| | ... | inserting 4B VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 @@ -176,22 +181,24 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 linear search -| | ... | starting at 138,580pps, stepping down with step of 5,000pps. Frames -| | ... | from and to TG are 9000B long. Tagging is applied between DUTs -| | ... | inserting 4B VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 @@ -204,22 +211,24 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 12Mpps, stepping down with step of 0.1Mpps. -| | ... | Frames from and to TG are 64B long. Tagging is applied between DUTs -| | ... | inserting 4B VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 12000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 @@ -233,22 +242,24 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 812,743pps, stepping down with step of -| | ... | 10,000pps. Frames from and to TG are 1518B long. Tagging is applied -| | ... | between DUTs inserting 4B VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 @@ -262,22 +273,24 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through VLAN dot1q sub-interfaces inter-connected using L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 138,580pps, stepping down with step of -| | ... | 5,000pps. Frames from and to TG are 9000B long. Tagging is applied -| | ... | between DUTs inserting 4B VLAN ID into a packet header. +| | ... | 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 | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 @@ -290,6 +303,7 @@ | | 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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect | | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} diff --git a/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot b/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot index 6a53b4b77c..d993661317 100644 --- a/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot @@ -32,175 +32,189 @@ | ... | matching MAC addresses of the TG node. *** Test Cases *** -| Find NDR by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology +| Find NDR by using RFC2544 binary search and 64B frames through L2 cross connect in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 64B frames by using -| | ... | linear search starting at 6.0Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 6000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 812,743pps, stepping down with step of 10,000pps +| | ... | binary search with threshold 10,000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 138,580pps, stepping down with step 5,000pps +| | ... | binary search with threshold 5000pps. | | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology +| 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 -| | ... | linear search starting at 11Mpps, stepping down with step of 0.1Mpps +| | ... | binary search with threshold 0.1Mpps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 11000000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology +| 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 linear search starting at 812,743pps, stepping down with step -| | ... | of 10,000pps +| | ... | using binary search with threshold 10,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 2 cores and rss 1 by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology +| 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 linear search starting at 138,580pps, stepping down with step -| | ... | of 5,000pps +| | ... | using binary search with threshold 5,000pps. | | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 64B frames through L2 cross connect in 3-node topology +| 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 linear search starting at 13.5Mpps, stepping down -| | ... | with step of 0.1Mpps +| | ... | frames by using binary search with threshold 0.1Mpps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 64 -| | ${start_rate}= | Set Variable | 13500000 -| | ${step_rate}= | Set Variable | 100000 | | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | 14880952 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 1518B frames through L2 cross connect in 3-node topology +| 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 linear search starting at 812,743pps, stepping down -| | ... | with step of 10,000pps +| | ... | frames by using binary search with threshold 10,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 1518 -| | ${start_rate}= | Set Variable | 812743 -| | ${step_rate}= | Set Variable | 10000 | | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | 812743 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} -| Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through L2 cross connect in 3-node topology +| 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 linear search starting at 138,580pps, stepping down with step -| | ... | of 5,000pps +| | ... | using binary search with threshold 5,000pps. | | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | | ${framesize}= | Set Variable | 9000 -| | ${start_rate}= | Set Variable | 138580 -| | ${step_rate}= | Set Variable | 5000 | | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | 138580 +| | ${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 NDR using linear search and pps | ${framesize} | ${start_rate} -| | ... | ${step_rate} | 3-node-xconnect -| | ... | ${min_rate} | ${max_rate} +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +