X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fcontainer_memif%2F10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot;h=046f5a8514b8b9f7bcd7b7d24752eaf64d7aa9a0;hp=641f4b862f7e299d88e8647cb01e1362d79944f0;hb=6a6126b2f26607263e4543a1e0b5012ab2f0601b;hpb=fd1b55aaeecc2e68b0855a389bd7c14671648c7a diff --git a/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot b/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot index 641f4b862f..046f5a8514 100644 --- a/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot +++ b/tests/vpp/perf/container_memif/10ge2p1x520-eth-l2xcbase-eth-2memif-1lxc-ndrpdrdisc.robot @@ -17,13 +17,17 @@ | Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | NDRPDRDISC | ... | NIC_Intel-X520-DA2 | ETH | L2XCFWD | BASE | MEMIF | LXC | ... -| Suite Setup | Run Keywords | Set up 3-node performance topology with DUT's NIC model -| ... | L2 | Intel-X520-DA2 +| Suite Setup | Run Keywords +| ... | Set up 3-node performance topology with DUT's NIC model | L2 +| ... | Intel-X520-DA2 +| ... | AND | Set up performance test suite with MEMIF | ... | AND | Set up performance topology with containers | ... | Suite Teardown | Tear down 3-node performance topology with container | ... -| Test Setup | Set up performance test +| Test Setup | Run Keywords +| ... | Set up performance test +| ... | AND | Restart VPP in all 'VNF' containers | ... | Test Teardown | Tear down performance discovery test | ${min_rate}pps | ... | ${framesize} | ${traffic_profile} @@ -62,10 +66,12 @@ | ${container_count}= | ${1} | ${container_engine}= | LXC | ${container_image}= | ${EMPTY} +| ${container_install_dkms}= | ${FALSE} +| ${container_chain_topology}= | chain # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} -| ${container_cpus}= | ${3} +| ${container_cpus}= | ${5} *** Keywords *** | L2 Cross Connect over Memif Binary Search @@ -82,7 +88,7 @@ | | Add PCI Devices To DUTs In 3-node Single Link Topology | | Run Keyword If | ${get_framesize} < ${1522} | Add No Multi Seg to all DUTs | | Apply startup configuration on all VPP DUTs -| | Initialize L2 xconnect for '1' memif pairs in 3-node circular topology +| | Initialize L2 xconnect for '1' memif pairs and '${rxq}' rxqueues in 3-node circular topology | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} @@ -96,136 +102,136 @@ *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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. +| | ... | linerate, step 50kpps. | | ... -| | [Tags] | 64B | 1T1C | STHREAD | NDRDISC +| | [Tags] | 64B | 1C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=NDR +| | framesize=${64} | min_rate=${50000} | wt=1 | rxq=1 | search_type=NDR | tc02-64B-1t1c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... -| | [Tags] | 64B | 1T1C | STHREAD | PDRDISC +| | [Tags] | 64B | 1C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 | search_type=PDR +| | framesize=${64} | min_rate=${50000} | wt=1 | rxq=1 | search_type=PDR | tc03-IMIX-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 1 phy core,\ | | ... | 1 receive queue per NIC port. | | ... | [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. +| | ... | linerate, step 50kpps. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | ... -| | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC +| | [Tags] | IMIX | 1C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR +| | framesize=IMIX_v4_1 | min_rate=${50000} | wt=1 | rxq=1 | search_type=NDR | tc04-IMIX-1t1c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 1 phy core,\ | | ... | 1 receive queue per NIC port. | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | ... -| | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC +| | [Tags] | IMIX | 1C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=IMIX_v4_1 | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR +| | framesize=IMIX_v4_1 | min_rate=${50000} | wt=1 | rxq=1 | search_type=PDR | tc05-1518B-1t1c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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. +| | ... | linerate, step 50kpps. | | ... -| | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC +| | [Tags] | 1518B | 1C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=NDR +| | framesize=${1518} | min_rate=${50000} | wt=1 | rxq=1 | search_type=NDR | tc06-1518B-1t1c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... -| | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC +| | [Tags] | 1518B | 1C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 | search_type=PDR +| | framesize=${1518} | min_rate=${50000} | wt=1 | rxq=1 | search_type=PDR | tc07-64B-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 2 phy core,\ | | ... | 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps. +| | ... | linerate, step 50kpps. | | ... -| | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC +| | [Tags] | 64B | 2C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=NDR +| | framesize=${64} | min_rate=${50000} | wt=2 | rxq=1 | search_type=NDR | tc08-64B-2t2c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 2 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%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... -| | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC +| | [Tags] | 64B | 2C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 | search_type=PDR +| | framesize=${64} | min_rate=${50000} | wt=2 | rxq=1 | search_type=PDR | tc09-IMIX-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 2 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 2 phy core,\ | | ... | 1 receive queue per NIC port. | | ... | [Ver] Find NDR for IMIX_v4_1 frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. +| | ... | linerate, step 50kpps. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | ... -| | [Tags] | IMIX | 2T2C | MTHREAD | NDRDISC +| | [Tags] | IMIX | 2C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR +| | framesize=IMIX_v4_1 | min_rate=${50000} | wt=2 | rxq=1 | search_type=NDR | tc10-IMIX-2t2c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 1 phy core,\ | | ... | 1 receive queue per NIC port. | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) | | ... -| | [Tags] | IMIX | 2T2C | MTHREAD | PDRDISC +| | [Tags] | IMIX | 2C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=IMIX_v4_1 | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR +| | framesize=IMIX_v4_1 | min_rate=${50000} | wt=2 | rxq=1 | search_type=PDR | tc11-1518B-2t2c-eth-l2xcbase-eth-2memif-1lxc-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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. +| | ... | linerate, step 50kpps. | | ... -| | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC +| | [Tags] | 1518B | 2C | NDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=NDR +| | framesize=${1518} | min_rate=${50000} | wt=2 | rxq=1 | search_type=NDR | tc12-1518B-2t2c-eth-l2xcbase-eth-2memif-1lxc-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L2XC switching config with 2 thread, 1 phy core,\ +| | ... | [Cfg] DUT runs L2XC switching config with 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%. +| | ... | linerate, step 50kpps, LT=0.5%. | | ... -| | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC +| | [Tags] | 1518B | 2C | PDRDISC | | [Template] | L2 Cross Connect over Memif Binary Search -| | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 | search_type=PDR +| | framesize=${1518} | min_rate=${50000} | wt=2 | rxq=1 | search_type=PDR