NVIDIA Jetson Orin - Maximizing Performance

From RidgeRun Developer Connection
< NVIDIA Jetson Orin‎ | JetPack 5.0.2‎ | Performance Tuning
Revision as of 14:19, 17 August 2023 by Spalli (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Previous: JetPack 5.0.2‎/Performance Tuning/Tuning Power Index Next: JetPack_5.0.2/Performance_Tuning/Software_Encoders_For_Jetson_Orin_Nano


Nvidia-preferred-partner-badge-rgb-for-screen.png





Activate CPUs

By default 4 out of 12 possible CPU cores are disabled on the Jetson Orin. You can activate them with the following commands:

First is necessary to access as root (you need root permissions)

sudo su

Then, you can activate the CPU cores:

echo 1 > /sys/devices/system/cpu/cpu4/online
echo 1 > /sys/devices/system/cpu/cpu5/online
echo 1 > /sys/devices/system/cpu/cpu6/online
echo 1 > /sys/devices/system/cpu/cpu7/online
exit


You must activate all CPUs before running jetson_clocks to overclock these CPUs too.

Jetson Clocks

Orin provides the jetson_clocks.sh script to maximize Jetson Orin performance by setting static max frequency to CPU, GPU, and EMC clocks. The script can also be used to show current clock settings, store current clock settings into a file, and restore clock settings from a file.

Options

--show           Displays the current settings.
--store [file]   Stores the current settings to a file. The default file is l4t_dfs.conf.
--restore [file] Restores the saved settings from the file. The default file is l4t_dfs.conf.
  • To show the current settings:
sudo jetson_clocks --show
  • To store the current settings:
sudo jetson_clocks --store
  • To maximize Jetson Orin performance
sudo jetson_clocks
  • To restore the previous settings
sudo jetson_clocks --restore



Previous: JetPack 5.0.2‎/Performance Tuning/Tuning Power Index Next: JetPack_5.0.2/Performance_Tuning/Software_Encoders_For_Jetson_Orin_Nano