aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Traynor <ktraynor@redhat.com>2023-07-24 13:17:47 +0100
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2023-07-31 09:39:37 -0400
commitd53384f3ec9d6ac0f73f1e6800daa123cc9b6c97 (patch)
tree042b1ff727e24cf6ce4f494617e285e126c18cdf
parent473f4958e95fc138bda3fd55942109ec7d29639a (diff)
downloadsos-d53384f3ec9d6ac0f73f1e6800daa123cc9b6c97.tar.gz
[openvswitch] Add shorter pmd rxq usage periods
Since OVS 3.1 'ovs-appctl dpif-netdev/pmd-rxq-show' also supports showing the pmd rxq % usage over shorter timeframes than the default 1 minute, down to a granularity of 5 secs. A user testing may send traffic and have a steady state for less than 1 min, so it is useful to also see pmd rxq % usage over some shorter time periods. Add pmd-rxq-show stats for 5 and 30 secs. Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
-rw-r--r--sos/report/plugins/openvswitch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py
index 5b32b210..98b08cb3 100644
--- a/sos/report/plugins/openvswitch.py
+++ b/sos/report/plugins/openvswitch.py
@@ -129,6 +129,8 @@ class OpenVSwitch(Plugin):
# Capture OVS datapath list
"ovs-vsctl -t 5 list datapath",
# Capture DPDK queue to pmd mapping
+ "ovs-appctl dpif-netdev/pmd-rxq-show -secs 5",
+ "ovs-appctl dpif-netdev/pmd-rxq-show -secs 30",
"ovs-appctl dpif-netdev/pmd-rxq-show",
# Capture DPDK pmd stats
"ovs-appctl dpif-netdev/pmd-stats-show",