[dpdk-dev] [PATCH v1] examples/l3fwd-power: add telemetry mode support

Stephen Hemminger stephen at networkplumber.org
Wed May 22 17:16:57 CEST 2019


On Fri, 17 May 2019 19:17:12 +0100
Reshma Pattan <reshma.pattan at intel.com> wrote:

> Add new telemetry mode support for l3fwd-power.
> This is a standalone mode, in this mode l3fwd-power
> does simple l3fwding along with calculating
> empty polls, full polls, and busy percentage for
> each forwarding core. The aggregation of these
> values of all cores is reported as application
> level telemetry to metric library for every 10ms from the
> master core.
> 
> The busy percentage is calculated by recording the poll_count
> and when the count reaches a defined value the total
> cycles it took is measured and compared with minimum and maximum
> reference cycles and busy rate is set according to either 0% or
> 50% or 100%.
> 
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>

I think this adding more complexity to an example, which makes it harder
not easier for users.  The existing l3fwd-power has grown too large
already and needs some architecture refactoring anyway.


More information about the dev mailing list