From 5cc05243510254db5d5a0b184d04f5e72404fe44 Mon Sep 17 00:00:00 2001 From: Kevin Traynor Date: Mon, 20 Dec 2021 14:38:42 +0000 Subject: 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 Acked-by: Sunil Pai G Reviewed-by: David Marchand Signed-off-by: Ilya Maximets --- Documentation/topics/dpdk/pmd.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Documentation') 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 -- cgit v1.2.1