marisolpalmero / GREEN-bof

Green Metrics BOF proposal for WG Creation
4 stars 4 forks source link

Understanding the power / energy metrics #33

Closed luismcontreras closed 5 months ago

luismcontreras commented 5 months ago

Something that is not 100% clear to me is how to work with the power / energy metrics that coudl be collected in a given point of time. We know well other networking metrics such as latency, jitter, bandwidth, etc where spurious behaviors can be identified and outliers ignored. I'm not sure of this is the same case for power / energy metrics.

So, in addition to the collection and aggregation of metrics I think it would be great to include some indications on how to use or interpret them, how the handle, etc. It would help to create a common understanding between producers and consumers of such metrics.

janlindblad commented 5 months ago

Agree completely, we have to work something out and agree. Just one simple example: If you have a 100 power-usage values collected from 100 different devices during the last 5 minutes, does it make sense to just add the latest numbers together? Would linear interpolation produce better values?

tony1athome commented 5 months ago

That entirely depends on what you're trying to accomplish. If you're trying to compute an optimal topology, then adding them together is pointless. Similarly, linear interpolation doesn't help. It might be more effective to compute which ASIC is most power inefficient at its current loading and then redirect traffic away from it.

Alternately, If you're doing path computation, you might want to use those power readings to determine the most power efficient ASICs on the path and use that as part of path computation.

marisolpalmero commented 5 months ago

include the text: "Create a unified document that includes both the energy consumption metrics and their associated YANG data models, along with guidance on how to use, interpret, and handle them."

marisolpalmero commented 5 months ago

it is included under Goal and Scope section