X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2FLong_Bridge_Domain_Vhost_Intel-X520-DA2.robot;h=3764b7af11a986a9897855d4fc97c1ab9e5ead5b;hp=1a49568e8a0524e7533660f58c22fbfd7a9b0c47;hb=d7fed63ae2b5d7b3d1f67f572da2d23388f22018;hpb=516051c6aabb609d94d442db222c11e33837e124 diff --git a/tests/perf/Long_Bridge_Domain_Vhost_Intel-X520-DA2.robot b/tests/perf/Long_Bridge_Domain_Vhost_Intel-X520-DA2.robot index 1a49568e8a..3764b7af11 100644 --- a/tests/perf/Long_Bridge_Domain_Vhost_Intel-X520-DA2.robot +++ b/tests/perf/Long_Bridge_Domain_Vhost_Intel-X520-DA2.robot @@ -16,10 +16,8 @@ | Library | resources.libraries.python.QemuUtils | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PERFTEST_LONG | ... | PERFTEST_VHOST | NIC_Intel-X520-DA2 -| Suite Setup | Run Keywords | 3-node Performance Suite Setup with DUT's NIC model +| Suite Setup | 3-node Performance Suite Setup with DUT's NIC model | ... | L2 | Intel-X520-DA2 -| ... | AND | Kill QEMU on all DUTs -| ... | AND | Build QEMU on all DUTs | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test | Test Teardown | Run Keywords @@ -27,6 +25,7 @@ | ... | Traffic should pass with no loss | 10 | ... | ${min_rate}pps | ${framesize} | 3-node-bridge | ... | fail_on_loss=${False} +| ... | AND | Show Vpp Vhost On All DUTs | ... | AND | Remove startup configuration of VPP from all DUTs | ... | AND | Guest VM with dpdk-testpmd Teardown | ${dut1} | ... | ${dut1_vm_refs} @@ -60,6 +59,9 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +#X520-DA2 bandwidth limit +| ${s_limit} | ${10000000000} +#Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} @@ -72,15 +74,15 @@ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -92,6 +94,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -103,15 +106,15 @@ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -123,6 +126,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -136,15 +140,15 @@ | | ... | 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 -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -156,6 +160,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -167,15 +172,15 @@ | | ... | 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 | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -187,6 +192,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -202,14 +208,14 @@ | | ... | 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 | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -221,6 +227,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -234,14 +241,14 @@ | | ... | 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 | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '1' worker threads and rxqueues '1' in 3-node single-link topo | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | When L2 bridge domains with Vhost-User initialized in a 3-node circular topology @@ -252,6 +259,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -265,15 +273,15 @@ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -285,6 +293,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -296,15 +305,15 @@ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -316,6 +325,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -329,15 +339,15 @@ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -349,6 +359,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -360,15 +371,15 @@ | | ... | 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -380,6 +391,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -395,14 +407,14 @@ | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -414,6 +426,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -427,14 +440,14 @@ | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs +| | Given Add '2' worker threads and rxqueues '1' in 3-node single-link topo | | 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 @@ -446,6 +459,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -459,15 +473,15 @@ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -479,6 +493,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -490,15 +505,15 @@ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -510,6 +525,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -523,15 +539,15 @@ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -543,6 +559,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -554,15 +571,15 @@ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames \ | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -574,6 +591,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -589,14 +607,14 @@ | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -608,6 +626,7 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} @@ -621,14 +640,14 @@ | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH | | ${framesize}= | Set Variable | IMIX_v4_1 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_IMIX_v4_1} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | Given Add '4' worker threads and rxqueues '2' in 3-node single-link topo | | 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 @@ -640,76 +659,10 @@ | | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} +| | And Setup scheduler policy for VPP on all DUTs | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | 3-node-bridge | | ... | ${min_rate} | ${max_rate} | | ... | ${threshold} | | ... | ${glob_loss_acceptance} | | ... | ${glob_loss_acceptance_type} - -| TC19: 64B NDR binary search - DUT L2BD-DPDK-VHOST - 1thread 1core 1rxq -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching 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 10kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${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} -| | ${dut1_vm_refs}= | Create Dictionary -| | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Enable Vhost User to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | When L2 bridge domains with Vhost-User initialized in a 3-node circular topology -| | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2} -| | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup -| | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 -| | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} -| | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup -| | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 -| | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} - -| TC20: 64B PDR binary search - DUT L2BD-DPDK-VHOST - 1thread 1core 1rxq -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching 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 10kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 10000 -| | ${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} -| | ${dut1_vm_refs}= | Create Dictionary -| | ${dut2_vm_refs}= | Create Dictionary -| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add PCI devices to DUTs from 3-node single link topology -| | And Add No Multi Seg to all DUTs -| | And Add Enable Vhost User to all DUTs -| | And Apply startup configuration on all VPP DUTs -| | When L2 bridge domains with Vhost-User initialized in a 3-node circular topology -| | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2} -| | ${vm1}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup -| | ... | ${dut1} | ${sock1} | ${sock2} | DUT1_VM1 -| | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} -| | ${vm2}= | And Guest VM with dpdk-testpmd connected via vhost-user is setup -| | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 -| | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-bridge -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${glob_loss_acceptance} -| | ... | ${glob_loss_acceptance_type} -