CUDA ISP for NVIDIA Jetson: Performance

From RidgeRun Developer Connection
Jump to: navigation, search


  Index  






This page is still under development. Please, do not take the performance data as definitive.

Library API performance

To measure the CUDA ISP API performance, we built a simple example (provided upon request) that iterates over the Apply methods for each algorithm and records performance metrics for each iteration. We measured the duration of each algorithm's Apply method. We also measured CPU, CPU RAM, GPU, and GPU RAM usage for the complete processing pipeline iterating at 30fps. We ran the experiments on both 1080p and 4K buffers. We also ran the experiments on the Jetson Nano, Jetson Xavier NX, Jetson Xavier AGX, and Jetson AGX Orin.

  • We measured the duration of each Apply method separately using the chrono library.
  • We used the sys/times.h library to obtain the CPU usage.
  • We read the /proc/self/status file to obtain the CPU RAM usage.
  • We used jtop to measure GPU usage on the Jetson Nano and Jetson Xavier NX. We use jetson-stats to measure GPU usage on the Jetson Xavier AGX and the Jetson AGX Orin.
  • We used cudaMemGetInfo from CUDA to measure GPU RAM usage.

This is the hardware setup we used:

  • On the Jetson Nano, we used Jetpack 4.5.3 and MAXN Power Mode (NVP model 0)
  • On the Jetson Xavier NX, we used Jetpack 4.5.3 and 20W 6 Core Power Mode (NVP model 8)
  • On the Jetson Xavier AGX, we used Jetpack 4.5.1 and 30W 8 Core Power Mode (NVP model 3)
  • On the Jetson AGX Orin, we used Jetpack 5.0.2 and MAXN Power Mode (NVP model 0)

The following table summarizes CUDA ISP's performance results. The values in parenthesis next to each processing time is the corresponding theoretical framerate calculated as the inverse of the time.

Platform Jetson AGX Orin Jetson Xavier AGX Jetson Xavier NX Jetson Nano
Buffer size 1080p 4K 1080p 4K 1080p 4K 1080p 4K
Duration (ms)
CudaShift 1.52
CudaDebayer 1.30
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter
Framerate (fps)
CudaShift 660
CudaDebayer 771
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter
CPU usage (%)
CudaShift 0.077
CudaDebayer
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter
CPU RAM (MB)
CudaShift 90.8
CudaDebayer
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter
GPU usage (%)
CudaShift
CudaDebayer
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter
GPU RAM (MB)
CudaShift 28.4
CudaDebayer
CudaWhiteBalancer (Gray World Algorithm)
CudaWhiteBalancer (Histogram Stretch Algorithm)
CudaColorSpaceConverter



  Index