• ayyy@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    7 hours 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
      22
      ·
      7 hours 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
        5
        ·
        6 hours 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.

        • [object Object]@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          42 minutes 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.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          5
          ·
          5 hours 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

    • Wispy2891@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 hours 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