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

  • @[email protected]
    link
    fedilink
    English
    61 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
        link
        English
        5
        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
            link
            fedilink
            2
            edit-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, where it does the same as hibernating, but then enters suspend, so if power is cut you still have your ram preserved)?

      • @[email protected]
        link
        fedilink
        English
        41 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