Difference between revisions of "Jetson nsight system"

From eLinux.org
Jump to: navigation, search
(Install NS on Jetson Device)
(1. Install Nsight System via SDKManager)
Line 9: Line 9:
 
</gallery>
 
</gallery>
  
Then, click '''Continue''' to install Nsight System on x86 Linux System.
+
Just click '''Continue''' to install Nsight System on x86 Linux System.
 +
 
 
===2. Verify Installation===
 
===2. Verify Installation===
 
After installation is done, you can open it with "nsight-sys" command as below.
 
After installation is done, you can open it with "nsight-sys" command as below.

Revision as of 01:01, 5 January 2021

This page describes how to use Nsight System on Jetson L4T system

Installation

Install NS on x86 Linux Host

1. Install Nsight System via SDKManager

Just click Continue to install Nsight System on x86 Linux System.

2. Verify Installation

After installation is done, you can open it with "nsight-sys" command as below.

Install NS on Jetson Device

Note: on the newly installed Jetson system, there is not Nsight System on it.
So, to install Nsight System on Jetson device, you need to

  1. On x86, launch the Nsight system installed via SDKManager as described above
  2. In Nsight System, create a new project, and connect to Jetson device as below, this step will install the Nsight target binaries ontO Jetson device

After installation, nsys locates under /opt/nvidia/nsight_systems/ .

Profile

Remote Profile (UI)

User can run Nsight System on Host and remotely profile the application running on Jetson. User can select several options to enable the corresponding proiling.

Local Profile

After User can run the command to generate the profiling log () $ sudo /opt/nvidia/nsight_systems/nsys profile -t cuda,nvtx,nvmedia --accelerator-trace=nvmedia --show-output=true --force-overwrite=true --delay=20 --duration=90 --output=%p /usr/src/tensorrt/bin/trtexec --loadEngine=yolo_dla_0_bs20.engine --useDLACore=0 --batch=20 --streams=1 --workspace=256M