Link to page

1 | Baseline Performance Measurement

NVIDIA AGX Orin Kit

CPU and Memory Usage:
htop
Disk I/O:
sudo iotop
Network I/O:
iftop -i <network_interface> { eth0 | wln }
Toggle DNS Resolution (n): Resolving hostnames can help you identify devices more easily.
Toggle Source and Destination Ports (S, D): This helps you see which ports are being used for communication, which can be useful for understanding the types of traffic.
Sort by Bandwidth Usage (1, 2, 3): Sort by the columns to focus on the most significant traffic. For instance, pressing 1 will sort by the first column, typically showing the highest bandwidth users.
Toggle Cumulative Line Totals (T): This gives you a running total of the data transferred, which can be useful for longer-term monitoring.
Set Screen Filter (l): If you're only interested in traffic involving a specific host or network, you can set a filter to display only relevant data.
Use Bar Graph Display (b and B): The bar graph can give a visual representation of traffic, making it easier to spot peaks and trends.
Exit iftop: Press q to quit when you're done.
GPU Usage:
sudo tegrastats
System Statistics:
sar -u 1 10

PC

CPU and Memory Usage:
htop
Disk I/O:
iotop
Network I/O:
iftop -i <network_interface>
GPU Usage:
nvidia-smi
System Statistics:
sar -u 1 10
OpenGL Performance:
glxgears

2 | Performance Measurement During Operation

NVIDIA AGX Orin Kit

Monitor CPU, Memory, and GPU:
htop &
sudo tegrastats &
Monitor Disk and Network I/O:
iotop &
iftop -i <network_interface> &

Run a Stress Test:
stress-ng --cpu 4 --timeout 60s
Capture Performance Data:
sar -u 1 600 > performance_orin.log

PC

Monitor CPU, Memory, and GPU:
htop &
sudo tegrastats &
Monitor Disk and Network I/O:
iotop &
iftop -i <network_interface> &
Run OpenGL and Xbox Controller Package:
glxgears &
Capture Performance Data:
sar -u 1 600 > performance_pc.log

3 | Performance Measurement During Operation

NVIDIA AGX Orin Kit

Use iperf for Network Bandwidth:
iperf3 -s
Run iperf Client on PC:
iperf3 -c <orin_ip> -t 60 -i 10

PC

Measure USB Transfer Rates for Sensors:
dd if=/dev/zero of=/dev/null bs=1M count=1024
Use iperf for Network Bandwidth:
iperf3 -s
Run iperf Client on Orin Kit:
iperf3 -c <pc_ip> -t 60 -i 10


1 | Performance Measurement Before Recording Bag Files:
CPU and Memory Usage:
Screenshot from 2024-06-18 09-43-12.png

Disk I/O:

Screenshot from 2024-06-18 09-46-49.png

Network I/O:

Screenshot from 2024-06-18 09-50-25.png

GPU Usage:

General System Information:

RAM Usage: 3844/62800 MB
Swap Usage: 0/31400 MB (cached 0 MB)

Processor Usage:

CPU Usage: Various cores operating at different frequencies and percentages (e.g., 19% at 729 MHz, 5% at 729 MHz, etc.)

Clock Frequencies:

EMC Frequency: 8% at 2133 MHz
GPU Frequency (GR3D Freq): 0% at 407 MHz
Video Interface Controller (VIC) Frequency: 115

Temperatures:

APE: 174
CPU Temperature: 49.5°C
Tboard Temperature: 39°C
SOC Temperature Ranges: 46.125°C - 46.937°C
Tdiode Temperature: 40.25°C
GPU Temperature: 45.593°C
Thermal Junction Temperature (tj): 49.5°C

Power Usage:

VDD_GPU_SOC: 4233 mW
VDD_CPU_CV: 1209 mW
VIN_SYS_5V0: 4132 mW
VDDQ_VDD2_1V8AO: 1209 mW

System Statistics:

Screenshot from 2024-06-18 10-02-52.png



2 | Performance Measurement Before Recording Bag Files:
CPU and Memory Usage:
Screenshot from 2024-06-18 15-58-27.png

Disk I/O:


Network I/O:

Screenshot from 2024-06-18 11-03-00.png

Screenshot from 2024-06-18 15-58-50.png

3| Frequencies During Recording:

Screenshot from 2024-06-18 15-59-51.png
Screenshot from 2024-06-18 16-00-22.png
Screenshot from 2024-06-18 16-00-43.png
Screenshot from 2024-06-18 16-03-09.png
Screenshot from 2024-06-18 16-03-49.png

4 Frequencies from Recording:

Screenshot from 2024-06-19 09-30-10.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.