'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 <[email protected]>
Acked-by: Sunil Pai G <[email protected]>
---
 Documentation/topics/dpdk/pmd.rst | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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
@@ -60,8 +60,23 @@ 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
 ---------------------------------------
@@ -304,2 +319,5 @@ or a week.
     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
-- 
2.31.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to