From 5b0a5930281751842062c4b7f29de46c366b88f3 Mon Sep 17 00:00:00 2001 From: Maryam Tahhan Date: Tue, 9 Aug 2016 08:51:04 +0100 Subject: 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 --- conf/02_vswitch.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf/02_vswitch.conf') 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. -- cgit 1.2.3-korg