Why doesn't the jetson_clocks script enable all cores for the tegra186 SOC family - (hot plug)?

Hello,
I get the next config from jetson_clocks --show script

scripts/jetson_clocks.sh: line 394: warning: command substitution: ignored null byte in input
SOC family:tegra186  Machine:quill
Online CPUs: 0,3-5
CPU Cluster Switching: Disabled
cpu0: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=1420800
cpu1: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=2035200
cpu2: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=2035200
cpu3: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=2035200
cpu4: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=2035200
cpu5: Gonvernor=schedutil MinFreq=345600 MaxFreq=2035200 CurrentFreq=2035200
GPU MinFreq=114750000 MaxFreq=1300500000 CurrentFreq=114750000
EMC MinFreq=40800000 MaxFreq=1866000000 CurrentFreq=1866000000 FreqOverride=0
Fan: speed=80

Where SOC family:tegra186
I’m running one script like this: caffe_jetson_tx1/jetson_clocks.sh at master · MoritzDPTV/caffe_jetson_tx1 · GitHub

That script is turning on the cores only if "${SOCFAMILY}" != "tegra186"

Is there a security reason why cores are not enabled when the SOC family is tegra186?
I would like to know if I could remove that validation without security risks.

Hi,
Please run the default one in our release:

/usr/bin/jetson_clocks

It shall enable CPU cores and GPU engine at max clocks after execution. Please give it a try. You can check system status by running sudo tegrastats

Also check the output of:
cat /proc/cmdline
…and look to see if there is an “isolcpus” parameter. This might tell the system some cores are disabled except when manually scheduled. Not sure if that would affect what jetson_clocks.sh does, but probably worth checking.

Hello @DaneLLL, thanks for your reply
I’m checking the jetson_clocks file you suggested and it also has the condition to not turn on the cpus if SOCFAMILY = "tegra186"

Note: I found a jetson_clocks.sh file

This is all the do_hotplug() function

do_hotplug()
{
        case "${ACTION}" in
                show)
                        echo "Online CPUs: `cat /sys/devices/system/cpu/online`"
                        ;;
                store)
                        for file in /sys/devices/system/cpu/cpu[0-9]/online; do
                                store "${file}"
                        done
                        ;;
                *)
                        if [ "${SOCFAMILY}" != "tegra186" ]; then
                                for file in /sys/devices/system/cpu/cpu*/online; do
                                        if [ `cat $file` -eq 0 ]; then
                                                echo 1 > "${file}"
                                        fi
                                done
                        fi
        esac
}

Hi,
The part is not seen on r32 releases. You can run sudo tegrastats to know status of CPU cores.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.