How does Linux move from an awake machine to a hibernating one? How does it then manage to restore all state? These questions led me to read way too much C in trying to figure out how this particular hardware/software boundary is navigated.

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    ·
    27 days ago

    This is certainly an interesting feature, though my one use case has become much less relevant now that systems boot so quickly.

    Perhaps if you have long running jobs and no implementation of state saving it could find applications.

    • circuitfarmer@lemmy.sdf.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      27 days ago

      Boot times on AM5 are soooo slow due to some memory training feature of DDR-5, even after following many suggestions for settings. It appears to be a general issue with the platform, so hibernation is very much back on the menu for me.

      Duh, it won’t matter since the delay is before POST.

      • schizo@forum.uncomfortable.business
        link
        fedilink
        English
        arrow-up
        2
        ·
        27 days ago

        hibernation is very much back on the menu for me

        Uh, does hibernation on whatever you’re using not actually power the system completely off?

        I mean, my build does, so it’s not really saving any “boot time”, where by boot I mean the minute or two you spend POSTing.

          • schizo@forum.uncomfortable.business
            link
            fedilink
            English
            arrow-up
            1
            ·
            26 days ago

            I was hoping you had figured out a way around that, lol.

            My AM5 platform takes so long to boot (and other weirdnesses) that the only nice thing I have to say about it is at least it’s not Intel 13th/14th gen and literally melting.

            • circuitfarmer@lemmy.sdf.org
              link
              fedilink
              arrow-up
              1
              ·
              26 days ago

              Unfortunately not.

              My AM5 has been pretty good, the boot issue notwithstanding. It has been quite stable at least. For me it’s a 7600x.

              • schizo@forum.uncomfortable.business
                link
                fedilink
                English
                arrow-up
                1
                ·
                26 days ago

                Yeah I’m on my 2nd motherboard due to the first having issues where it just plain wouldn’t post 75% of the time, and this 7700x is just… sporadically unreliable.

                It won’t fail ANY kind of stress test I throw at it, but will then have notepad crashing repeatedly. I’m confused because it makes SO no sense and tired of dealing with it and it’s on it’s way to replacement as soon as there’s benchmarks out for the Core Ultra stuff, and whatever Tim Apple does with the M4 Macs.

                (Not really asking for diagnostic advice, as I’ve spent most of the last year diagnosing and replacing pieces and not being able to firmly blame the CPU or the PSU or the Motherboard or whatever since the failures are sporadic, and what doesn’t work seems to change occasionally.)

                • circuitfarmer@lemmy.sdf.org
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  26 days ago

                  Maybe you have just ended up with a lemon CPU. Though for random crashes like that, I’d almost always look to RAM first.

                  I did have some stability issues early on when trying to enable Expo. Never quite got that working right so it is currently disabled. I keep my 7600x in Eco mode since it is air cooled and the performance difference is not that great anyway, so I haven’t noticed any major differences with Expo off.

                  The Expo issues were also with a very early MSI BIOS. I haven’t tried it again after upgrading, but I probably should.

      • SteveTech@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        27 days ago

        On Asus motherboards you can enable ‘Memory Context Restore’, and it’ll remember the training. Unfortunately it seems rapid changes in the weather make my system unstable with it on.

        • circuitfarmer@lemmy.sdf.org
          link
          fedilink
          arrow-up
          1
          ·
          27 days ago

          I have an MSI motherboard. Memory Context Restore shaves significant time off of boots, but it is still extremely slow. Just a hang before I see POST complete.