I’ve heard a lot of people say your swap should be 2x RAM… but do I really need 32GB of swap?

  • __lb__@feddit.nl
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    I believe the swap partition is also used when hibernating. So when you use hibernate you need at least equal swap space as memory size.

      • snailtrail@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        1 year ago

        Hibernate and suspend are different. I configure my laptop to suspend for 3 hours before hibernating. That means I can close the lid for lunch or a commute and instantly resume, but if I leave my laptop in my bag over a long weekend, the battery isn’t drained. Does it save much battery? Dunno. A few % over a few days maybe.

          • takeda@kbin.social
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            Don’t use Ubuntu, but are you sure it removed it and didn’t do the same thing windows does (i. e. hybrid suspend)?

            • neuromancer@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Yes, the default is that you can’t hibernate to disk, I think they changed it back in the 2020 release.

              You can add the needed packages, swap, configure grub, etc. if you want to use hibernate, but it’s not part of the default installation.

      • klangcola@reddthat.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        The point isn’t to save power, the point is that the laptop is completely off. You can even take out the battery if needed