• Dran
      link
      fedilink
      852 years ago

      Unironically that’s how zram works

      • @[email protected]
        link
        fedilink
        282 years ago

        Don’t do boy zram dirty, it has a ton of utility when you have ample spare compute and limited RAM.

        • Dran
          link
          fedilink
          42 years ago

          Is that not how it works though? Lol

      • jtfletchbot
        link
        fedilink
        192 years ago

        Doesn’t it compress the contents that it’s storing to help kind of get the best of both worlds?

        You get faster storage because it’s in ram still, but with it being compressed there’s also “more” available?

        I could be completely mistaken though

        • Ew0
          link
          fedilink
          English
          162 years ago

          You are correct, although zram uses more cpu power since it compresses things. It’s not really an issue if you’re not using a potato :=)