Governor is set to ondemand instead of performance out of the box
shuhaowu opened this issue · 0 comments
shuhaowu commented
As I'm testing the image for #4, I see that the CPU governor is set to ondemand after I flashed the image. This shouldn't be the case, as setup/phase1.sh
disables the ondemand.service startup file and ros-realtime/linux-real-time-kernel-builder@483090d adds performance to always be enabled? Also, this script should be started on boot (and it is as far as I can tell) should also set it.
Not quite sure what's going on. Will have to double check later. Not the highest priority item right now.
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 5.4.140-rt64 #1 SMP PREEMPT_RT Sat Oct 16 17:57:52 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ubuntu:~$ sudo systemctl status ondemand
● ondemand.service - Set the CPU Frequency Scaling governor
Loaded: loaded (/lib/systemd/system/ondemand.service; disabled; vendor preset: enabled)
Active: inactive (dead)
ubuntu@ubuntu:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
ondemand
ondemand
ondemand
ondemand
cc: @LanderU since you're testing it as well so it's just a FYI.