X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2FLong_IPv4_Intel-X520-DA2.robot;h=c211d122536004761e1b7216c7a9c39f2fdc2ffd;hb=refs%2Fchanges%2F04%2F2504%2F10;hp=749ee138a0730f4253bbf89e64628bd581614623;hpb=70cbaaee0e6210682ce6d278ea645b8bea153b67;p=csit.git diff --git a/tests/perf/Long_IPv4_Intel-X520-DA2.robot b/tests/perf/Long_IPv4_Intel-X520-DA2.robot index 749ee138a0..c211d12253 100644 --- a/tests/perf/Long_IPv4_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_Intel-X520-DA2.robot @@ -24,8 +24,13 @@ | ... | L3 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| Test Teardown | Run Keywords +| ... | Run Keyword If Test Failed +| ... | Traffic should pass with no loss | 10 +| ... | ${min_rate}pps | ${framesize} | 3-node-IPv4 +| ... | fail_on_loss=${False} +| ... | AND | Remove startup configuration of VPP from all DUTs +| ... | AND | Show vpp trace dump on all DUTs | Documentation | *RFC2544: Pkt throughput IPv4 routing test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -54,7 +59,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -62,7 +67,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -76,7 +81,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -84,7 +89,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -100,7 +105,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -108,7 +113,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -122,7 +127,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 1518 | | ${min_rate}= | Set Variable | 10000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} @@ -130,7 +135,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -146,7 +151,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -154,7 +159,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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} @@ -167,7 +172,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 9000 | | ${min_rate}= | Set Variable | 5000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} @@ -175,7 +180,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And IPv4 forwarding initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} @@ -190,7 +195,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -198,7 +203,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -212,7 +217,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%. -| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -220,7 +225,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -244,7 +249,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -266,7 +271,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -290,7 +295,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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} @@ -311,7 +316,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And IPv4 forwarding initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} @@ -326,7 +331,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -334,7 +339,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -348,7 +353,7 @@ | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%. -| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | 64 | | ${min_rate}= | Set Variable | 100000 | | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} @@ -356,7 +361,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -380,7 +385,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -402,7 +407,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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 @@ -426,7 +431,7 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | 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} @@ -447,7 +452,56 @@ | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Apply startup configuration on all VPP DUTs +| | And IPv4 forwarding initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + +*** Test Cases *** +| TC19: IMIX_v4_1 NDR binary search - DUT IPv4 - 1thread 1core 1rxq +| | [Documentation] +| | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ +| | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size +| | ... | using binary search start at 10GE linerate, step 100kpps. +| | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | ${framesize}= | Set Variable | IMIX_v4_1 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rxqueues '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} + +| TC20: IMIX_v4_1 PDR binary search - DUT IPv4 - 1thread 1core 1rxq +| | [Documentation] +| | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy core, \ +| | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame size +| | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%. +| | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | IMIX_v4_1 +| | ${min_rate}= | Set Variable | 100000 +| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And IPv4 forwarding initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}