Hi Nvidia Community,
I’m observing a curious behavior during TensorRT inference on a Jetson AGX Orin, and I’m hoping to gain some insights from the forum.
I’m running an FP32 TensorRT model on a dataset of 2075 images. The inference times consistently decrease after the first few runs, stabilizing around 101ms from the 3rd run onwards.
Here’s a summary of the observed average enqueue times:
The variance and standard deviation also decrease significantly after the 2nd run, indicating a much more stable performance once the inference settles. Specifically, the variance drops from 497.425 (Run 1) to under 2 (Runs 5 & 6).
Further investigation using tegrastats reveals a corresponding behavior in GPU frequency. During the initial runs, the GPU frequency fluctuates significantly. However, starting with the 3rd run, the GPU frequency consistently stabilizes around 611 MHz. (See attached tegrastats screenshot).
1st Run:
| GR3D_FREQ (%) | Value |
|---|---|
| 93% | [611, 0] |
| 99% | [407, 0] |
| 0% | [509, 0] |
| 93% | [611, 0] |
| 99% | [408, 0] |
| 0% | [509, 0] |
| 54% | [494, 0] |
| 0% | [488, 0] |
| 0% | [509, 0] |
| 89% | [471, 0] |
| 0% | [509, 0] |
| 0% | [509, 0] |
| 2% | [611, 0] |
| 0% | [509, 0] |
| 0% | [611, 0] |
| 99% | [407, 0] |
| 99% | [407, 0] |
| 73% | [505, 0] |
| 38% | [611, 0] |
3rd Run onwards:
| GR3D_FREQ (%) | Value |
|---|---|
| 47% | [611, 0] |
| 99% | [605, 0] |
| 33% | [611, 0] |
| 99% | [611, 0] |
| 78% | [609, 0] |
| 99% | [610, 0] |
| 28% | [611, 0] |
| 99% | [611, 0] |
| 35% | [611, 0] |
| 60% | [607, 0] |
| 99% | [604, 0] |
| 22% | [611, 0] |
| 76% | [611, 0] |
| 99% | [611, 0] |
| 99% | [617, 0] |
| 99% | [607, 0] |
| 78% | [609, 0] |
| 99% | [611, 0] |
| 99% | [611, 0] |
| 99% | [611, 0] |
| 99% | [611, 0] |
| 99% | [611, 0] |
My question is: Why is this behavior observed? Is this a common occurrence with TensorRT and the Jetson AGX Orin? As these execution happens right after one another, Is TensorRT heuristically deciding to increase the GPU frequency as there is a demand for GPU?
Below are the Current configuration for Jetson AGX Orin I am using:
Any insights or suggestions for further investigation would be greatly appreciated.
Thank you!


