From a3216e6d5b03ef9d0333329b95d345847a755f63 Mon Sep 17 00:00:00 2001 From: kalyanreddy Date: Tue, 26 Sep 2017 09:59:44 -0700 Subject: 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 --- tests/vsperf.conf | 9 ++++++++- tests/vsperf.conf.sriov | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) 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', -- cgit 1.2.3-korg