Do not buy RAM, compress

(curiousbits.nl)

19 points | by Ecno92 1 hour ago

6 comments

  • sammatilda 10 minutes ago
    I just discovered zram thanks to claude after installing fedora on a new computer and man I was blown away by both zram and fedora. Fedora amongst the linux distributions for some reasons has really got everything that an end user needs and the whole experience is just way smoother than anything I have used in 25 years on linux.

    I am hoping to switch my dad from ubuntu to fedora in a month or so because he has 16 GB ram and this seems like something most people dont know.

    • nico 2 minutes ago
      Wow, very cool. Is this like the old "RAM doubler" for Mac OS (or like Johnny Mnemonic's "Pemex MemDoubler")? :)
  • roosgit 1 hour ago
    MacOS has been doing this for quite a while now. I was a bit surprised this wasn’t the default for most Linux distros, although I think Pop!_OS (what a name!) has had zram enabled for a few years already. I turned it on on one of my servers (1GB RAM) and it works fine.
    • kachnuv_ocasek 7 minutes ago
      Fedora has had zram on by default for at least five years now.
  • Ecno92 1 hour ago
    Since I am using Claude with parallel sessions in different workspaces I started to run out of RAM.

    Instead of buying more RAM, which meant that I should replace my device, I decided to implement zram. This compresses memory. Now I can do more with the same hardware.

    In many cloud environments compression is not enabled. I am curious to see if the same gains can be made in such environment.

  • mzhaase 11 minutes ago
    [dead]
  • ChrisRR 0 minutes ago
    > Compressing memory does not come with downsides. It takes a little bit more from your CPU and adds latency to some processes

    It sounds like those are downsides

  • messe 28 minutes ago