Meta engineer details CRAM, a new compressed-memory system for Linux
At the Linux Plumbers Conference in Prague, Meta engineer Gregory Price presented CRAM, a hardware-offloaded memory compression technique for Linux that allows cacheline and byte-level access to compressed data. Unlike ZRAM or Zswap, CRAM represents compressed memory as a private NUMA node rather than a block device, letting the kernel manage it using standard memory semantics like migration and ballooning.
GoKawiil's interpretation of the reporting above, not reported fact.
Benchmarks cited show CRAM nearing raw DRAM speeds for read-only data and still delivering a 5.4x speedup over ZRAM even with 20% writes, suggesting a meaningful efficiency gain for memory-constrained systems. Given Meta's scale, the work is likely aimed at large server fleets, but ZRAM and Zswap are also widely used on consumer devices like the Steam Deck, so broader Linux distributions could eventually benefit if CRAM is upstreamed.
- CRAM is a Meta-developed compressed RAM technique presented at Linux Plumbers Conference 2024.
- It uses hardware-offloaded compression and a private NUMA node, enabling near-native DRAM read speeds.
- Most components needed for CRAM already exist in mainline Linux, easing potential adoption.
Crucial 32GB DDR5 Desktop RAM Kit — If memory shortages and high prices are making headlines, a straightforward way to ease the pressure right now is simply adding more physical RAM to your own system. A DDR5 upgrade kit like this gives your machine more headroom for multitasking and memory-hungry apps while projects like CRAM continue to mature in the Linux kernel. It's a practical, immediate complement to the software-level memory optimization discussed in the article.
See Crucial 32GB DDR5 Desktop RAM Kit on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.Source: hardware.slashdot.org — Posted, 2026-10-10
Published there as: “Meta Developing Compressed RAM 'CRAM' For Linux: Better Than ZRAM and Zswap?”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.