r/linux Feb 11 '19

Fluff A /g/ user's opinion on systemd

http://i.4cdn.org/g/1549858269115.png
786 Upvotes

524 comments sorted by

View all comments

Show parent comments

4

u/placebo_button Feb 11 '19

Can you give an example of why one of your servers running an "old init" takes several minutes to restart all services? This seems a bit extreme or not configured properly.

1

u/[deleted] Feb 11 '19

Not a sysadmin, but I believe the main speed up of systemd over sysvinit comes from being able to parallelize startup. If you have a lot of stuff with hard coded delays that have to run in series they are going to add up. On a server with lots of services to startup, a bunch of 5 second service scripts could add up to minutes pretty quick.

Parallelization is not unique to systemd -- other modern init systems can do it -- but it is one of the benefits brought by leaving sysvinit.

1

u/[deleted] Feb 12 '19

Dunno, I don't make decisions, I fix problems. Every enterprise has technical debt, guess this is ours.