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_IPv6_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_IPv6_Intel-X520-DA2.robot')
-rw-r--r-- | tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot | 232 |
1 files changed, 222 insertions, 10 deletions
diff --git a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot index 0a45796425..a09153c278 100644 --- a/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot +++ b/tests/suites/performance/Long_IPv6_Intel-X520-DA2.robot @@ -33,7 +33,7 @@ | | [Documentation] | | ... | Find throughput with non drop rate for 78B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -50,11 +50,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 78B frames by using +| | ... | binary search with threshold 0.1Mpps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 1518B frames by using | | ... | binary search with threshold 10,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -71,11 +95,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 1518B frames by using +| | ... | binary search with threshold 10,000pps. Loss acceptance is set to 0.5 +| | ... | percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput with non drop rate for 9000B frames by using | | ... | binary search with threshold 5,000pps. -| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -91,11 +139,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput with partial drop rate for 9000B frames by using +| | ... | binary search with threshold of 5,000pps. Loss acceptance is set to +| | ... | 0.5 percent of transmitted packets. +| | [Tags] | 1_THREAD_NOHTT_RSS_1 | SINGLE_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 78B frames by using | | ... | binary search with threshold 0.1Mpps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -112,11 +183,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 78B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 1518B frames by | | ... | using binary search with threshold 10,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -133,11 +228,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 1518B frames by +| | ... | using binary search with threshold 10,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 2 cores with non drop rate for 9000B frames by | | ... | using binary search with threshold 5,000pps. -| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -153,11 +272,34 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 2 cores and rss 1 by using RFC2544 binary search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 2 cores with partial drop rate for 9000B frames by +| | ... | using binary search with threshold 5,000pps. Loss acceptance is set +| | ... | to 0.5 percent of transmitted packets. +| | [Tags] | 2_THREAD_NOHTT_RSS_1 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '2' worker threads and rss '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 78B | | ... | frames by using binary search with threshold 0.1Mpps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 78 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} @@ -174,11 +316,35 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 78B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 78B +| | ... | frames by using binary search with threshold 0.1Mpps. Loss acceptance +| | ... | is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 78 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_78B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 1518B | | ... | frames by using binary search with threshold 10,000pps. -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -195,12 +361,36 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 binary search and 1518B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 1518B +| | ... | frames by using binary search with threshold 10,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 1518 +| | ${min_rate}= | Set Variable | 10000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + | Find NDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology | | [Documentation] | | ... | Find throughput on 4 cores and rss 2 with non drop rate for 9000B | | ... | frames by using linear search starting at 138,580pps, stepping down -| | ... | with step of 5,000pps -| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD +| | ... | with step of 5,000pps. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -216,3 +406,25 @@ | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} +| Find PDR with 4 cores and rss 2 by using RFC2544 linear search and 9000B frames through IPv6 forwarding in 3-node topology +| | [Documentation] +| | ... | Find throughput on 4 cores and rss 2 with partial drop rate for 9000B +| | ... | frames by using binary search with threshold 5,000pps. Loss +| | ... | acceptance is set to 0.5 percent of transmitted packets. +| | [Tags] | 4_THREAD_NOHTT_RSS_2 | MULTI_THREAD | PDR +| | ${framesize}= | Set Variable | 9000 +| | ${min_rate}= | Set Variable | 5000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '4' worker threads and rss '2' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And IPv6 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv6 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} |