NVIDIA Jetson Orin Nano - Maximizing Performance

From RidgeRun Developer Wiki




Previous: JetPack 5.1.1/Performance Tuning/Tuning Power Index Next: Development in the Board







Activate CPUs

By default 6 out of 6 possible CPU cores are enabled on the Jetson Orin Nano. You can activate/deactivate them with the following commands:

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

sudo su

Then, you can deactivate the CPU cores:

echo 0 > /sys/devices/system/cpu/cpu1/online
echo 0 > /sys/devices/system/cpu/cpu2/online
echo 0 > /sys/devices/system/cpu/cpu3/online
echo 0 > /sys/devices/system/cpu/cpu4/online
exit


You must activate all CPUs before running jetson_clocks to overclock these CPUs too. Remember to leave at least one core activated.

Jetson Clocks

The Orin Nano 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 stored in a file as seen in "To store the current settings:"
sudo jetson_clocks --restore



Previous: JetPack 5.1.1/Performance Tuning/Tuning Power Index Next: Development in the Board