this post was submitted on 17 Sep 2025
27 points (100.0% liked)
Linux
9642 readers
445 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Zram does not impede disk cache, it's a block device with compression, unavailable to the kernel for anything else.
I do wonder what you're trying to achieve by moving swap to zram? You're potentially moving pages in and out of swap for no real reason, with compression, where the swap wouldn't have occurred if zram weren't in place.