I have a SabreSD iMX6Q evaluation board, runnint Linux BSP. I would like to make sure I can select the maximum CPU Clock of 1GHz.
How do I do this. Am I getting the maximum speed by default when running computational demanding applications?
One way is to set the CPU governor as performance mode
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
To check other possible modes:
Thank you for the hint.
I see I can change this with the kernel configuration with LTIB.
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE: │ │ │ │ Use the CPUFreq governor 'performance' as default. This sets │ │ the frequency statically to the highest frequency supported by │ │ the CPU. │ │ │ │ Symbol: CPU_FREQ_DEFAULT_GOV_PERFORMANCE [=y] │ │ Type : boolean │ │ Prompt: performance │ │ Defined at drivers/cpufreq/Kconfig:53 │ │ Depends on: <choice> │ │ Location: │ │ -> CPU Power Management │ │ -> CPU Frequency scaling │ │ -> CPU Frequency scaling (CPU_FREQ [=y]) │ │ -> Default CPUFreq governor (<choice> [=y])
Retrieving data ...