diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-08-24 13:51:20 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2015-08-24 14:20:32 +0000 |
commit | 65fe266e99de3746372e633794c07ad95c1e383e (patch) | |
tree | 1d263973271fe33d11d262c833005a51f79df452 | |
parent | 400c276d192d280cf74f09b2e8b2234057b56de3 (diff) |
docs: Add Gotchas to quickstart guide.
JIRA: VSPERF-60
Change-Id: I63695f8fa8a86cf1e64fd959658e11f3d827a3c4
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
-rw-r--r-- | docs/quickstart.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst index fe04cb7d..5c5b7625 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -155,6 +155,30 @@ For all available options, check out the help dialog: ./vsperf --help + +GOTCHAs: +-------- + +OVS with DPDK and QEMU +~~~~~~~~~~~~~~~~~~~~~~~ +If you encounter the following error: "before (last 100 chars): +'-path=/dev/hugepages,share=on: unable to map backing store for +hugepages: Cannot allocate memory\r\n\r\n" with the PVP deployment +scenario, check the amount of hugepages on your system: + +.. code:: bash + + cat /proc/meminfo | grep HugePages + + +By default the vswitchd is launched with 1Gb of memory, to change +this, modify --socket-mem parameter in conf/02_vswitch.conf to allocate +an appropriate amount of memory: + +.. code:: bash + + VSWITCHD_DPDK_ARGS = ['-c', '0x4', '-n', '4', '--socket-mem 1024,0'] + -------------- .. |Alt text| image:: images/TCLServerProperties.png |