315

cross-posted from: https://lemmy.world/post/51845693

Credit to @ryanc@infosec.exchange

I just did the graphic

you are viewing a single comment's thread
view the rest of the comments
[-] kopasz7@sh.itjust.works 18 points 3 weeks ago* (last edited 3 weeks ago)

To add some nuance to this, do not use ZRAM in combination with swap. There's ZSWAP for that which does what you would expect, without clogging up your RAM and gracefully handling a backing device. (ZRAM is just another block device for the kernel, so you will get LRU inversion if it fills up and you have another layer of swap on disk. Meaning your cold pages will be needlessly stuck in zram.)

[-] SleveMcDichael@programming.dev 10 points 3 weeks ago

Yeah, the same person who wrote the article I linked above also wrote one on zram vs zswap, which I think is also a good read: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html

this post was submitted on 13 Sep 2026
315 points (95.7% liked)

Programmer Humor

33524 readers
1220 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS