From 690954dec9cf852fb2830605e1e295ab58c0a2e1 Mon Sep 17 00:00:00 2001 From: Mars Toktonaliev Date: Wed, 20 Jul 2016 18:01:52 -0400 Subject: 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 --- docs/configguide/installation.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/configguide/installation.rst b/docs/configguide/installation.rst index 5072dee0..1755ca6f 100755 --- a/docs/configguide/installation.rst +++ b/docs/configguide/installation.rst @@ -190,3 +190,8 @@ You can review your hugepage amounts by executing the following command .. code:: bash cat /proc/meminfo | grep Huge + +If no hugepages are available vsperf will try to automatically allocate some. +Allocation is controlled by HUGEPAGE_RAM_ALLOCATION configuration parameter in +``02_vswitch.conf`` file. Default is 2GB, resulting in either 2 1GB hugepages +or 1024 2MB hugepages. -- cgit 1.2.3-korg