I have nvidia jetson AGX Xavier board. The nvpmodel power mode is 3 bydefault.
I need to change the power mode to mode 0 & also set the jetson clocks to max for cpu’s & gpu.
I know how to do these changes using commands like nvpmodel -m & jetson_clocks.
But I want to make these changes in the nvidia kernel image so that we don’t need to run these commands everytime & the settings are fixed.
For setting the nvpmodel by default I checked the below post which does the job. where we can change the default mode by changing /etc/nvpmodel.conf file.
But I have not find anything for setting the clocks to max by deafult without running jetson_clocks.
So I want to ask is there any way to set the cpu & gpu freq’s to max in given mode bydefault by making any change in rootfs or kernel image??
Please refer to the following steps to configure the governor of GPU/CPU as performance for your use case.
$ nvpmode -m 0 (do it once)
$ echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
$ echo performance | tee /sys/class/devfreq/*gpu/governor