Bug 2134080 - [RFE] Make pmd-rxq-show pmd usage % time configurable
Summary: [RFE] Make pmd-rxq-show pmd usage % time configurable
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch2.17
Version: FDP 22.C
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Kevin Traynor
QA Contact: Hekai Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-12 12:23 UTC by Kevin Traynor
Modified: 2023-08-04 01:47 UTC (History)
7 users (show)

Fixed In Version: openvswitch3.1-3.1.0-2.el8fdp, openvswitch3.1-3.1.0-0.4.el9fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2356 0 None None None 2022-10-12 12:29:55 UTC

Description Kevin Traynor 2022-10-12 12:23:15 UTC
pmd-rxq-show shows the Rx queue to pmd assignments as well as the
pmd usage of each Rx queue.

Up until now a tail length of 60 seconds pmd usage was shown
for each Rx queue, as this is the value used during rebalance
to avoid any spike affects.

When debugging or tuning, it is also convenient to display the
pmd usage of an Rx queue over a shorter time frame, so any changes
config or traffic that impact pmd usage can be evaluated more quickly.

This RFE is to provide an option for getting stats over a shorter time frame.

Comment 1 Kevin Traynor 2022-10-12 12:28:27 UTC
v1 series submitted here:

https://mail.openvswitch.org/pipermail/ovs-dev/2022-October/398232.html
https://mail.openvswitch.org/pipermail/ovs-dev/2022-October/398233.html
https://mail.openvswitch.org/pipermail/ovs-dev/2022-October/398235.html
https://mail.openvswitch.org/pipermail/ovs-dev/2022-October/398234.html
https://mail.openvswitch.org/pipermail/ovs-dev/2022-October/398236.html

A parameter is added that allows pmd-rxq-show stats pmd usage to
be shown for a shorter time frame. Values are rounded up to the
nearest 5 seconds as that is the measurement granularity and the value
used is displayed. e.g.

$ ovs-appctl dpif-netdev/pmd-rxq-show -secs 5
 Displaying last 5 seconds pmd usage %
 pmd thread numa_id 0 core_id 4:
   isolated : false
   port: dpdk0            queue-id:  0 (enabled)   pmd usage: 95 %
   overhead:  4 %

The default time frame has not changed and the maximum value
is limited to the maximum stored tail length (60 seconds).

Comment 2 Kevin Traynor 2023-05-18 12:33:24 UTC
This is merged for OVS 3.1. It is not available in earlier version of OVS.


Note You need to log in before you can comment on or make changes to this bug.