aboutsummaryrefslogtreecommitdiffstats
path: root/conf/04_vnf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/04_vnf.conf')
-rw-r--r--conf/04_vnf.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/04_vnf.conf b/conf/04_vnf.conf
index 75f107e8..eafec74b 100644
--- a/conf/04_vnf.conf
+++ b/conf/04_vnf.conf
@@ -142,10 +142,19 @@ GUEST_HUGEPAGES_NR = ['1024']
# test-pmd requires 2 VM cores
GUEST_SMP = ['2']
+# cpu features to the guest, default options provided to pass all available
+# host processor features to the guest. Also tsc deadline timer for guest,
+# the guest PMU, the invariant TSC options can be provided as well.
+GUEST_CPU_OPTIONS = ['host,migratable=off']
+
# Host cores to use to affinitize the SMP cores of a QEMU instance
# For 2 VNFs you may use [(4,5), (6, 7)]
GUEST_CORE_BINDING = [('#EVAL(6+2*#VMINDEX)', '#EVAL(7+2*#VMINDEX)')]
+# pin guest vCPU threads to another pCPU core. This reduces the noise from qemu
+# housekeeping threads. By default the GUEST_THREAD_BINDING will be none.
+GUEST_THREAD_BINDING = [ None ]
+
# Queues per NIC inside guest for multi-queue configuration, requires switch
# multi-queue to be enabled for dpdk. Set to 0 for disabled. Can be enabled if
# using Vanilla OVS without enabling switch multi-queue.