laminair / jetson_stats_node_exporter

This project is a custom Prometheus Node Exporter Variation for Nvidia's Jetson Platform.
GNU Affero General Public License v3.0
17 stars 4 forks source link

How can I infer the power threshold of the GPU from the power threshold of the CPU? #14

Closed xiafengdongzhi closed 1 week ago

xiafengdongzhi commented 2 weeks ago

In #13 the author mentions that: we use the device power consumption as a metric instead. We know the power threshold of the CPU and can infer the power threshold of the GPU based on the maximum total power draw of a jetson device, which provides you with all necessary information to calculate the device utilization.

But I don't know how to infer the power threshold of the GPU from the power threshold of the CPU.And If I want to express utilization in terms of power, do I want to divide the current power of the CPU and GPU by their maximum power respectively? Thanks!

xiafengdongzhi commented 2 weeks ago

Is the GPU power threshold the total power minus the CPU power threshold?

laminair commented 1 week ago

Yes, this is one way to do it. The alternative is to fully saturate your device with a matrix multiplication on the GPU and observe the maximum power consumption of the GPU. The same goes for the CPU.