News for hackers. Stuff that matters.
Re:Improving TrueOS: OpenRC by floatboth on Saturday January 21, 2017 @05:09PM (#13452398)
"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

Re:Improving TrueOS: OpenRC by kev009 on Saturday January 21, 2017 @07:06PM (#13452827)
There 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.
Re:Improving TrueOS: OpenRC by floatboth on Sunday January 22, 2017 @06:33AM (#13454754)
EARLY_AP_STARTUP is enabled by default… Is anyone working on enumerating all buses in parallel?
Re:Improving TrueOS: OpenRC by aduitsis on Saturday January 21, 2017 @08:57PM (#13453156)
If 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.
Re:Improving TrueOS: OpenRC by floatboth on Sunday January 22, 2017 @06:16AM (#13454708)
Don'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`.)

Re:Improving TrueOS: OpenRC by stefantalpalaru on Saturday January 21, 2017 @05:43PM (#13452503)
OpenRC 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.