Comment 4 for bug 1584006

Revision history for this message
Atsuko Ito (yottatsa) wrote :

It's basically correct. There is full summary for further understanding and docs team.

Cores for PMD processes SHOULD be from NUMA/Cluster*, where the NICs is located, minimum 1 PMD per NUMA/Cluster. Additional cores MAY be scheduled from other NUMA/Clusters*, where NICs or instances located (see perf notes**).

Core for ovs core process should be from one of NUMA/Cluster*, where PMD is scheduled.
Memory SHOULD be allocated on NUMA, where PMD is scheduled.

* Cluster is used when box is in cluster-on-die mode, cluster == socket.

** For performance, more than 1 PMD per NUMA could be scheduled. For VM-to-wire it should be NUMA/cluster with NICs, for VM-to-VM inside box it should be NUMA where the instances is running. Rule of thumb: 1 PMD could process 3 Mpps of traffic. n-dpdk-rxqs should be adjusted to number of PMD per NIC.

E.g. to utilize 10GigE interface bidirectionally we need 12 Mpps each direction, so we need 8 PMD (8PMD * 3 Mpps = 12 Mpps * 2 (in/out)). ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=8.