Skip to content

Commit

Permalink
[openvswitch] Add shorter pmd rxq usage periods
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kevintraynor committed Jul 24, 2023
1 parent a660c4f commit 92c2ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sos/report/plugins/openvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 92c2ce0

Please sign in to comment.