diff options
author | Christian Trautman <ctrautma@redhat.com> | 2016-09-05 02:42:19 -0400 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2016-09-14 14:43:49 +0000 |
commit | a325eb33fbe408243209b19f2d9cc288b2e57548 (patch) | |
tree | 035b86339e0ca4bfe2ff8ed6b9d2915dd9022bd6 /conf | |
parent | acdb444a54124834acdde45107062eaf1452c119 (diff) |
merge_buffers: Add option to disable merge buffer on qemu startup
In cases with VHost user and non-jumbo frame scenarios we can
disable merge buffers on the guest NICS to improve performance.
This patch adds this option to the 04_vnf conf file.
JIRA: VSPERF-388
Change-Id: Ic1f776e90fdccaa5d5a0c952c96811a8747fe936
Signed-off-by: Christian Trautman <ctrautma@redhat.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/04_vnf.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/conf/04_vnf.conf b/conf/04_vnf.conf index 2e86b358..ac5559a2 100644 --- a/conf/04_vnf.conf +++ b/conf/04_vnf.conf @@ -140,11 +140,15 @@ GUEST_CORE_BINDING = [('#EVAL(6+2*#VMINDEX)', '#EVAL(7+2*#VMINDEX)')] # using Vanilla OVS without enabling switch multi-queue. GUEST_NIC_QUEUES = [0] +# Disable VHost user guest NIC merge buffers by enabling the below setting. This +# can improve performance when not using Jumbo Frames. +GUEST_NIC_MERGE_BUFFERS_DISABLE = [True] + # Virtio-Net vhost thread CPU mapping. If using vanilla OVS with virtio-net, # you can affinitize the vhost-net threads by enabling the below setting. There # is one vhost-net thread per port per queue so one guest with 2 queues will # have 4 vhost-net threads. If more threads are present than CPUs given, the -# affinitize will overlap CPUs. +# affinitize will overlap CPUs in a round robin fashion. VSWITCH_VHOST_NET_AFFINITIZATION = False VSWITCH_VHOST_CPU_MAP = [4,5,8,11] |