• Dran
      link
      fedilink
      892 years ago

      Unironically that’s how zram works

        • Dran
          link
          fedilink
          42 years ago

          Is that not how it works though? Lol

      • Josh F.
        link
        fedilink
        212 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
          152 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 :=)

          • @Still@programming.dev
            link
            fedilink
            112 years ago

            even if you are using a potato it probably doesn’t have much ram so slightly slowing it to make things run smoother is a very popular choice