summaryrefslogtreecommitdiff
path: root/INSTALL.DPDK.md
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2016-06-13 11:10:09 +0100
committerDaniele Di Proietto <diproiettod@vmware.com>2016-06-17 17:11:55 -0700
commitdb8f13b0201e992cc4a3aa12799723b19a509b46 (patch)
treebde9e75060e51acb2bb6ab2a3deaa4af90deedba /INSTALL.DPDK.md
parent885b8265d682a9736bb0db98c48a811bfd9de6cf (diff)
downloadopenvswitch-db8f13b0201e992cc4a3aa12799723b19a509b46.tar.gz
netdev-dpdk: NUMA Aware vHost User
This commit allows for vHost User memory from QEMU, DPDK and OVS, as well as the servicing PMD, to all come from the same socket. The socket id of a vhost-user port used to be set to that of the master lcore. Now it is possible to update the socket id if it is detected (during VM boot) that the vhost device memory is not on this node. If this is the case, a new mempool is created from the new node, and the PMD thread currently servicing the port will no longer, in favour of a thread from the new node (if enabled in the pmd-cpu-mask). To avail of this functionality, one must enable the CONFIG_RTE_LIBRTE_VHOST_NUMA DPDK configuration option. Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
Diffstat (limited to 'INSTALL.DPDK.md')
-rw-r--r--INSTALL.DPDK.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md
index c2e32bf61..00e75bda2 100644
--- a/INSTALL.DPDK.md
+++ b/INSTALL.DPDK.md
@@ -16,7 +16,7 @@ OVS needs a system with 1GB hugepages support.
Building and Installing:
------------------------
-Required: DPDK 16.04
+Required: DPDK 16.04, libnuma
Optional (if building with vhost-cuse): `fuse`, `fuse-devel` (`libfuse-dev`
on Debian/Ubuntu)
@@ -465,7 +465,11 @@ Performance Tuning:
It is good practice to ensure that threads that are in the datapath are
pinned to cores in the same NUMA area. e.g. pmd threads and QEMU vCPUs
- responsible for forwarding.
+ responsible for forwarding. If DPDK is built with
+ CONFIG_RTE_LIBRTE_VHOST_NUMA=y, vHost User ports automatically
+ detect the NUMA socket of the QEMU vCPUs and will be serviced by a PMD
+ from the same node provided a core on this node is enabled in the
+ pmd-cpu-mask.
9. Rx Mergeable buffers