Hi I am trying to improve the boot speed of raspberry pi cm4 balenaOs and I have seen that it takes approx 30 to 40 seconds to boot from power on to the docker container.
Some of my improvements includes -
- Removing bluetooth service as its not in use for me
- Combining DTBO files to DTB
Now the Kernel boots in 5.664s but the Userspace takes approx 32.590s.
Running -
systemd-analyse blame
shows
21.715s balena.service
Is there any way to improve reduce any services which run in balena service ?
I am using openBalena server and I was wondering if there is any service that is not required to run in BalenaOs which I can remove from the build.