diff options
author | Kevin Traynor <ktraynor@redhat.com> | 2022-11-30 17:39:52 +0000 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-12-21 20:57:29 +0100 |
commit | 526230bfab09095cf0214c7033382463b9d506cf (patch) | |
tree | 947a304070a81b74872e6851c1db380e75756541 /Documentation | |
parent | 9a86a3dd68f054d47e1a93b8dec03d51479554f4 (diff) | |
download | openvswitch-526230bfab09095cf0214c7033382463b9d506cf.tar.gz |
dpif-netdev: Make pmd-rxq-show time configurable.
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 effects.
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.
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).
Reviewed-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions