diff options
author | Peter Mikus <pmikus@cisco.com> | 2016-05-13 09:57:03 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-05-26 15:13:04 +0200 |
commit | f94e16167519c74707ec8b606da3f7b97c749c66 (patch) | |
tree | 91ac71037bce4bd1e0ce9a52e67802e2c0f808a7 /tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot | |
parent | 52913516a16429a0ec6573260cf946223c84f34d (diff) |
Find PDR using binary search
- JIRA: CSIT-72
- modify libraries for PDR search evaluation
- write robot framework keywords for PDR search
- write Performance Test Cases using PDR
Change-Id: Id06a2a7f78fe8626c221afe4178c5c30cc599762
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot')
-rw-r--r-- | tests/suites/performance/Long_Xconnect_Intel-X520-DA2.robot | 230 |
1 files changed, 221 insertions, 9 deletions
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} |