summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-09-26 09:59:44 -0700
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-09-26 17:18:40 +0000
commita61cc9dc9287a3834bddc23e92793a4b8f8560a9 (patch)
tree5c96896c6f4d482117a476784f821e0a27458d05
parentd651cc71797f8f32b0fe40ca4ee1c21d50558fd1 (diff)
To update vsperf/packet-forwarding configuration files
This patch is used to update the vsperf configuration files for enabling thread binding and to select the loopback application for tests with VMs. Change-Id: Id561475a56e6b262eb90fcab1b07bfeb51df6147 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> (cherry picked from commit a3216e6d5b03ef9d0333329b95d345847a755f63)
-rwxr-xr-xtests/vsperf.conf9
-rwxr-xr-xtests/vsperf.conf.sriov7
2 files changed, 15 insertions, 1 deletions
diff --git a/tests/vsperf.conf b/tests/vsperf.conf
index a5055e770..ac5505261 100755
--- a/tests/vsperf.conf
+++ b/tests/vsperf.conf
@@ -26,7 +26,14 @@ WHITELIST_NICS = ['02:00.0', '02:00.1']
##############################
# VNF configuration
##############################
-GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2','/home/jenkins/vloop-vnf-ubuntu-14.04_20160823.qcow2']
+GUEST_SMP = ['2']
+GUEST_CORE_BINDING = [('27','28'),('29','30')]
+GUEST_THREAD_BINDING = [('33','34'),('35','36')]
+VNF_AFFINITIZATION_ON = True
+# loopback application for tests with VMs
+GUEST_LOOPBACK=['testpmd','testpmd']
+TESTPMD_FWD_MODE = 'io'
#Using kvmfornfv built qemu for launching guest vms.
PATHS['qemu'] = {
'type' : 'bin',
diff --git a/tests/vsperf.conf.sriov b/tests/vsperf.conf.sriov
index c37414c1b..f476848b7 100755
--- a/tests/vsperf.conf.sriov
+++ b/tests/vsperf.conf.sriov
@@ -28,6 +28,13 @@ PATHS['dpdk']['src']['modules'] = ['uio', 'vfio-pci']
# VNF configuration
#############################
GUEST_IMAGE = ['/home/jenkins/vloop-vnf-ubuntu-14.04_20160804.qcow2']
+GUEST_SMP = ['2']
+GUEST_CORE_BINDING = [('27','28'),('29','30')]
+GUEST_THREAD_BINDING = [('33','34'),('35','36')]
+VNF_AFFINITIZATION_ON = True
+# loopback application for tests with VMs
+GUEST_LOOPBACK=['testpmd','testpmd']
+TESTPMD_FWD_MODE = 'io'
#Using kvmfornfv built qemu for launching guest vms.
PATHS['qemu'] = {
'type' : 'bin',