Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Jetson AGX Orin • DeepStream Version 6.2 • JetPack Version (valid for Jetson only) 5.1
I have developed a Deepstream pipeline and I’m trying to allocate tasks to different hardware parts of the Orin (DLA,VIC) . i wanted to know if there’s any way to monitor the usage load/power of every hardware part of the device other than powerGUI . PowerGUI doesn’t give clear results to monitor and it doesn’t provide data for DLA power consumption/VIC.
And is there a way to view the whether a specific task is running on CUDA core or Tensor Core?
Thank you @miguel.taylor !! This really helps.
Do you have any idea if i can capture the output results for a specific time the way it is in powerGUI. I want to record the avg usage of hardware parts when running a sample video in DS pipeline
You can export the tegrastats output to a logfile using the --logfile option. Sometimes, we employ a Python thread to capture the tegrastats output.
def run_tegrastats():
"""
Executes the tegrastats application as a subprocess.
Updates the stats_current_output variable with the last line of tegrastats output.
Raises
------
AttrAccessError
Error is triggered if the output can't be read
"""
logging.debug("Running tegrastats...")
global stats_current_output
global stats_active
args = ["tegrastats"]
popen = subprocess.Popen(args, shell=False, stdout=subprocess.PIPE)
while stats_active:
try:
stats_current_output = popen.stdout.readline().decode('ascii')
except Exception as exception:
log_exception("Attribute access error",
"Invalid Tegrastats Output Error",
AttrAccessError)
A different process then parses the output using regex. You could implement something like this to check the stats as part of your Python app.