summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-08-05 10:37:27 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-05 10:37:27 +0000
commit896f0fe61346916a560c01c0eae638894d653d7e (patch)
tree771084ca5013bc3c13f8c851b9795cd3a6067ba6 /conf
parent236073f3963ee4dc038eea3b42d60644ebfc703f (diff)
parent690954dec9cf852fb2830605e1e295ab58c0a2e1 (diff)
Merge "Hugepages: on the fly allocation."
Diffstat (limited to 'conf')
-rw-r--r--conf/02_vswitch.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf
index 79f0afbd..e5736138 100644
--- a/conf/02_vswitch.conf
+++ b/conf/02_vswitch.conf
@@ -100,6 +100,11 @@ VSWITCH_BRIDGE_NAME = 'br0'
# directory where hugepages will be mounted on system init
HUGEPAGE_DIR = '/dev/hugepages'
+# If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION.
+# Default is 2 x 1048576 = 2097152 kB.
+# 10 GB (10485760 kB) or more is recommended for PVP & PVVP testing scenarios.
+HUGEPAGE_RAM_ALLOCATION = 2097152
+
# Sets OVS PMDs core mask to 30 for affinitization to 5th and 6th CPU core.
# Note that the '0x' notation should not be used.
VSWITCH_PMD_CPU_MASK = '30'