[PATCH v5] virtio: optimize stats counters performance
Stephen Hemminger
stephen at networkplumber.org
Thu Aug 1 18:17:35 CEST 2024
On Thu, 1 Aug 2024 16:03:12 +0000
Morten Brørup <mb at smartsharesystems.com> wrote:
> Optimized the performance of updating the virtio statistics counters by
> reducing the number of branches.
>
> Ordered the packet size comparisons according to the probability with
> typical internet traffic mix.
>
> Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
LGTM
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
I wonder if other software drivers could use similar counters?
More information about the dev
mailing list