summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2017-08-25 00:48:01 -0700
committerDarrell Ball <dlu998@gmail.com>2017-08-25 00:48:01 -0700
commit655856ef39b98dd854a2a764b1b2e88a020e3099 (patch)
treea466d57bbfa9897f4be7a62751e13d28bf391b91 /Documentation
parent4809891b2e017dda95bb9cbacd470d0065fc7ce4 (diff)
downloadopenvswitch-655856ef39b98dd854a2a764b1b2e88a020e3099.tar.gz
dpif-netdev: Change rxq_scheduling to use rxq processing cycles.
Previously rxqs were assigned to pmds by round robin in port/queue order. Now that we have the processing cycles used for existing rxqs, use that information to try and produced a better balanced distribution of rxqs across pmds. i.e. given multiple pmds, the rxqs which have consumed the largest amount of processing cycles will be placed on different pmds. The rxqs are sorted by their processing cycles and assigned (in sorted order) round robin across pmds. Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Signed-off-by: Darrell Ball <dlu998@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/howto/dpdk.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst
index d7f6610be..a67f3a1fa 100644
--- a/Documentation/howto/dpdk.rst
+++ b/Documentation/howto/dpdk.rst
@@ -118,6 +118,13 @@ After that PMD threads on cores where RX queues was pinned will become
``core_id`` not in ``pmd-cpu-mask``), RX queue will not be polled by any PMD
thread.
+If pmd-rxq-affinity is not set for rxqs, they will be assigned to pmds (cores)
+automatically. The processing cycles that have been stored for each rxq
+will be used where known to assign rxqs to pmd based on a round robin of the
+sorted rxqs.
+
+Rxq to pmds assignment takes place whenever there are configuration changes.
+
QoS
---