X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2FLong_IPv4_Vhost_Intel-X520-DA2.robot;h=2d29d48c489fc09a1d420cf26cb1bb8242615873;hp=74072f98966b0ed5483fe212d6137de335a20bc3;hb=d7fed63ae2b5d7b3d1f67f572da2d23388f22018;hpb=13809a4ee66ec5e9c92ac3600805251791dfcd2b diff --git a/tests/perf/Long_IPv4_Vhost_Intel-X520-DA2.robot b/tests/perf/Long_IPv4_Vhost_Intel-X520-DA2.robot index 74072f9896..2d29d48c48 100644 --- a/tests/perf/Long_IPv4_Vhost_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_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 | ... | L3 | 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-IPv4 | ... | 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} @@ -82,7 +81,7 @@ | | ${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 @@ -96,6 +95,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -115,7 +115,7 @@ | | ${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 @@ -129,6 +129,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -150,7 +151,7 @@ | | ${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 @@ -164,6 +165,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -183,7 +185,7 @@ | | ${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 @@ -197,6 +199,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -219,7 +222,7 @@ | | ${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 @@ -233,6 +236,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -253,7 +257,7 @@ | | ${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 IPv4 forwarding with Vhost initialized in a 3-node circular topology @@ -266,6 +270,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -287,7 +292,7 @@ | | ${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 @@ -301,6 +306,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -320,7 +326,7 @@ | | ${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 @@ -334,6 +340,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -355,7 +362,7 @@ | | ${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 @@ -369,6 +376,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -388,7 +396,7 @@ | | ${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 @@ -402,6 +410,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -424,7 +433,7 @@ | | ${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 @@ -438,6 +447,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -458,7 +468,7 @@ | | ${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 @@ -472,6 +482,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -493,7 +504,7 @@ | | ${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 @@ -507,6 +518,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -526,7 +538,7 @@ | | ${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 @@ -540,6 +552,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -561,7 +574,7 @@ | | ${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 @@ -575,6 +588,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -594,7 +608,7 @@ | | ${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 +622,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -630,7 +645,7 @@ | | ${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 @@ -644,6 +659,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate} @@ -664,7 +680,7 @@ | | ${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 @@ -678,6 +694,7 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | 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-IPv4 | | ... | ${min_rate} | ${max_rate}