News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.