On 2 Jun 2026, at 21:35, Ilya Maximets wrote:
> The 'pmd-perf-show' command provides all the same information and more.
> It is also better visually structured and easier to read as a result.
>
> Let's remove the old 'pmd-stats-show' command, as there is no real need
> to have two commands reporting the same data.
>
> The only difference until now was that 'pmd-perf-show' didn't provide
> information for the "main" thread. This change makes it report the
> statistics for the aggregated "main" thread as well, omitting things
> related to CPU cycles, as we can't collect those for threads that are
> not pinned. For the same reason histograms are also always disabled.
> Omission is done by checking the total number of iterations to be zero.
> "main" thread doesn't start/end iterations.
>
> The actual unixctl command is preserved undocumented and serves as an
> alias for 'pmd-perf-show'. This should allow old scripts that are just
> capturing the output for humans (or LLMs?) to read to keep working.
> Note, however, that the exact output format for unixctl commands was
> never a guarantee, so scripts that attempt to parse the output may
> still break.
>
> Signed-off-by: Ilya Maximets <[email protected]>
Changes look good to me, and hw offload tests pass.
Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev