• SaharaMaleikuhm@feddit.org
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    That’s not true. Linux by default also moves stuff to swap way earlier. Swap is not just a fallback when you run out of RAM. That is why I think Zram is the best. My system can swap as much as it wants to.

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      8
      ·
      2 days ago

      Linux swappiness is at least easier to configure + I haven’t really noticed it happen on anything with enough RAM to do the job it’s doing.

      My 8 GB Thinkpad will swap quite a bit running PyCharm, docker and Firefox on KDE Plasma. My 32 GB desktop has near-zero swap usage and it has even more shit running at all

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      I’m currently dealing with an issue where on freshly installed Mint, after some time of me being away from the machine, the entire system and apps seem to have moved to the swap, which is on an hdd — so things slow down to a crawl and it takes like ten minutes to shake them back to life.

      Edit: after some more troubleshooting, I’m not sure swap is the issue, but it’s still likely.

        • [object Object]@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          1 day ago

          That’s cool, but I’m more concerned as to why this happens while I’m away, when there’s no need for everything getting swapped while I’m at the machine.