From 92c2ce0d28f279ecf62686f963d38e078f9f6732 Mon Sep 17 00:00:00 2001 From: Kevin Traynor Date: Mon, 24 Jul 2023 13:17:47 +0100 Subject: [PATCH] [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 --- sos/report/plugins/openvswitch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/report/plugins/openvswitch.py b/sos/report/plugins/openvswitch.py index 5b32b2104a..98b08cb341 100644 --- a/sos/report/plugins/openvswitch.py +++ b/sos/report/plugins/openvswitch.py @@ -129,6 +129,8 @@ def setup(self): # 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",