From a3ac6bb9958c96340cff07d7e464bf1028344318 Mon Sep 17 00:00:00 2001 From: Dino Simeon Madarang Date: Tue, 18 Aug 2015 23:44:36 +0100 Subject: vswitches: Affinitize vswitch threads for OVS-DPDK JIRA: VSPERF-64 Change-Id: I7cefd05479da6fe17357da4da558f466175dd6fc Signed-off-by: Dino Simeon Madarang Reviewed-by: Maryam Tahhan Reviewed-by: Al Morton --- conf/02_vswitch.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'conf/02_vswitch.conf') diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf index 48bf5964..a9202c84 100644 --- a/conf/02_vswitch.conf +++ b/conf/02_vswitch.conf @@ -45,6 +45,12 @@ VSWITCH_VANILLA_KERNEL_MODULES = ['openvswitch'] # directory where hugepages will be mounted on system init HUGEPAGE_DIR = '/dev/hugepages' +# Sets OVS PMD core mask to 2 for CPU core 1 affinitization +VSWITCH_PMD_CPU_MASK = '2' +VSWITCH_AFFINITIZATION_ON = 1 + +VSWITCH_FLOW_TIMEOUT = '30000' + # list of tuples of format (path, module_name), which will be inserted # using 'insmod' on system init -- cgit 1.2.3-korg