nvpmodel -m 0
echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
#echo 1 > /sys/devices/system/cpu/cpu0/online
#echo 1 > /sys/devices/system/cpu/cpu1/online
#echo 1 > /sys/devices/system/cpu/cpu2/online
#echo 1 > /sys/devices/system/cpu/cpu3/online
#echo 1 > /sys/devices/system/cpu/cpu4/online
#echo 1 > /sys/devices/system/cpu/cpu5/online
echo 2035200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
echo 2035200 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_setspeed
echo 2035200 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_setspeed
echo 2035200 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_setspeed
echo 2035200 > /sys/devices/system/cpu/cpu4/cpufreq/scaling_setspeed
echo 2035200 > /sys/devices/system/cpu/cpu5/cpufreq/scaling_setspeed
查看模式类型有哪些以及具体涉及哪些硬件,可参考:
/etc/nvpmodel.conf
可通过/home/nvidia/tegrastats 命令查看CPU状态