CPU/GPU frequency and governor
The commands in this section only affects to the product with S905X3 and S922X.
The min/max CPU frequency and governor can be changed by editing ‘/etc/default/cpufrequtils' and it will be applied from next booting.
$ cat /etc/default/cpufrequtils GOVERNOR=performance MIN_SPEED="1000MHZ" MAX_SPEED="2016MHZ"
The change in ‘/etc/default/cpufrequtils' will affect to big.LITTLE cores at the same time and will use the most closet value if given freqency does not exist. Valid frequencies are able to check with this command.
$ cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies $ cat /sys/devices/system/cpu/cpufreq/policy2/scaling_available_frequencies
CPU overclock can happen if you change the value of ‘MAX_SPEED' in /etc/defaults/cpufrequtils but could lead malfunction or shutdown unexpected since they are not officially supported by SoC vendor. The feasible freqencies varies to the CPU.
The min/max GPU frequency and governor can be changed by editing ‘/etc/default/gpufrequtils' and it will be applied from next booting.
The commands in this section only after Linux kernel 5.10.16.
$ uname -a Linux focal-server 5.10.0-odroid-arm64 #1 SMP PREEMPT Ubuntu 5.10.16-202102191318~groovy (2021-02-19) aarch64 aarch64 aarch64 GNU/Linux
$ cat /etc/default/gpufrequtils # GOVERNORS: [userspace powersave performance simple_ondemand] # FREQUENCIES : [124999998 249999996 285714281 399999994 # 499999992 666666656 799999987] GOVERNOR=performance MIN_FREQ=499999992 MAX_FREQ=799999987
The change in ‘/etc/default/gpufrequtils' will affect to GPU and will use the most closest value if given frequency does not exist. Valid frequencies are able to check with this command.
With Mali Bifrost driver
With Mali Panfrost driver
GPU overclock can happen if you change the value of ‘MAX_SPEED' in /etc/defaults/gpufrequtils but could lead malfunction or shutdown unexpected since they are not officially supported by SoC vendor. The fasible frequency for overclocking is only 1000MHz.