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

  • DaPorkchop_@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    25 days ago

    Just chiming in to point out that powering off and then starting back up won’t cause any additional SSD wear, reading from flash memory doesn’t use up write cycles* (because there is no writing going on!). In fact, regularly restarting could be slightly more friendly for your SSD, because the /tmp directory, old log files, etc. get deleted on startup, freeing up the storage blocks used by the deleted files so that the SSD can use them for its internal wear balancing.

    *technically, flash memory reads do very slightly degrade the data being read, but this effect is absolutely negligible compared to other forms of passive bit rot in flash memory and is basically irrelevant unless you’re intentionally trying to corrupt data using reads (which won’t happen because the flash controller will fix it before it becomes corrupt to the point of being illegible)

  • skrlet13@feddit.cl
    link
    fedilink
    arrow-up
    5
    ·
    26 days ago

    I poweroff. I have enough time to let it turn on and can save some energy. (Electricity is getting even more expensive)

  • circuitfarmer@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    26 days ago

    Nearly always suspend. It just works for me and I’ve never had issues (Arch and Pop). I rarely, rarely have power outages so the end result is the same.

  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    26 days ago

    I could care less about the 5 cycles from 10.000.000 total cycles (dunno the actual number) at least for my desktop.
    As for my proxmox server: 5% wearout

  • nettie@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    26 days ago

    I use the hybrid: suspend to ram, then after 2 hours, automatically suspend to disk - in the final state it uses zero power. And, if you have encrypted your drive (you DO encrypt your drives, right?!) then you need to enter passphrase on resume from hibernate, so safer if device was nicked.

  • mannycalavera@feddit.uk
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    27 days ago

    To be honest the experience over multiple laptops and multiple Linux distributions with regards to suspend or hibernate has been absolutely terrible for me. I now set my browser to remember all my tabs and simply shut down my machine when I’m not issuing it. It starts up in 30 seconds or less which is maybe 15 seconds more than waking from suspend or hibernate and it’s not likely to break or require complicated set up.

    🤷

    • naeap@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      26 days ago

      Yeah, because of the same experience for the last 2 decades, I always shut my stuff down as well.

      Then I gave an old laptop with Linux to my neoprene nephew. And without further discussion or thinking, he just pressed the power button, when he wanted it to be off - which triggered some kind of sleep mode
      I was so fucking nervous during that, as I had never tested for that, and for the young generation growing up with smartphones that was the obvious move.
      But surprisingly it works like a charm and goes into some kind of standby.
      At least I didn’t got any complains…

      • Panda@lemmy.today
        link
        fedilink
        arrow-up
        2
        ·
        26 days ago

        Isn’t neoprene a synthetic material?

        My husband also uses the power button to power off his PC. I didn’t even know it was a thing until he asked me to do it for him at some point and I was very confused. He’s on Windows. I didn’t know this worked on Linux as well (though I know it’s a thing on laptops). Is there a way to configure what it does (on PC) like it does on laptops?

        • naeap@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          26 days ago

          Ah, fucking auto correct

          Should have read: my nephew ;⁠-⁠)

          Edit: and regarding your question:
          Yeah, there some power management tools/deamons to configure in Linux, how to handle what.
          Depends a bit on your distribution/environment, which tools are available - or make sense to be installed

          • Panda@lemmy.today
            link
            fedilink
            arrow-up
            1
            ·
            26 days ago

            Haha, to be honest it took me a bit to figure out you might have meant nephew. XD I must admit I even looked it up to see if there was a different meaning to the word that I didn’t know about. :'-)

            Thanks for the tips. I do vaguely remember seeing a setting somewhere but I think I’ll need to look into it more when I’m more awake (it’s past midnight here).

        • smort@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          26 days ago

          IIRC in the UEFI (aka BIOS), there’s usually a setting to dictate what a tap of the power button does—usually sleep, hibernate, or power off.

          Try tapping F10, F12, or Del during early startup to get into the UEFI setup

  • andybytes@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    26 days ago

    I definitely shut down my systems from time to time just to make sure my network is configured correctly and shit doesn’t go haywire because I’d rather have that happen than the power go out and everything comes crashing down

  • thisisbutaname@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    26 days ago

    My work machine (Ubuntu) gets suspended at the end of the day during the week and shut down on Friday. It’s a good balance between keeping my many programs running and ready and cleaning up regularly.

    I always shut down my desktop pc (Arch, btw) as it takes just a few seconds to boot up.

    My laptop (Arch) I shut down because suspend never worked.