Announcement

Collapse
No announcement yet.

systemd 254 With New Soft Reboots Feature, systemd-battery-check

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • systemd 254 With New Soft Reboots Feature, systemd-battery-check

    Phoronix: systemd 254 With New Soft Reboots Feature, systemd-battery-check

    Systemd 254 is out today in time for appearing in the late-2023 Linux distribution releases...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    hmm, quite a few fancy things for memory bits.

    Comment


    • #3
      The soft reboot thing immediately reminded me of the quick reboot feature of qemm386 back in the DOS days.

      Comment


      • #4
        Can someone tell me what the use case for a soft reboot is? When is it really useful ovee just hard rebooting?

        Comment


        • #5
          Originally posted by SpyroRyder View Post
          Can someone tell me what the use case for a soft reboot is? When is it really useful ovee just hard rebooting?
          Besides being very usecase-less for non-WSL setups, a portion of it generated some stress inside the team as they pushed changes Poettering disapproved, during his vacations: https://github.com/systemd/systemd/p...ment-164617339. And then the author ended up being very passive-aggressive in the revert PR: https://github.com/systemd/systemd/p...ent-1648643043

          Comment


          • #6
            Originally posted by SpyroRyder View Post
            Can someone tell me what the use case for a soft reboot is? When is it really useful ovee just hard rebooting?
            If you have a large server for instance, a hard reboot requires initializing all the hardware again and that can take quite a long time (my personal experience is with a large multi terabyte database server taking over half an hour). A soft reboot is considerably quicker. Image updates are another use case when combined with kernel live patching with something like kpatch

            Comment


            • #7
              Originally posted by SpyroRyder View Post
              Can someone tell me what the use case for a soft reboot is? When is it really useful ovee just hard rebooting?
              Especially on server class systems bring up the hardware can take quite some time (identifying the hardware, loading firmware, etc. can take minutes). Just restarting all of user space (with the ability to pass along certain file descriptors such that services can run at least partially uninterrupted) can result in a system that is ready to function much faster (sometimes).

              Comment


              • #8
                I can imagine this being useful for ostree updates. If the kernel doesn't change, there's really no reason to reboot the hardware if you can reboot the userland.

                Comment


                • #9
                  Originally posted by Britoid View Post
                  I can imagine this being useful for ostree updates. If the kernel doesn't change, there's really no reason to reboot the hardware if you can reboot the userland.
                  Exactly. People are talking about servers and they're not wrong, but I don't constantly reboot either. I only reboot when there's something important to reboot for. So if I can reduce that number even further by soft rebooting, then I'm even more happy!

                  Comment


                  • #10
                    Originally posted by CommunityMember View Post

                    Especially on server class systems bring up the hardware can take quite some time (identifying the hardware, loading firmware, etc. can take minutes). Just restarting all of user space (with the ability to pass along certain file descriptors such that services can run at least partially uninterrupted) can result in a system that is ready to function much faster (sometimes).
                    Not only server class! E.g. Asrock Rack workstation/server ITX motherboards with no PCIe cards & one memory module may spend 2-3 minutes booting the firmware whereas an full size ATX board & Haswell Core i7 with 20 drives and PCIe cards + 4 memory modules might boot the firmware + systemd-boot + kernel + window manager in 8 seconds. The server class mini ITX hardware is so much better that it spends 50 times more booting the firmware!

                    Comment

                    Working...
                    X