diff options
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/configguide/installation.rst | 32 | ||||
-rwxr-xr-x | docs/userguide/testusage.rst | 10 |
2 files changed, 42 insertions, 0 deletions
diff --git a/docs/configguide/installation.rst b/docs/configguide/installation.rst index d6161b9a..5072dee0 100755 --- a/docs/configguide/installation.rst +++ b/docs/configguide/installation.rst @@ -104,6 +104,29 @@ Fedora, RedHat and Ubuntu $ cd $HOME/vsperfenv $ source bin/activate +Gotcha +^^^^^^ +.. code:: bash + $ source bin/activate + Badly placed ()'s. + +Check what type of shell you are using + +.. code:: bash + echo $shell + /bin/tcsh + +See what scripts are available in $HOME/vsperfenv/bin + +.. code:: bash + $ ls bin/ + activate activate.csh activate.fish activate_this.py + +source the appropriate script + +.. code:: bash + $ source bin/activate.csh + Working Behind a Proxy ====================== @@ -141,6 +164,15 @@ your configuration in the ``02_vswitch.conf`` file. .. code:: bash VSWITCHD_DPDK_ARGS = ['-c', '0x4', '-n', '4', '--socket-mem 1024,1024'] + VSWITCHD_DPDK_CONFIG = { + 'dpdk-init' : 'true', + 'dpdk-lcore-mask' : '0x4', + 'dpdk-socket-mem' : '1024,1024', + } + +Note: Option VSWITCHD_DPDK_ARGS is used for vswitchd, which supports --dpdk +parameter. In recent vswitchd versions, option VSWITCHD_DPDK_CONFIG will be +used to configure vswitchd via ovs-vsctl calls. With the --socket-mem argument set to use 1 hugepage on the specified sockets as seen above, the configuration will need 9 hugepages total to run all tests diff --git a/docs/userguide/testusage.rst b/docs/userguide/testusage.rst index 233f7015..104723e3 100755 --- a/docs/userguide/testusage.rst +++ b/docs/userguide/testusage.rst @@ -569,6 +569,16 @@ an appropriate amount of memory: .. code-block:: console VSWITCHD_DPDK_ARGS = ['-c', '0x4', '-n', '4', '--socket-mem 1024,0'] + VSWITCHD_DPDK_CONFIG = { + 'dpdk-init' : 'true', + 'dpdk-lcore-mask' : '0x4', + 'dpdk-socket-mem' : '1024,0', + } + +Note: Option VSWITCHD_DPDK_ARGS is used for vswitchd, which supports --dpdk +parameter. In recent vswitchd versions, option VSWITCHD_DPDK_CONFIG will be +used to configure vswitchd via ovs-vsctl calls. + More information ^^^^^^^^^^^^^^^^ |