rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.14k stars 261 forks source link

jtop should not print Total value as sum of POM_5V_IN, POM_5V_GPU and POM_5V_CPU #51

Closed Lissanro closed 4 years ago

Lissanro commented 4 years ago

When running jtop I noticed that Total Power is greater than POM_5V_IN: Screenshot_20200321_210452 According to https://forums.developer.nvidia.com/t/power-consumption-monitoring/73608/8 "POM_5V_IN measures the overall 5V input to the board, it represents the total power consumption. You don’t need to add POM_5V_GPU and POM_5V_CPU to it. The GPU/CPU rails are provided for extra reference."

That means Total row is always wrong and correct total value is given by POM_5V_IN. I suggest to either remove Total row or make it equal to POM_5V_IN, or rename "POM_5V_IN" to "POM_5V_IN (Total)".

rbonghi commented 4 years ago

Hi @Lissanro

Thank you for this hint. At this time the total is evaluated only with a direct sum from all data from tegrastats.

I will find a way to add this correction in my new version of jetson_stats

thank you

rbonghi commented 4 years ago

I was looking in deep the total power consumption and your issue works for:

In according with Xavier total power consumption the total power in this case is a sum of all field.

To manage this issue I modify the output with this shape [image below], where in this case the Total power is written in bold. image

This bug will be fix from the coming release 2.0.0