SystemD is blamed for long boot times and being heavy and bloated on resources. I tried OpenRC and Runit on real hardware (Ryzen 5000-series laptop) for week each and saw only 1 second faster boot time.

I’m old enough to remember plymouth.service (graphical image) being the most slowest service on boot in Ubuntu 16.04 and 18.04. But I don’t see that as an issue anymore. I don’t have a graphical systemD boot on my Arch but I installed Fedora Sericea and it actually boots faster than my Arch despite the plymouth (or whatever they call it nowadays).

My 2 questions:

  1. Is the current SystemD rant derived from years ago (while they’ve improved a lot)?
  2. Should Linux community rant about bigger problems such as Wayland related things not ready for current needs of normies?
  • jarfil
    link
    fedilink
    arrow-up
    13
    ·
    1 year ago

    “do one thing well”

    Arguably, Systemd does exactly that: orchestrate the parallel starting of services, and do it well.

    The problem with init.d and sys.v is they were not designed for multi-core systems where multiple services can start at once, and had no concept of which service depended on which, other than a lineal “this before that”. Over the years, they got extended with very dirty hacks and tons of support functions that were not consistent between distributions, and still barely functional.

    Systemd cleaned all of that up, added parallel starting taking into account service dependencies, which meant adding an enhanced journaling system to pull status responses from multiple services at once, same for pulling device updates, and security and isolation configs.

    It’s really the minimum that can be done (well) for a parallel start system.

    • digdilem@feddit.uk
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Oh yeah, agree with that - but systemd is not just the init system. It’s also hostnamectl, systemctl, it will run dns, network, routing, and dozens of other things if you or the distro wants it to.