summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-08-09 08:51:04 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2016-08-09 08:03:34 +0000
commit5b0a5930281751842062c4b7f29de46c366b88f3 (patch)
treedd729f67da705906c81c47491e39b82b90d83eee /conf
parent31f0a3e0a25e147e285d14e2e262ac48aa83ce65 (diff)
hugepages: change default num pages + deallocate
Change the default number of allocated pages to the min 10GB. Deallocate hugepages if we allocated them on the fly. Change-Id: If9946cec423dd095c1ca1ab3bee3698e2f025047 Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/02_vswitch.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/02_vswitch.conf b/conf/02_vswitch.conf
index e5736138..81632d56 100644
--- a/conf/02_vswitch.conf
+++ b/conf/02_vswitch.conf
@@ -101,9 +101,9 @@ VSWITCH_BRIDGE_NAME = 'br0'
HUGEPAGE_DIR = '/dev/hugepages'
# If no hugepages are available, try to allocate HUGEPAGE_RAM_ALLOCATION.
-# Default is 2 x 1048576 = 2097152 kB.
+# Default is 10 GB.
# 10 GB (10485760 kB) or more is recommended for PVP & PVVP testing scenarios.
-HUGEPAGE_RAM_ALLOCATION = 2097152
+HUGEPAGE_RAM_ALLOCATION = 10485760
# Sets OVS PMDs core mask to 30 for affinitization to 5th and 6th CPU core.
# Note that the '0x' notation should not be used.