[PATCH v3 1/2] latencystats: fix receive sample MP issues

Stephen Hemminger stephen at networkplumber.org
Thu Jun 26 17:01:17 CEST 2025


On Wed, 25 Jun 2025 11:31:43 +0000
"Varghese, Vipin" <Vipin.Varghese at amd.com> wrote:

> Following are our understanding
> 
> 1. increase in multi-queue latency is attributed by spinlock.
> 2. the lower latency with patch for multi-queue is because the lowest of all queues are taken into account.
> 
> Question: will there be per queue min, max, avg stats be enhanced in future?
> 
> Tested-by: Thiyagarajan P <Thiyagarajan.P at amd.com>
> Reviewed-by: Vipin Varghese <Vipin.Varghese at amd.com>


It would make sense for the latencystats to be per-port/per-queue and avoid the
locking, but it would be a significant API change. If you actually use this
then would be good to make it better.


More information about the dev mailing list