• Brkdncr@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    3 days ago

    Saving ram to swap can be done with minimal impact. Helpful when you run out of memory and that 2gb app idling can be dumped right away instead of waiting for it to be copied to swap.

    • WhyJiffie@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      but that’s not what’s happening. processes do actually get removed from RAM, and when they are needed they are very slow until they are loaded back. the system thinks it’s more valuable to have that memory be filesystem cache

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          tbh windows was doing this very aggressively on my system, it was swapping like a mad man right when memory usage reached 50%

            • WhyJiffie@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              15 hours ago

              programs were slow, and I had my system on an SSD. I was seeing 100% utilization in task manager on the drive of the swap file when I was experiencing the slowdown.