I am currently working on a camera streaming application on Jetson TK1 board which requires the CPU to operate in performance mode. Hence I am running the following set of commands to maximize CPU performance.
echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable
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 performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
The scaling_governor changes automatically from performance to interactive while running the camera application. Could anyone let me know why is the governor changing automatically ?
Thanks in advance