aboutsummaryrefslogtreecommitdiffstats
path: root/docs/configguide
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 /docs/configguide
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 'docs/configguide')
-rwxr-xr-xdocs/configguide/installation.rst5
1 files changed, 5 insertions, 0 deletions
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.