7 ms·
"With OpenRC, TrueOS boot times have been reduced from generally over 1 minute to around 10 seconds" that's… odd. Pretty much all my FreeBSD machines spend mor
by floatboth 10y ago
"With OpenRC, TrueOS boot times have been reduced from generally over 1 minute to around 10 seconds"
that's… odd. Pretty much all my FreeBSD machines spend more time before init, enumerating devices and stuff. rc doesn't take much time. Unless it's doing DHCP without a network connection :D
- stefantalpalaru 10y agoOpenRC can parallelise the service start - I use it on Gentoo ~amd64 and despite warnings it can "potentially lock the boot process" I never had any problems. The speed gain is significant.
- kev009 10y agoThere are a lot of issues here that should eventually be lower hanging fruit, but required some infrastructure. EARLY_AP_STARTUP which gets SMP in order a lot sooner should allow for drivers to attach earlier. I vaguely recall some idea on deciding what and when to initialize being the next big opportunity.
- floatboth 10y agoEARLY_AP_STARTUP is enabled by default… Is anyone working on enumerating all buses in parallel?
- aduitsis 10y agoIf you have to start several jails upon init, each running its own rc.d start sequence, it can easily take more than a minute. Heaven forbid if you have something like tomcat that takes ages to start, you might be looking at much more.
- floatboth 10y agoDon't do that on a desktop maybe? (Also for apps on servers, I use runit to start services in jails directly like `exec jail -c ... command=/path/to/app/command`.)