Just a little light reading here:
Raspberry Pi Boot Time Optimization: Complete Performance Guide - With Raspberry Pi
I’m curious but cautiously optomistic as I have recentlly rebuilt my RPI4 install based on DietPi but didn’t really move the goalpost.
The most significant bottleneck appears to be the SD card or rather whether you leave the OS on an SD card or move it to an SSD.
1 Like
Stopping the Ethernet Adapter speeds things up for me since I will not be using that going forward.
Setting up a static IP for WiFi helps as well. I need to research how to build a script to bind to a button that will initialize the wireless hardware and set the IP for the adapter so that I can turn that off later when I get the device installed in the car. I am not looking to connect the device frequently. Only as needed for now so it will definitely improve the performance to disable it on boot.
Unfortunately, I cannot completely stop the networking service because I am attempting to use a Waveshare CAN HAT on my RPI4 and the can tools depend upon networking to function.
I would like to stop the kernel from looking for a PXE boot as that does seem to be slowing me down a bit on startup. Not much but it’s not something that I need. This will require rebuilding the kernel I think and that is new territory for me.
1 Like
Hello. What was your boot time?
32 seconds using
“systemd-analyze time”
I haven’t installed RealDash on this OS yet.
It is installed on a “SanDisk 256GB Extreme microSDXC UHS-I Memory Card”