NVIDIA Jetson Orin - JetPack 4.1 - Performance Tuning - Maximizing Performance

From RidgeRun Developer Connection
Jump to: navigation, search



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


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




Activate CPUs

By default 4 out of 8 possible CPU cores are disabled on the Jetson Orin. You can activate them with the following commands (you need root permissions):

sudo su
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

We recommend also turning on the Orin module fan if you turn on all CPUs:


sudo su
echo 255 > /sys/kernel/debug/tegra_fan/target_pwm
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 ${HOME}/jetson_clocks.sh --show
  • To store the current settings:
sudo ${HOME}/jetson_clocks.sh --store
  • To maximize Jetson Orin performance
sudo ${HOME}/jetson_clocks.sh
  • To restore the previous settings
sudo ${HOME}/jetson_clocks.sh --restore



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