X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fperf%2FLong_IPv4_Intel-X520-DA2.robot;h=3236f93c79ab862e2314e0f92e20796b58f116dd;hb=b1a54dd8bbf32a025b998ef9d87a4c2d908c28dc;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..3236f93c79 100644 --- a/tests/perf/Long_IPv4_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_Intel-X520-DA2.robot @@ -62,7 +62,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 @@ -84,7 +84,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 @@ -108,7 +108,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 @@ -130,7 +130,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 @@ -154,7 +154,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} @@ -175,7 +175,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} @@ -198,7 +198,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 @@ -220,7 +220,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 +244,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 +266,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 +290,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 +311,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} @@ -334,7 +334,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 @@ -356,7 +356,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 +380,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 +402,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 +426,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 +447,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 | 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 NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-IPv4 +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} + +| TC20: 64B 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 +| | ${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}