I am trying to get real-time power usage of the GPU in an Xavier board. I understand VDDRQ in the output of tegrastats shows the power consumption in mW, but it is not clear to me if this is for the system or for a specific components. Per the documentation [url]https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-311/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2FAppendixTegraStats.html[/url] , when running tegrastats on older Jetson boards, there would be a field VDD_GPU, which I would assume is the power usage of the GPU. If this is not VDDRQ, can I get the power usage of the GPU on an Xavier (and also on a TX2i) as well?
hello jvliai,
Tegrastats show the power usage.
you could also check via INA list as below to check the voltage/current/power.
for example,
# cd /sys/devices/c240000.i2c/i2c-1/1-0040/iio:device0/
# cat in_power0_input
467
FYI,
VDD_GPU_POWER as “in_power0_input”
thanks
Thanks for your reply. The units are in mW, right?
What would I do if I wanted to know the power consumption of the whole system? This does not seem to be VDDRQ because its values are lower than those I obtain by querying the file you pointed me to.
Also, just double checking, this would be the equivalent of the GPU power usage indicated in nvidia-smi?
Finally, could you tell me where to find this for a Jetson TX2i?
hello jvliai,
- yes, the units were in milliwatts.
- by default the power mode is 15W, please check Max-Q and Max-P Power Efficiency session.
- suggest you refer to Software-based Power Consumption Modeling for the power consumption
- you could check tegrastats utility reports for Jetson-TX2i.