summaryrefslogtreecommitdiff
path: root/Documentation/topics
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2021-12-20 14:38:42 +0000
committerIlya Maximets <i.maximets@ovn.org>2022-01-18 12:26:36 +0100
commit5cc05243510254db5d5a0b184d04f5e72404fe44 (patch)
tree7cec4de159866327cd6c144f2cdd645e3f5b1743 /Documentation/topics
parentf0adea3fced8cc0cba0930375576d09e079c7ca5 (diff)
downloadopenvswitch-5cc05243510254db5d5a0b184d04f5e72404fe44.tar.gz
Documentation: Update PMD thread statistics.
'pmd-perf-show' gives some extra information and has nicer formatting than 'pmd-stats-show'. Let the user know they can use that as well to get PMD stats. Signed-off-by: Kevin Traynor <ktraynor@redhat.com> Acked-by: Sunil Pai G <sunil.pai.g@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/topics')
-rw-r--r--Documentation/topics/dpdk/pmd.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/topics/dpdk/pmd.rst b/Documentation/topics/dpdk/pmd.rst
index e27e4351f..7f4825cb1 100644
--- a/Documentation/topics/dpdk/pmd.rst
+++ b/Documentation/topics/dpdk/pmd.rst
@@ -59,10 +59,25 @@ To show current stats::
$ ovs-appctl dpif-netdev/pmd-stats-show
+or::
+
+ $ ovs-appctl dpif-netdev/pmd-perf-show
+
+Detailed performance metrics for ``pmd-perf-show`` can also be enabled::
+
+ $ ovs-vsctl set Open_vSwitch . other_config:pmd-perf-metrics=true
+
+See the `ovs-vswitchd(8)`_ manpage for more information.
+
To clear previous stats::
$ ovs-appctl dpif-netdev/pmd-stats-clear
+.. note::
+
+ PMD stats are cumulative so they should be cleared in order to see how the
+ PMDs are being used with current traffic.
+
Port/Rx Queue Assignment to PMD Threads
---------------------------------------
@@ -303,3 +318,6 @@ or a week.
due to changes required in dpctl flows and EMC for newly added flows.
In such scenarios user should configure rebalance interval accordingly
to avoid frequent rebalancing happening.
+
+.. _ovs-vswitchd(8):
+ http://openvswitch.org/support/dist-docs/ovs-vswitchd.8.html