From: Peter Mikus Date: Thu, 22 Mar 2018 12:21:05 +0000 (+0100) Subject: Optimize Qemu installation to speed up vhost tests X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=095b162010491a4759e05ca46f0e5a47e8ace141 Optimize Qemu installation to speed up vhost tests Currently Qemu is being installed if there is a change of qsz parameter between tests/suites. Qemu is installed always into the same directory. This patch changes the default behavior to install qemu over and install pathced version to separate directory. It also disables force install. Change-Id: I0d7493a02b026a6ae4a5ea8bacf54656de9db567 Signed-off-by: Peter Mikus --- diff --git a/resources/libraries/bash/config/config b/resources/libraries/bash/config/config index 2b71edcc49..42f23bdaf8 100644 --- a/resources/libraries/bash/config/config +++ b/resources/libraries/bash/config/config @@ -1,5 +1,8 @@ -QEMU_INSTALL_DIR=/opt +QEMU_INSTALL_DIR=/opt/qemu-2.5.0 QEMU_INSTALL_VERSION=qemu-2.5.0 +QEMU_PATCH=false +QEMU_FORCE_INSTALL=false +QEMU_TARGET_LIST=x86_64-softmmu DPDK_INSTALL_DIR=/opt -DPDK_INSTALL_VERSION=dpdk-17.11 \ No newline at end of file +DPDK_INSTALL_VERSION=dpdk-17.11 diff --git a/resources/libraries/bash/config/defaults b/resources/libraries/bash/config/defaults index 1547452982..a70add12b1 100644 --- a/resources/libraries/bash/config/defaults +++ b/resources/libraries/bash/config/defaults @@ -2,11 +2,14 @@ typeset -A cfg cfg=( # set default values in config array - [QEMU_INSTALL_DIR]="/opt" + [QEMU_INSTALL_DIR]="/opt/qemu-2.5.0" [QEMU_INSTALL_VERSION]="qemu-2.5.0" + [QEMU_PATCH]=false + [QEMU_FORCE_INSTALL]=false + [QEMU_TARGET_LIST]=x86_64-softmmu [DPDK_INSTALL_DIR]=/opt [DPDK_INSTALL_VERSION]=dpdk-17.11 [K8S_CALICO]="${SCRIPT_DIR}/../../templates/kubernetes/calico_v2.6.3.yaml" [K8S_CONTIV_VPP]="https://raw.githubusercontent.com/contiv/vpp/master/k8s/contiv-vpp.yaml" [K8S_CSIT]="${SCRIPT_DIR}/../../templates/kubernetes/csit.yaml" -) \ No newline at end of file +) diff --git a/resources/libraries/bash/qemu_build.sh b/resources/libraries/bash/qemu_build.sh index 57520a9b5e..4638ec1bcb 100755 --- a/resources/libraries/bash/qemu_build.sh +++ b/resources/libraries/bash/qemu_build.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2018 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -12,81 +12,47 @@ # See the License for the specific language governing permissions and # limitations under the License. -QEMU_VERSION="qemu-2.5.0" -QEMU_DOWNLOAD_REPO="http://download.qemu-project.org/" -QEMU_DOWNLOAD_PACKAGE="${QEMU_VERSION}.tar.xz" -QEMU_PACKAGE_URL="${QEMU_DOWNLOAD_REPO}${QEMU_DOWNLOAD_PACKAGE}" -QEMU_INSTALL_DIR="/opt/${QEMU_VERSION}" +set -x + SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -TARGET_LIST="x86_64-softmmu" +# Include +source ${SCRIPT_DIR}/config/defaults +source ${SCRIPT_DIR}/shell/qemu_utils.sh + +# Read configuration +while read line +do + if echo $line | grep -F = &>/dev/null + then + varname=$(echo "$line" | cut -d '=' -f 1) + cfg[$varname]=$(echo "$line" | cut -d '=' -f 2-) + fi +done < ${SCRIPT_DIR}/config/config + +# Read parameters for i in "$@"; do case $i in --version=*) - QEMU_VERSION="${i#*=}" + cfg['QEMU_INSTALL_VERSION']="${i#*=}" shift ;; --directory=*) - QEMU_INSTALL_DIR="${i#*=}" + cfg['QEMU_INSTALL_DIR']="${i#*=}" shift ;; --patch) - PATCH=1 + cfg['QEMU_PATCH']=true shift ;; --force) - FORCE=1 + cfg['QEMU_FORCE_INSTALL']=true shift ;; --target-list) - TARGET_LIST="${i#*=}" + cfg['QEMU_TARGET_LIST']="${i#*=}" shift ;; *) ;; esac done -if test "$(id -u)" -ne 0 -then - echo "Please use root or sudo to be able to install into: ${QEMU_INSTALL_DIR}" - exit 1 -fi - -WORKING_DIR=$(mktemp -d) || \ - { echo "Failed to create temporary working dir"; exit 1; } -trap "rm -r ${WORKING_DIR}" EXIT - -if [ $FORCE ] -then - rm -rf ${QEMU_INSTALL_DIR} -else - test -d ${QEMU_INSTALL_DIR} && \ - { echo "Qemu already installed: ${QEMU_INSTALL_DIR}"; exit 0; } -fi - -# Download QEMU source code if no local copy exists -if [ ! -f /opt/${QEMU_DOWNLOAD_PACKAGE} ]; then - wget -P /opt -q ${QEMU_PACKAGE_URL} || \ - { echo "Failed to download ${QEMU_VERSION}"; exit 1; } -fi - -# Extract archive into temp directory -tar --strip-components 1 -xf /opt/${QEMU_DOWNLOAD_PACKAGE} -C ${WORKING_DIR} || \ - { echo "Failed to extract ${QEMU_VERSION}.tar.xz"; exit 1; } - -cd ${WORKING_DIR} -mkdir ${QEMU_INSTALL_DIR} || \ - { echo "Failed to create ${QEMU_INSTALL_DIR}"; exit 1; } - -# Apply additional patches -if [ $PATCH ] -then - chmod +x ${SCRIPT_DIR}/qemu_patches/${QEMU_VERSION}/* - run-parts --verbose --report ${SCRIPT_DIR}/qemu_patches/${QEMU_VERSION} -fi - -# Build -./configure --target-list=${TARGET_LIST} --prefix=${QEMU_INSTALL_DIR} || \ - { echo "Failed to configure ${QEMU_VERSION}"; exit 1; } -make -j`nproc` || \ - { echo "Failed to compile ${QEMU_VERSION}"; exit 1; } -make install || \ - { echo "Failed to install ${QEMU_VERSION}"; exit 1; } - -echo QEMU ${QEMU_VERSION} ready +# Install qemu +qemu_utils.qemu_install ${cfg[QEMU_INSTALL_DIR]} ${cfg[QEMU_INSTALL_VERSION]} \ + ${cfg[QEMU_PATCH]} ${cfg[QEMU_FORCE_INSTALL]} ${cfg[QEMU_TARGET_LIST]} diff --git a/resources/libraries/bash/shell/qemu_utils.sh b/resources/libraries/bash/shell/qemu_utils.sh index 510d9f2838..cabf93d978 100644 --- a/resources/libraries/bash/shell/qemu_utils.sh +++ b/resources/libraries/bash/shell/qemu_utils.sh @@ -15,47 +15,47 @@ function qemu_utils.qemu_delete { # Deletes the QEMU directory # QEMU install directory - qemu_install_dir=$1 - # QEMU install version - qemu_install_ver=$2 + local qemu_install_dir=$1 - [ -d ${qemu_install_dir}/${qemu_install_ver} ] && \ - sudo rm -r ${qemu_install_dir}/${qemu_install_ver} && \ - echo "${qemu_install_dir}/${qemu_install_ver} removed" + [ -d ${qemu_install_dir} ] && \ + sudo rm -r ${qemu_install_dir} && \ + echo "${qemu_install_dir} removed" } function qemu_utils.qemu_install { # Downloads and installs QEMU # QEMU install directory - qemu_install_dir=$1 + local qemu_install_dir=$1 # QEMU install version - qemu_install_ver=$2 + local qemu_install_ver=$2 # QEMU patch - qemu_patch=$3 + local qemu_patch=${3:-false} # Force install (if true then remove previous installation; default false) - force_install=${4:-false} + local force_install=${4:-false} # QEMU repo URL - qemu_package_url="http://download.qemu-project.org/${qemu_install_ver}.tar.xz" + local qemu_package_url="http://download.qemu-project.org/${qemu_install_ver}.tar.xz" + # QEMU target arch + local qemu_target_list=${5:-x86_64-softmmu} - if [ $force_install ]; then + if [ $force_install = true ]; then # Cleanup QEMU dir - qemu_utils.qemu_delete $qemu_install_dir $qemu_install_ver + qemu_utils.qemu_delete $qemu_install_dir else # Test if QEMU was installed previously test -d $qemu_install_dir && \ { echo "Qemu already installed: $qemu_install_dir"; exit 0; } fi - tmp_dir=$(mktemp -d) || \ + local tmp_dir=$(mktemp -d) || \ { echo "Failed to create temporary working dir"; exit 1; } - trap "rm -r ${tmp_dir}" EXIT + trap "sudo rm -r ${tmp_dir}" EXIT # Download QEMU source code if no local copy exists if [ ! -f /opt/${qemu_install_ver}.tar.xz ]; then sudo wget -e use_proxy=yes -P /opt -q ${qemu_package_url} || \ { echo "Failed to download ${qemu_install_ver}"; exit 1; } fi - tar --strip-components 1 -xvJf ${tmp_dir}/${qemu_install_ver}.tar.xz -C ${tmp_dir} && \ + tar --strip-components 1 -xf /opt/${qemu_install_ver}.tar.xz -C ${tmp_dir} || \ { echo "Failed to exctract ${qemu_install_ver}.tar.xz"; exit 1; } cd ${tmp_dir} @@ -63,14 +63,14 @@ function qemu_utils.qemu_install { { echo "Failed to create ${qemu_install_dir}"; exit 1; } # Apply additional patches - if [ $qemu_patch ] + if [ $qemu_patch = true ] then chmod +x ${SCRIPT_DIR}/qemu_patches/${qemu_install_ver}/* run-parts --verbose --report ${SCRIPT_DIR}/qemu_patches/${qemu_install_ver} fi # Build - sudo ./configure --target-list=x86_64-softmmu --prefix=${qemu_install_dir}/${qemu_install_ver} || \ + sudo ./configure --target-list=${qemu_target_list} --prefix=${qemu_install_dir} || \ { echo "Failed to configure ${qemu_install_ver}"; exit 1; } sudo make -j`nproc` || \ { echo "Failed to compile ${qemu_install_ver}"; exit 1; } @@ -78,4 +78,4 @@ function qemu_utils.qemu_install { { echo "Failed to install ${qemu_install_ver}"; exit 1; } echo "QEMU ${qemu_install_ver} ready" -} \ No newline at end of file +} diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py index a8c26d6898..42ccb8c9dd 100644 --- a/resources/libraries/python/QemuUtils.py +++ b/resources/libraries/python/QemuUtils.py @@ -688,6 +688,10 @@ class QemuUtils(object): ssh.connect(node) directory = ' --directory={0}'.format(Constants.QEMU_INSTALL_DIR) + if apply_patch: + directory += '-patch' + else: + directory += '-base' version = ' --version={0}'.format(Constants.QEMU_INSTALL_VERSION) force = ' --force' if force_install else '' patch = ' --patch' if apply_patch else '' diff --git a/resources/libraries/robot/performance/performance_configuration.robot b/resources/libraries/robot/performance/performance_configuration.robot index 61bc4bd3a4..e544cdd3a3 100644 --- a/resources/libraries/robot/performance/performance_configuration.robot +++ b/resources/libraries/robot/performance/performance_configuration.robot @@ -1465,8 +1465,11 @@ | | ... | jumbo_frames=${jumbo_frames} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 @@ -1516,8 +1519,6 @@ | | | ... | skip=${skip_cpus} | count=${vm_cpus} | qemu_id=${number} | | | ... | jumbo_frames=${jumbo_frames} | | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM${number} | ${vm2} -| | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | | ... | ${True} | Configure guest VM with dpdk-testpmd using SMT connected via vhost-user | | [Documentation] @@ -1558,8 +1559,11 @@ | | ... | jumbo_frames=${jumbo_frames} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 @@ -1629,8 +1633,11 @@ | | ... | jumbo_frames=${jumbo_frames} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 @@ -1688,8 +1695,6 @@ | | | ... | count=${vm_cpus} | qemu_id=${number} | | | ... | jumbo_frames=${jumbo_frames} | | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM${number} | ${vm2} -| | | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | | ... | ${True} | Configure guest VM with dpdk-testpmd-mac using SMT connected via vhost-user | | [Documentation] @@ -1733,8 +1738,11 @@ | | ... | jumbo_frames=${jumbo_frames} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 @@ -1783,8 +1791,11 @@ | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock2} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 @@ -1833,8 +1844,11 @@ | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock2} | | ${apply_patch}= | Set Variable If | "${perf_qemu_qsz}" == "256" | ${False} | | ... | ${True} -| | Run Keyword Unless | ${qemu_built} | ${vm_name}.Build QEMU | ${dut_node} -| | ... | force_install=${True} | apply_patch=${apply_patch} +| | ${perf_qemu_path}= | Set Variable If | ${apply_patch} +| | ... | ${perf_qemu_path}-patch/bin/ +| | ... | ${perf_qemu_path}-base/bin/ +| | Run Keyword If | ${qemu_build} | ${vm_name}.Build QEMU | ${dut_node} +| | ... | apply_patch=${apply_patch} | | Run keyword | ${vm_name}.Qemu Set Path | ${perf_qemu_path} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | ${count} | ${count} | 1 | 1 diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 742c5804ce..5e47502d54 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -34,10 +34,9 @@ | | ... | - perf_pdr_loss_acceptance - Loss acceptance treshold | | ... | - perf_pdr_loss_acceptance_type - Loss acceptance treshold type | | ... | - perf_vm_image - Guest VM disk image -| | ... | - perf_qemu_bin - Path to QEMU binary -| | ... | - perf_qemu_qsz - QEMU virtio queue size +| | ... | - perf_qemu_path - Path prefix to QEMU binary | | ... | - use_tuned_cfs - Switch to set scheduler policy -| | ... | - qemu_built - Information if QEMU build is already prepared +| | ... | - qemu_build - Whether Qemu will be built | | ... | - pkt_trace - Switch to enable packet trace for test | | ... | - plugins_to_disable - List of plugins to be disabled for test | | ... @@ -45,10 +44,9 @@ | | Set Global Variable | ${perf_pdr_loss_acceptance} | 0.5 | | Set Global Variable | ${perf_pdr_loss_acceptance_type} | percentage | | Set Global Variable | ${perf_vm_image} | /var/lib/vm/csit-nested-1.7.img -| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0/bin/ -| | Set Global Variable | ${perf_qemu_qsz} | 1024 +| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0 | | Set Global Variable | ${use_tuned_cfs} | ${False} -| | Set Global Variable | ${qemu_built} | ${False} +| | Set Global Variable | ${qemu_build} | ${True} | | Set Global Variable | ${pkt_trace} | ${False} | | @{plugins_to_disable}= | Create List | | ... | acl_plugin.so diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot index e0762d592d..987b761738 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot @@ -51,6 +51,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 # Socket names @@ -61,7 +62,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm @@ -100,8 +101,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 2cd57b8a87..41d5cc8784 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -57,6 +57,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 | ${vlan_overhead}= | ${4} @@ -68,7 +69,7 @@ | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrdisc @@ -100,8 +101,6 @@ | | Set To Dictionary | ${dut1_vm_refs} | DUT1_VM1 | ${vm1} | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} @@ -137,8 +136,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -174,8 +171,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -210,8 +205,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -249,8 +242,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -287,8 +278,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -324,8 +313,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -360,8 +347,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -397,8 +382,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -433,8 +416,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -472,8 +453,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -510,8 +489,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -547,8 +524,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -583,8 +558,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -620,8 +593,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -656,8 +627,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -695,8 +664,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -733,8 +700,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-pdrchk.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-pdrchk.robot index 749378ede5..ac99167eb3 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-pdrchk.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-pdrchk.robot @@ -55,6 +55,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 # Socket names @@ -63,7 +64,7 @@ | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check PDR for L2 bridge domain with vhost and VM with dpdk-testpmd @@ -98,8 +99,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with partial loss | ${perf_trial_duration} | | ... | ${rate} | ${framesize} | ${traffic_profile} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot index db60a21426..89db0c8234 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot @@ -50,6 +50,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 # Socket names @@ -58,7 +59,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for dot1q-l2xcbase-eth-2vhostvr1024-1vm @@ -96,8 +97,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 26f3776b3c..a85c7c0c4f 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -56,6 +56,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 | ${vlan_overhead}= | ${4} @@ -65,7 +66,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrdisc @@ -97,8 +98,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -132,8 +131,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -168,8 +165,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -203,8 +198,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -241,8 +234,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -278,8 +269,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -314,8 +303,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -349,8 +336,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -385,8 +370,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -420,8 +403,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -458,8 +439,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -495,8 +474,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -531,8 +508,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -566,8 +541,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -602,8 +575,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -637,8 +608,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -675,8 +644,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -712,8 +679,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot index 5629837d5f..f05f80b427 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-dot1q-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot @@ -55,13 +55,14 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${subid}= | 10 | ${tag_rewrite}= | pop-1 # Socket names | ${sock1}= | /tmp/sock-1 | ${sock2}= | /tmp/sock-2 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check PDR for L2XC with vhost and VM with dpdk-testpmd @@ -95,8 +96,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with partial loss | ${perf_trial_duration} | | ... | ${rate} | ${framesize} | ${traffic_profile} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index fbf46b8ce6..d5fc2e9b36 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -59,16 +59,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Discover NDR or PDR for L2 Bridge Domain with VM @@ -100,8 +101,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot index ea2958bd2c..ec2adf2e65 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot @@ -50,6 +50,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 @@ -58,7 +59,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm @@ -96,8 +97,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 9b58e05b2e..ed3be3d902 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -56,6 +56,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} # Socket names @@ -93,8 +94,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -125,8 +124,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -158,8 +155,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -190,8 +185,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -224,8 +217,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -257,8 +248,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -290,8 +279,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -322,8 +309,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -355,8 +340,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -387,8 +370,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -421,8 +402,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -454,8 +433,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -487,8 +464,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -519,8 +494,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -552,8 +525,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -584,8 +555,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -618,8 +587,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -651,8 +618,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot index 788b078cf3..e1df194e57 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot @@ -59,6 +59,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -88,7 +89,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${use_tuned_cfs} | ${True} | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} @@ -115,8 +115,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-mrr.robot index 3b287548fc..f51f4693f1 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-mrr.robot @@ -50,6 +50,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 256 # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 @@ -58,7 +59,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-2vhostvr256-1vm @@ -71,7 +72,6 @@ | | [Arguments] | ${framesize} | ${wt} | ${rxq} | | ... | | # Test Variables required for test and test teardown -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | ${get_framesize}= | Get Frame Size | ${framesize} | | ${max_rate}= | Calculate pps | ${s_limit} | ${get_framesize} @@ -97,8 +97,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-ndrpdrdisc.robot index e04b6c6913..9a24555b23 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr256-1vm-ndrpdrdisc.robot @@ -57,6 +57,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -86,7 +87,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${get_framesize}= | Set Variable If @@ -112,8 +112,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot index 74f5f295ba..59178d626d 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} @@ -56,7 +57,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index d34cc00c97..5638485213 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -37,7 +37,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus 6-10 and 11-15 and | ... | 2048M memory. Testpmd is using socket-mem=1024M (512x2M hugepages), | ... | 5 cores (1 main core and 4 cores dedicated for io), forwarding mode is -| ... | set to io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC +| ... | set to io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC | ... | X520 Niantic by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -54,6 +54,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # CPU settings @@ -61,7 +62,7 @@ | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrdisc diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale100kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale100kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index cc91353e88..0ca2df6c80 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale100kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale100kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -62,16 +62,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-macsrc50kdst50k +| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc50kdst50k *** Keywords *** | Discover NDR or PDR for L2 Bridge Domain with VM @@ -103,8 +104,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale10kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale10kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index 0505c7a9a3..9359816fe0 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale10kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale10kmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -62,6 +62,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -103,8 +104,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale1mmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale1mmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index 48a6dd710a..9176bdeaaa 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale1mmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2bdscale1mmaclrn-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -62,16 +62,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-macsrc500kdst500k +| ${traffic_profile}= | trex-sl-3n-ethip4-macsrc500kdst500k *** Keywords *** | Discover NDR or PDR for L2 Bridge Domain with VM @@ -103,8 +104,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index f1a4c28aca..9c88337e98 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -58,14 +58,15 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Discover NDR or PDR for L2 xconnect with VM @@ -97,8 +98,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot index 4d2ca42cbb..232894745c 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-mrr.robot @@ -49,13 +49,14 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2xcbase-eth-2vhostvr1024-1vm @@ -93,8 +94,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index df1a65da14..5d140f5e57 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -55,6 +55,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # X520-DA2 bandwidth limit @@ -89,8 +90,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -121,8 +120,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -154,8 +151,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -186,8 +181,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -220,8 +213,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -253,8 +244,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -286,8 +275,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -318,8 +305,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -351,8 +336,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -383,8 +366,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -417,8 +398,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -450,8 +429,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -483,8 +460,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -515,8 +490,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -548,8 +521,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -580,8 +551,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -614,8 +583,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -647,8 +614,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot index de36f007e3..a71f904208 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot @@ -40,7 +40,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus 5-9 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 | ... | Niantic by Intel. | ... | *[Ver] TG verification:* TG verifies throughput PDR (Partial Drop | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage @@ -55,12 +55,13 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check PDR for L2XC with vhost and VM with dpdk-testpmd @@ -94,8 +95,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with partial loss | ${perf_trial_duration} | | ... | ${rate} | ${framesize} | ${traffic_profile} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot index 858f427a03..fb9c2cb283 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot @@ -58,14 +58,15 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Discover NDR or PDR for L2 xconnect with VM @@ -85,7 +86,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${use_tuned_cfs} | ${True} | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} @@ -112,8 +112,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-mrr.robot index 91590e747f..190e7482be 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-mrr.robot @@ -49,13 +49,14 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 256 # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2xcbase-eth-2vhostvr256-1vm @@ -68,7 +69,6 @@ | | [Arguments] | ${framesize} | ${wt} | ${rxq} | | ... | | # Test Variables required for test and test teardown -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | ${get_framesize}= | Get Frame Size | ${framesize} | | ${max_rate}= | Calculate pps | ${s_limit} | ${get_framesize} @@ -94,8 +94,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-ndrpdrdisc.robot index 45c7de9b55..2f696b23df 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-2vhostvr256-1vm-ndrpdrdisc.robot @@ -56,14 +56,15 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Discover NDR or PDR for L2 xconnect with VM @@ -83,7 +84,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${get_framesize}= | Set Variable If @@ -109,8 +109,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-mrr.robot index b01648c80f..867632a5df 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 #CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} @@ -56,7 +57,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2xcbase-eth-4vhostvr1024-2vm-ndrdisc diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index 0acf3f25f6..37c1419028 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -38,7 +38,7 @@ | ... | Guests are running DPDK testpmd interconnecting vhost-user interfaces | ... | using 5 cores pinned to cpus 6-10 and 11-15 and 2048M memory. Testpmd is | ... | using socket-mem=1024M (512x2M hugepages), 5 cores (1 main core and 4 -| ... | cores dedicated for io), forwarding mode is set to io, rxd/txd=256, +| ... | cores dedicated for io), forwarding mode is set to io, rxd/txd=1024, | ... | burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 Niantic by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -55,6 +55,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} #CPU settings diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot index 8663e4ffa8..f0ff7f2752 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-cfsrr1-ndrpdrdisc.robot @@ -58,6 +58,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -102,8 +103,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-mrr.robot index d242bd7a5a..664c11cb72 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${sock1}= | /tmp/sock-1 | ${sock2}= | /tmp/sock-2 @@ -96,8 +97,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index c488d789f8..31dc4384cb 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -56,6 +56,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} | ${sock1}= | /tmp/sock-1 @@ -63,7 +64,7 @@ | ${fib_table_1}= | 100 | ${fib_table_2}= | 101 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Test Cases *** | tc01-64B-1t1c-ethip4-ip4base-eth-2vhostvr1024-1vm-ndrdisc @@ -94,8 +95,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -128,8 +127,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -163,8 +160,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -197,8 +192,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -233,8 +226,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -268,8 +259,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -303,8 +292,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -337,8 +324,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -372,8 +357,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -406,8 +389,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -442,8 +423,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -477,8 +456,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -512,8 +489,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -546,8 +521,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -581,8 +554,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -615,8 +586,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -651,8 +620,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -686,8 +653,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-pdrchk.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-pdrchk.robot index 5ef535b974..e47e9bc541 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-pdrchk.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-pdrchk.robot @@ -39,7 +39,7 @@ | ... | interconnecting vhost-user interfaces using 5 cores pinned to cpus 5-9 | ... | and 2048M memory. Testpmd is using socket-mem=1024M (512x2M hugepages), | ... | 5 cores (1 main core and 4 cores dedicated for io), forwarding mode is -| ... | set to mac, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE +| ... | set to mac, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE | ... | NIC X520 Niantic by Intel. | ... | *[Ver] TG verification:* TG verifies throughput PDR (Partial Drop | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage @@ -54,12 +54,13 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 | ${sock1}= | /tmp/sock-1 | ${sock2}= | /tmp/sock-2 | ${fib_table_1}= | 100 | ${fib_table_2}= | 101 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Keywords *** | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd @@ -95,8 +96,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with partial loss | ${perf_trial_duration} | | ... | ${rate} | ${framesize} | ${traffic_profile} | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot index 4585279ff0..c57b293220 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-cfsrr1-ndrpdrdisc.robot @@ -58,6 +58,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -68,7 +69,7 @@ | ${fib_table_1}= | 100 | ${fib_table_2}= | 101 # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Keywords *** | Discover NDR or PDR for IPv4 forwarding with VM @@ -88,7 +89,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${use_tuned_cfs} | ${True} | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} @@ -117,8 +117,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Setup Scheduler Policy for Vpp On All DUTs | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-mrr.robot index 2949e9f3bb..d8a763813a 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 256 # Socket names | ${sock1}= | /tmp/sock-1-1 | ${sock2}= | /tmp/sock-1-2 @@ -58,7 +59,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Keywords *** | Check RR for eth-ip4base-eth-2vhostvr256-1vm @@ -71,7 +72,6 @@ | | [Arguments] | ${framesize} | ${wt} | ${rxq} | | ... | | # Test Variables required for test and test teardown -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | ${get_framesize}= | Get Frame Size | ${framesize} | | ${max_rate}= | Calculate pps | ${s_limit} | ${get_framesize} @@ -97,8 +97,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-ndrpdrdisc.robot index 3dd5143874..bd807cf479 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-2vhostvr256-1vm-ndrpdrdisc.robot @@ -56,6 +56,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 256 | ${avg_imix_framesize}= | ${357.833} # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} @@ -86,7 +87,6 @@ | | ... | - search_type - Type of the search - non drop rate (NDR) or partial | | ... | drop rare (PDR). Type: string | | ... -| | Set Test Variable | ${perf_qemu_qsz} | 256 | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${get_framesize}= | Set Variable If @@ -114,8 +114,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac} | | ... | ${dut2_vif2_mac} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr.robot index 3e10115adf..cdd6e90704 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${sock1}= | /tmp/sock-1 | ${sock2}= | /tmp/sock-2 @@ -62,7 +63,7 @@ # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Keywords *** | Check RR for ethip4-ip4base-eth-4vhostvr1024-2vm diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index dc9f0e9193..0dcc9ad5b5 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -56,6 +56,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # CPU settings @@ -63,7 +64,7 @@ | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Test Cases *** | tc01-64B-1t1c-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrdisc diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot index 4538a53e97..c11a4fff9b 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot @@ -53,6 +53,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC7348. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 @@ -62,7 +63,7 @@ | ${s_limit}= | ${10000000000} | ${vxlan_overhead} | ${50} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm @@ -101,8 +102,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 211e6b566e..3fe47b1fe8 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -42,7 +42,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus 5-9 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520 | ... | Niantic by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -59,6 +59,7 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} | ${vxlan_overhead} | ${50} @@ -68,7 +69,7 @@ | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrdisc @@ -100,8 +101,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -135,8 +134,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -170,8 +167,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -204,8 +199,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -241,8 +234,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -277,8 +268,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -313,8 +302,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -348,8 +335,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -383,8 +368,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -417,8 +400,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -454,8 +435,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -490,8 +469,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -526,8 +503,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -561,8 +536,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -596,8 +569,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -630,8 +601,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -667,8 +636,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -703,8 +670,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} diff --git a/tests/vpp/perf/vm_vhost/10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 4605a4b5ca..1ac64d38c1 100644 --- a/tests/vpp/perf/vm_vhost/10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/10ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -39,7 +39,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus on NUMA1 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X710 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X710 | ... | by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -56,15 +56,16 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # X710 bandwidth limit -| ${s_limit} | ${10000000000} +| ${s_limit}= | ${10000000000} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrdisc @@ -95,8 +96,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -129,8 +128,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -164,8 +161,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -198,8 +193,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -234,8 +227,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -268,8 +259,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -303,8 +292,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -337,8 +324,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -372,8 +357,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -406,8 +389,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -442,8 +423,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -477,8 +456,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -512,8 +489,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -546,8 +521,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -581,8 +554,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -615,8 +586,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -651,8 +620,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -686,8 +653,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} diff --git a/tests/vpp/perf/vm_vhost/40ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/40ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot index cb34f35bc7..b75af8f3b5 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1x710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot @@ -49,6 +49,7 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 @@ -57,7 +58,7 @@ # X710 bandwidth limit | ${s_limit} | ${10000000000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm @@ -95,8 +96,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot index 0875c9a6e9..ae5f4b8cfc 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr.robot @@ -49,17 +49,18 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm @@ -99,8 +100,6 @@ | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | ... | jumbo_frames=${jumbo_frames} | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Traffic should pass with maximum rate | ${perf_trial_duration} | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot index 21b4a0edc0..4fafafe212 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdrdisc.robot @@ -39,7 +39,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus on NUMA1 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 | ... | by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -56,17 +56,18 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrdisc @@ -97,8 +98,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -131,8 +130,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -166,8 +163,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -200,8 +195,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -236,8 +229,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -270,8 +261,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -305,8 +294,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -339,8 +326,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -374,8 +359,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -408,8 +391,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -444,8 +425,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -479,8 +458,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -514,8 +491,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -548,8 +523,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -583,8 +556,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -617,8 +588,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} @@ -653,8 +622,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} @@ -688,8 +655,6 @@ | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2} -| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built} -| | ... | ${True} | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot index 3d38724355..2c559fd98f 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-mrr.robot @@ -49,16 +49,17 @@ | ... | addresses of the TG node interfaces. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Check RR for eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index 22b9c63d8c..112bd41bf7 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -39,7 +39,7 @@ | ... | vhost-user interfaces using 5 cores pinned to cpus on NUMA1 and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 | ... | by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -56,16 +56,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-eth-4vhostvr1024-2vm-ndrdisc diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index ad81380b87..dec4d1be78 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -39,7 +39,7 @@ | ... | using 5 cores pinned to cpus on NUMA1 (cpus 24-28 and 29-34) and 2048M | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to -| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 +| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p40GE NIC XL710 | ... | by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -56,16 +56,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-eth-4vhostvr1024-2vm-ndrdisc diff --git a/tests/vpp/perf/vm_vhost/40ge2p1xl710-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot b/tests/vpp/perf/vm_vhost/40ge2p1xl710-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot index a1a0143cfb..86f8d9ee33 100644 --- a/tests/vpp/perf/vm_vhost/40ge2p1xl710-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot +++ b/tests/vpp/perf/vm_vhost/40ge2p1xl710-ethip4-ip4base-eth-4vhostvr1024-2vm-ndrpdrdisc.robot @@ -39,7 +39,7 @@ | ... | interconnecting vhost-user interfaces using 5 cores pinned to cpus on | ... | NUMA1 (cpus 24-28 and 29-34) and 2048M memory. Testpmd is using | ... | socket-mem=1024M (512x2M hugepages), 5 cores (1 main core and 4 cores -| ... | dedicated for io), forwarding mode is set to io, rxd/txd=256, burst=64. +| ... | dedicated for io), forwarding mode is set to io, rxd/txd=1024, burst=64. | ... | DUT1, DUT2 are tested with 2p40GE NIC XL710 by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop @@ -56,16 +56,17 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** +| ${perf_qemu_qsz}= | 1024 # XL710-DA2 bandwidth limit ~49Gbps/2=24.5Gbps -| ${s_24.5G} | ${24500000000} +| ${s_24.5G}= | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps -| ${s_18.75Mpps} | ${18750000} +| ${s_18.75Mpps}= | ${18750000} # CPU settings | ${system_cpus}= | ${1} | ${vpp_cpus}= | ${5} | ${vm_cpus}= | ${5} # Traffic profile: -| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253 +| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253 *** Test Cases *** | tc01-64B-1t1c-eth-ip4base-eth-4vhostvr1024-2vm-ndrdisc