New CRAM method offers giant boost to compressed memory reads
tomshardware.com42 points by danny00 8 hours ago
42 points by danny00 8 hours ago
https://lpc.events/event/20/contributions/2424/
https://www.phoronix.com/news/Linux-CRAM-Compressed-RAM
Ram Doubler, for Mac and Win 3.x, 1996 https://winworldpc.com/product/connectix-ram-double/windows-... Nice to see its back, with better performance. History repeated, with refinement. So can I finally download more RAM? Whoa, new options! I'm downloading the Quantum RAM with Haptic Feedback. probably not to your current computer. this works on supporting memory types that do compression in hardware. the recording of the presentation has got to be on this YT channel but I only scrubbed through 2 videos (8h each) and it's not easy to find https://www.youtube.com/@LinuxPlumbersConference not sure where it falls in the schedule here either https://lpc.events/event/20/timetable/#all Unfortunately the recording is missing audio for half the talk. A frequent issue for the plumbers livestreams this year. The article appears to misunderstand the point of the project, and mostly just describes what zswap already does (writing compressed pages back into ram), rather than talking about cram's hardware-offloaded compression that allows cacheline-level access rather than page-level. (And they appear to be aware that they don't really understand it: “My explanation of CRAM might not be completely correct”) The phoronix article is better, and I say that as someone who usually detests the quality of phoronix's technical writing. It's not really about hardware offload, the biggest problem with zswap is that it's swap. The rest of the kernel treats it like a fast SSD (which is still incredibly slow compared to RAM) instead of slower memory that needs a bit of special handling on writes. NUMA maps a lot closer to what compressed RAM actually is. The subsystem is more aware of CRAMs specifics so it can make better decisions about where to put allocations and everything gets faster. And it's less overhead because swap is not really optimized for frequent direct access but for NUMA it's the most basic function. Finally we can run frontier models locally We brute force AI models right now because a) we don’t know better, and b) it’s premature optimization. I beg to differ on point b, but no one is delaying their next model just so they can concentrate on optimization. It’s coming though. One example: https://siliconangle.com/2026/07/28/ai-model-compression-sta... Another is separating the the intelligence part of the model from the known facts part of the model (which can be better compressed) Compression doesn't really work for model weights. Model quantization and model distillation are two techniques to reduce model size. one would hope model weights are already high entropy enough and would not be improved by a general-purpose memory compression algo?
Kevin_Flynn - 8 hours ago
eglintondust - 6 hours ago
smallmancontrov - 2 hours ago
skavi - an hour ago
cyberclimb - 4 hours ago
tux3 - 2 hours ago
cwillu - 6 hours ago
tancop - 4 hours ago
madduci - 6 hours ago
sroussey - 2 hours ago
tintor - 2 hours ago
throawayonthe - 4 hours ago