[PATCH 0/1] net/ena: adding a histogram framework to 2.11.0
Morten Brørup
mb at smartsharesystems.com
Tue Oct 29 09:54:42 CET 2024
> From: Shai Brandes <shaibran at amazon.com>
>
> This update is an enhancement to the ENA driver version 2.11.0 release.
> It is a "nice to have" feature for the 24.11 release, should it be
> included before the code freeze deadline.
>
> This addition leverages an internal framework used in our testing
> processes, which may offer significant benefits for customers.
> It calculates the differences between specified start and end
> points in the code, generating a histogram of time intervals
> to provide detailed insights into performance.
Yes, histograms can be extremely useful.
The SmartShare applications use histograms for a variety of purposes, e.g. function profiling (like yours), number of packets per RX burst, number of packets per flow, and much more.
The distribution index can be linear (like yours), log2, or - for higher resolution - floating point with 3 or 4 bits mantissa and 5 or more bits exponent.
Please provide generic histograms as a proper library, not tied to a specific driver, and not specifically using "time" as parameter.
More information about the dev
mailing list