• @[email protected]
    link
    fedilink
    English
    8
    edit-2
    29 days ago

    Creating your swap as 2x your RAM is outdated advice. Now it’s essentially changed to be 2x until 4GB of RAM, then 1x until 8GB, and anything over 8GB just use 4GB of swap because you probably have enough RAM. Or, even some modern systems like Fedora will swap to zRAM. Which is just a highly compressed portion of RAM.

    • @[email protected]
      link
      fedilink
      528 days ago

      I think that recommendation came partly due to hibernation, where the ram is dumped to disk before powering off. Today, I’d probably use a swapfile instead.

      • Smee
        link
        fedilink
        228 days ago

        Swap files are just a file version of the swap partition. I need a 24GB swap file to hibernate.