aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMars Toktonaliev <mars.toktonaliev@nokia.com>2016-07-20 18:01:52 -0400
committerMars Toktonaliev <mars.toktonaliev@nokia.com>2016-08-04 01:25:07 -0400
commit690954dec9cf852fb2830605e1e295ab58c0a2e1 (patch)
tree04bc6e5f562fe4d5cdb2d9d57f888b724e2bc193 /conf
parent5109fb49432be5bb0075b6b55e8b5304fa6172be (diff)
Hugepages: on the fly allocation.
If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION amount of RAM for hugepages. JIRA: VSPERF-290 Change-Id: I092b3831254579eeebbe45e85884828f9d749895 Signed-off-by: Mars Toktonaliev <mars.toktonaliev@nokia.com>
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'