I'm looking for ways to speed up the boot time on a single core embedded Linux system. Significant lag happens during start up of some custom daemons. Once they are up, they do run in the background, but the process of getting them to run takes too long.
##This takes long during startup
##In file /etc/init.d/run_custom_daemon
...
/opt/bin/custom_daemon -d
...
I've experienced a decrease in boot time if I put the starting of the daemons in the background.
##This takes much less but is it a real gain?
##In file /etc/init.d/run_custom_daemon
...
/opt/bin/custom_daemon -d &
...
From the point of view of someone just looking how long it takes to get to the login screen, this could seem like a speed up. However, I feel that this might be just a cosmetic gain which might lead to issues if the next process in the boot sequence would expect the daemon to be running at the point it is starting.
Is this a correct assumption?