Hello, I came across zram recently and I’d like to know if I should use it, my laptop only has ~4GB of ram, and for the most part it’ll only stutter when I open multiple programs or a game, so would zram be adequate in my case?

Also, would the compressing and decompressing have a significant impact on my cpu?

    • DasFaultier@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      5 months ago

      This. I’ve had nothing but great experiences with zram on resource constrained VMs in an enterprise grade cluster.

  • HarriPotero@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 months ago

    zram is only suitable if you have no swap. I’d you have swap, zswap does a better job. It also compresses pages in memory, but swaps the least recently used pages to disk when pressured.