News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by trelliumD on Thursday November 19, 2026 @06:12PM (#50567896)
Re:Do not buy RAM, compress by sleepytimetea on Thursday November 19, 2026 @06:38PM (#50568160)
CRAM seems to be on its way to the mainline kernel, pending some MM major infra changes that need to merge. So, currently, it is out-of-tree experimental kernel support only. Sounds interesting though - the 452X read speedup because of avoiding the whole page fault zswap path is really great, which degrades to about a 5X speedup if there are 20% writes mixed with the reads, still worth the move.

Assuming a long running server eventually settles into a steady state with a large amount of read-only pages that are constantly referred to, and are highly compressible, the compressed ram reads using zstd would allow a server to effectively quadruple (4:1 ratio) its RAM without the zswap performance hits.

Re:Do not buy RAM, compress by flexagoon on Thursday November 19, 2026 @06:41PM (#50568185)
It seems like it's something still in development and not in the kernel yet?
Re:Do not buy RAM, compress by Self-Perfection on Friday November 20, 2026 @09:06AM (#50574845)
This technology is in development yet and targeted for special hardware that handles compression.

It is not clear how much of a difference switching to software only CRAM implementation will give over using zram and will it be available at all.