summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2021-02-11 19:31:50 +0000
committerIan Stokes <ian.stokes@intel.com>2021-02-12 10:20:35 +0000
commit1560b4667353036a6bd21d8ba2eadef1b455e717 (patch)
treeb12034613c2d732f088e1c8d05887a9746f7afd5 /Documentation
parentcaa41a871ba044f371751283f721d13d4bf27522 (diff)
downloadopenvswitch-1560b4667353036a6bd21d8ba2eadef1b455e717.tar.gz
docs: Update for auto load balance threshold parameters.
Update the docs to remove the previously hardcoded values and mention the load and improvement thresholds when describing the operation of auto load balance. Fixes: 62ab5594c20c ("dpif-netdev: Add parameters to configure PMD auto load balance.") Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Ilya Maximets <i.maximets@ovn.org> Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/topics/dpdk/pmd.rst21
1 files changed, 18 insertions, 3 deletions
diff --git a/Documentation/topics/dpdk/pmd.rst b/Documentation/topics/dpdk/pmd.rst
index 6f1fdcbc6..caa7d97be 100644
--- a/Documentation/topics/dpdk/pmd.rst
+++ b/Documentation/topics/dpdk/pmd.rst
@@ -210,15 +210,30 @@ If any of above is not met PMD Auto Load Balancing is disabled.
Once auto load balancing is set, each non-isolated PMD measures the processing
load for each of its associated queues every 10 seconds. If the aggregated PMD
-load reaches 95% for 6 consecutive intervals then PMD considers itself to be
-overloaded.
+load reaches the load threshold for 6 consecutive intervals then PMD considers
+itself to be overloaded.
+
+For example, to set the load threshold to 70%::
+
+ $ ovs-vsctl set open_vswitch .\
+ other_config:pmd-auto-lb-load-threshold="70"
+
+If not set, the default load threshold is 95%.
If any PMD is overloaded, a dry-run of the PMD assignment algorithm is
performed by OVS main thread. The dry-run does NOT change the existing queue
to PMD assignments.
If the resultant mapping of dry-run indicates an improved distribution of the
-load then the actual reassignment will be performed.
+load by at least the variance improvement threshold then the actual
+reassignment will be performed.
+
+For example, to set the variance improvement threshold to 40%::
+
+ $ ovs-vsctl set open_vswitch .\
+ other_config:pmd-auto-lb-improvement-threshold="40"
+
+If not set, the default variance improvement threshold is 25%.
.. note::