• ayyy@sh.itjust.works
    link
    fedilink
    arrow-up
    9
    arrow-down
    3
    ·
    2 days ago

    Isn’t that the entire point of swap? If you’re only gonna access that memory once a month what’s wrong with it swapping to disk but becoming ready within seconds when you go to use it?

    • aesthelete@lemmy.world
      link
      fedilink
      arrow-up
      25
      arrow-down
      1
      ·
      2 days 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
        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.

    • Wispy2891@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Yes but when it’s too much… The poor SSD in my 8gb laptop was constantly at 65°C because of all the activity. And it seems without reason. I would hear the warning sounds from crystaldiskinfo when “idle” in another room