• aesthelete@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 day ago

    Dude, Windows swaps like it’s its job.

    The job of swap is to be used after the RAM is full or is about to be full. It’s not to be used instead of the RAM.

    I bet SSDs were a huge freaking performance boost for Windows generally speaking because of the way it swaps.

    • SaharaMaleikuhm@feddit.org
      link
      fedilink
      arrow-up
      8
      ·
      1 day 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
        6
        ·
        1 day 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
        15 hours 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
            19 hours 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.