I use Ubuntu btw. Poweroff could use more write cycles on the SSD because it has to read everything at startup, but suspend has to keep supplying power to the RAM

  • tehWrapper@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    Maybe cause I’m old but boot times are so quick if I need to move i just shutdown throw it in my backpack and go. I don’t want it on in any fashion while in my bag and hibernating to disk means all my shell sessions and anything else disconnected anyhow.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      8 days ago

      hibernating to disk means all my shell sessions and anything else disconnected anyhow.

      If you can run tmux on the remote system, can manually reattach when you reconnect.

      If you use the UDP-based mosh instead of the TCP-based ssh — it uses ssh to bootstrap auth, then hands off to its own protocol — (a) the system can use local prediction in some cases, leaving it feeling snappier, but also (b) the thing will automatically reconnect and resume sessions. I mostly find it useful on flaky/slow links, but it is also kind of neat to just close a lid, and then pop it open again days or a week later and then just resume working without any user-visible disruption.

      I normally use mosh in conjunction with tmux, since with mosh alone, there’s no way for another host to reconnect to a mosh session…but another host can connect and take over a tmux session being run by a mosh session.

      • tehWrapper@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        18 hours ago

        Finally got around to playing with mosh today and with it using ssh for auth it was so simple to setup. It actually works really well!

        Thanks for the recomendation