• dan@upvote.au
    link
    fedilink
    arrow-up
    4
    ·
    2 天前

    Even without hibernation, data in apps you have open will end up in the swap if your system is ever RAM-constrained.

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      2 天前

      Generally it only happens to programs you keep running in the background and might not use for a long time that also don’t have much background activity. For example password managers.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        1
        ·
        2 天前

        It depends on what you set your swappiness to, too. I think Linux distros still have pretty aggressive defaults that swap more than they probably need to.

        • DevDave@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 天前

          I have taken a couple classes in Linux centric forensics and one of the things I often wandered about is if there is an easy way to add jitter or shift individual file blocks by a word (64 bits) or even half the size of a data block. Say every two hours shift up or down so attempts to read a mechanical hard drive would be chaotic.