Hi all,

Is there a method out there that can “save a hibernate state” to disk, and just permanently boot immediately into that state every time?

It would be OK to lose data used after this point. And ot would also be OK if it required building a custom image based on the hardware, similar to embedded systems.

The goal is to be able to, as quickly as possible, spin up a GPU server when needed, but without using suspend/resume.

Thanks.

  • frongt@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    6 小时前

    Are we talking physical servers like Poweredge or Proliant? Those take a long time to boot, especially with lots of RAM. Why can’t you use suspend/resume?

    And modern servers don’t really consume a lot of power while idle. You can configure them to downclock the CPU and GPU while idle just like a desktop or laptop.

    But if you really wanted it, you could boot an immutable distro and mount user partitions tmpfs. Or use a portable distro and discard the state. Or a filesystem with snapshots and roll back on each shutdown or boot. But none of those are really going to get you instant boot. Linux boots pretty quick, but not instant.

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 小时前

      Linux boots pretty quick

      I never managed to make linux boot faster than windows (on the same device ofc).

      And to this day I don’t understand why.

      Out of the 3 desktop OSes (lin, win, mac) linux was always the slowest one in my experience.