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:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors?
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])