支持的值:
cat /sys/kernel/debug/clock/gbus/possible_rates
当前值:
cat /sys/kernel/debug/clock/gbus/rate

设置最大值:
(85200K)
echo 852000000 > /sys/kernel/debug/clock/override.gbus/rate
echo 1 > /sys/kernel/debug/clock/override.gbus/state

开启所有CPU,默认只启动0

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

http://elinux.org/Jetson/Performance

TX1

1. Maximizing CPU/GPU

Run the script below as root to maximize the clock frequency limits of the CPU/GPU governor.

This section also keeps the 4 ARM Cortex-A57 cores always on.

sudo su
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
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable
for file in /sys/devices/system/cpu/cpu*/online; do
if [ `cat $file` -eq 0 ]; then
echo 1 > $file
fi
done
echo runnable > /sys/devices/system/cpu/cpuquiet/current_governor
cat /sys/kernel/debug/clock/gpu_dvfs_t
cat /sys/kernel/debug/clock/dvfs_table
cat /sys/kernel/debug/clock/gbus/max >
/sys/kernel/debug/clock/override.gbus/rate
echo 1 > /sys/kernel/debug/clock/override.gbus/state

2. Disable CPU Idle

for i in `ls /sys/devices/system/cpu/cpu*/cpuidle/state*/disable`; do echo 1
> $i; done

3. Maximize EMC (Memory Controller)

cat /sys/kernel/debug/clock/override.emc/max > /sys/kernel/debug/clock/override.emc/rate
echo 1 > /sys/kernel/debug/clock/override.emc/state

4. Controlling the Fan

echo 255 > /sys/kernel/debug/tegra_fan/target_pwm

温度查看

  cat /sys/devices/virtual/thermal/thermal_zone*/type

AO-therm
CPU-therm
GPU-therm
PLL-therm
Tdiode_tegra
PMIC-Die
Tboard_tegra
thermal-fan-est

  cat /sys/devices/virtual/thermal/thermal_zone*/temp

45000
36000
36000
34000
42000
100000
41000
36000

04-30 11:20