breaking bad he was a zswap boy, she was a zram girl
you are viewing a single comment's thread
view the rest of the comments
[–] 30 points 6 months ago (2 children)

Just to be super nerdy, here's an amazingly well-written article on the subject from someone with a lot of credibility: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html

tldr; prefer zswap

  • source
  • hideshow 2 child comments
  • [–] 13 points 6 months ago*

    In my testing, zram has much, much better compression than zswap.

    The points about LRU inversion, cgroups, and so on are valid, but at the end of the day, I don't really care. I was able to open as many firefox tabs as I wanted with zram, but I could not do so with zswap, and that's what matters to me.

    The author of a blogpost is a facebook engineer. Millions of ultra high performance Linux servers are a very different usecase than a single desktop. It's perfectly reasonable for a solution for one to not be appropriate for the other.

  • source
  • parent