We need a program to test Max power consumption while All HW engines open, where can find this type’s program.
AGX Orin platform Ubuntu20.04 Jetpack 5.1.4
*** Please note that this reply is generated by LLM automatically ***
To test the maximum power consumption on the Jetson AGX Orin platform with all hardware engines open, you can use the jetson_clocks tool, which is a part of the JetPack SDK. This tool allows you to configure the clock frequencies of the various hardware engines on the Jetson module.
Here are the steps to test the maximum power consumption:
jetson_clocks tool: If you haven’t already, install the jetson_clocks tool by running the following command:
sudo apt-get update
sudo apt-get install jetson-stats
2. **Run the `jetson_clocks` tool**: To configure the clock frequencies of the hardware engines, run the following command:
```bash
sudo jetson_clocks
This will open the jetson_clocks menu, where you can select the clock frequencies for the various hardware engines.
Set the clock frequencies to maximum: To test the maximum power consumption, set the clock frequencies of all hardware engines to their maximum values. You can do this by selecting the “Max” option for each engine in the jetson_clocks menu.
Run a stress test: To test the maximum power consumption, you need to run a stress test that utilizes all the hardware engines. You can use the stress-ng tool, which is a part of the Ubuntu repository. Install it by running the following command:
sudo apt-get install stress-ng
Then, run the following command to start the stress test:
```bash
sudo stress-ng --cpu 8 --io 4 --vm 2 --vm-bytes 128M --perf -t 60
This command will run a stress test that utilizes 8 CPU cores, 4 I/O threads, 2 VM threads, and 128MB of VM memory for 60 seconds.
jetson_stats tool, which is also part of the JetPack SDK. Run the following command to monitor the power consumption:
sudo jetson_stats -m
This will display the power consumption of the Jetson module in real-time.
By following these steps, you can test the maximum power consumption of the Jetson AGX Orin platform with all hardware engines open.
**Comparison with other platforms**:
The Jetson AGX Orin platform is a high-performance AI computing platform that is designed for edge AI applications. Compared to other platforms, such as the Jetson Xavier NX or the Jetson Nano, the Jetson AGX Orin platform has a higher power consumption due to its more powerful hardware engines.
Here is a rough estimate of the power consumption of different Jetson platforms:
* Jetson Nano: 5-10W
* Jetson Xavier NX: 10-20W
* Jetson AGX Orin: 20-40W
Note that these are rough estimates and the actual power consumption may vary depending on the specific use case and configuration.
**Programs for testing power consumption**:
There are several programs available for testing power consumption on the Jetson platform, including:
* `jetson_clocks`: A tool for configuring the clock frequencies of the hardware engines.
* `jetson_stats`: A tool for monitoring the power consumption and other system metrics.
* `stress-ng`: A tool for running stress tests on the system.
* `sysbench`: A tool for running benchmarks on the system.
These programs can be used to test the power consumption of the Jetson platform under different workloads and configurations.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
Hi andyfuturex,
Are you using the devkit or custom board for AGX Orin?
You can refer to Jetson/L4T/Power - eLinux.org for the GPU stress test on Orin.
Our test follows these instructions, But the Jtop tools show all HW engines are off, So we need a tool to test for all hw engines open; Do we have a tool to open all hw engines ?
Our test follows these instroctions, but hw engines off, just as the attached Pic shows
The HW engines are not “disabled”, they just show [OFF] because no workload is using them.
When you run a workload that needs a specific engine, the driver will automatically power it on and clock it up, and Jetson Power GUI/tegrastats will show it as active.
Below are example commands to force each engine to run:
NVENC/VIC
sudo apt update
sudo apt install nvidia-l4t-gstreamer
gst-launch-1.0 videotestsrc num-buffers=300 ! \
"video/x-raw,width=1920,height=1080,framerate=30/1" ! \
nvvidconv ! "video/x-raw(memory:NVMM),format=NV12" ! \
nvv4l2h264enc ! h264parse ! \
filesink location=sample.h264
NVDEC
sudo apt install gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
gst-launch-1.0 filesrc location=sample.h264 ! \
h264parse ! nvv4l2decoder ! fakesink
VIC
gst-launch-1.0 videotestsrc num-buffers=100000 ! \
"video/x-raw,width=1920,height=1080,framerate=60/1" ! \
nvvidconv ! "video/x-raw(memory:NVMM),format=NV12" ! \
fakesink
DLA
sudo apt update
sudo apt install tensorrt nvidia-l4t-ml
sudo ldconfig
export LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu/tegra:$LD_LIBRARY_PATH
sudo /usr/src/tensorrt/bin/trtexec \
--onnx=model.onnx \
--useDLACore=0 \
--fp16 \
--allowGPUFallback \
--shapes=input:1x3x224x224 \
--iterations=100 \
--avgRuns=50
PVA
sudo apt install vpi4-samples libnvvpi4
cd /opt/nvidia/vpi4/samples/05-benchmark
cmake .
make
./vpi_sample_05_benchmark pva