From: kalyanreddy Date: Tue, 26 Sep 2017 16:59:44 +0000 (-0700) Subject: To update vsperf/packet-forwarding configuration files X-Git-Tag: opnfv-5.2.0~3^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=commitdiff_plain;h=a3216e6d5b03ef9d0333329b95d345847a755f63 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 --- 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',