# zram

Published articles for zram.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## I was wrong! zswap IS better than zram

DevFeed: [I was wrong! zswap IS better than zram](<https://devfeed.tech/articles/i-was-wrong-zswap-is-better-than-zram-102576.md>)

Original publisher: [Read original article](<https://linuxblog.io/zswap-better-than-zram/>)

Author: Hayden James

Published: 2026-10-27T12:30:49Z

Content type: opinion

Language: en

Sources: [Hayden James](<https://devfeed.tech/sources/hayden-james.md>)

Topics: [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [cgroups](<https://devfeed.tech/topics/cgroups.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [XFS](<https://devfeed.tech/topics/xfs.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [applications](<https://devfeed.tech/tags/applications.md>), [block](<https://devfeed.tech/tags/block.md>), [blog](<https://devfeed.tech/tags/blog.md>), [boot](<https://devfeed.tech/tags/boot.md>), [builds](<https://devfeed.tech/tags/builds.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [charged](<https://devfeed.tech/tags/charged.md>), [compression](<https://devfeed.tech/tags/compression.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [configure](<https://devfeed.tech/tags/configure.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [demand](<https://devfeed.tech/tags/demand.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [performance](<https://devfeed.tech/tags/performance.md>), [server](<https://devfeed.tech/tags/server.md>), [sysadmins](<https://devfeed.tech/tags/sysadmins.md>), [zram](<https://devfeed.tech/tags/zram.md>), [zswap](<https://devfeed.tech/tags/zswap.md>)

### AI overview

The author now recommends zswap as the usual choice for modern systems with disk swap, especially when swap use is large or variable and storage is fast. Zswap caches compressed pages in RAM up to a pool limit, then evicts pages to backing swap; the author says this uses memory dynamically, reduces NVMe writes, and avoids the performance and suspend/resume problems they encountered after using half their RAM for zram. Their desktop uses zswap with an NVMe swap file. Zram remains useful on small or diskless systems and systems with very slow storage, but the author advises keeping its size around 20-30% of RAM and warns that it can compete with the working set and page cache. For cgroup-limited servers, the author favors zswap because zram memory is not charged to the owning cgroup, while zswap pages are.

### Source excerpt

Update (October 2026): I first published this article on September 1, 2025. In March 2026, kernel developer Chris Down published Debunking zswap and zram myths, which reaches the same conclusion: if in doubt, prefer zswap. Continue reading...

## How Modern Computer Memory Uses Caches, Virtual Memory, and Compressed RAM

DevFeed: [How Modern Computer Memory Uses Caches, Virtual Memory, and Compressed RAM](<https://devfeed.tech/articles/your-computer-memory-is-a-lie-85335.md>)

Original publisher: [Read original article](<https://hackaday.com/2026/10/12/your-computer-memory-is-a-lie/>)

Author: Al Williams

Published: 2026-10-12T14:00:11Z

Content type: article

Language: en

Sources: [Hackaday](<https://devfeed.tech/sources/hackaday.md>)

Topics: [CPU Cache](<https://devfeed.tech/topics/cpu-cache.md>), [NUMA](<https://devfeed.tech/topics/numa.md>), [DRAM price increase](<https://devfeed.tech/topics/dram-price-increase.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compression](<https://devfeed.tech/tags/compression.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cram](<https://devfeed.tech/tags/cram.md>), [cxl](<https://devfeed.tech/tags/cxl.md>), [dram](<https://devfeed.tech/tags/dram.md>), [featured](<https://devfeed.tech/tags/featured.md>), [interest](<https://devfeed.tech/tags/interest.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mmu](<https://devfeed.tech/tags/mmu.md>), [rants](<https://devfeed.tech/tags/rants.md>), [swapfile](<https://devfeed.tech/tags/swapfile.md>), [zram](<https://devfeed.tech/tags/zram.md>), [zswap](<https://devfeed.tech/tags/zswap.md>)

### AI overview

Modern memory systems hide a hierarchy of CPU caches, virtual address translation, NUMA, filesystem caching, and persistent storage behind a simple byte-addressed model. The article also describes Linux zram and zswap, then introduces CRAM, a developmental project that uses hardware-assisted compression exposed as a special NUMA node. Reported benchmarks show promising results for selected workloads, while the project remains unsuitable for everyday use.

### Source excerpt

When you first learn to program, memory seems pretty straightforward. You have a bunch of bytes, each with an address. If you want to read or write something, you specify ...read more