Difference between revisions of "NVIDIA Jetson Orin/JetPack 5.0.2/Performance Tuning/Maximizing Performance"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{NVIDIA Jetson Orin/Head|previous=JetPack 5.0.2‎/Performance Tuning/Tuning Power|next=Development in the Board|metakeywords=jetpack, performance, tuning, clock, jetson clock, CPU core, activate cpu}}
+
{{NVIDIA Jetson Orin/Head|previous=JetPack 5.0.2‎/Performance Tuning/Tuning Power|next=JetPack_5.0.2/Performance_Tuning/Software_Encoders_For_Jetson_Orin_Nano|metakeywords=jetpack, performance, tuning, clock, jetson clock, CPU core, activate cpu}}
 
</noinclude>
 
</noinclude>
  
Line 61: Line 61:
  
 
<noinclude>
 
<noinclude>
{{NVIDIA Jetson Orin/Foot|JetPack 5.0.2‎/Performance Tuning/Tuning Power|Development in the Board}}
+
{{NVIDIA Jetson Orin/Foot|JetPack 5.0.2‎/Performance Tuning/Tuning Power|JetPack_5.0.2/Performance_Tuning/Software_Encoders_For_Jetson_Orin_Nano}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:19, 17 August 2023



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