Re:Do not buy RAM, compress
by jmakov on Thursday November 19, 2026 @04:13PM
(#50566454)
I'm working with time series data. Compresses 5:1 with ZSTD-1. If I want to load 512GiB of the data, having 128GiB physical RAM, ZRAM handles it. My understanding is that if I'd want to use ZSWAP, I'd need min 384GB swapfile taking up my disk space even if it will not be touched at all.
[ Parent
| on HN ]
Zswap compresses in memory just like Zram does. You can even configure the percentage of ram you want. You need the same amount of disk space as you would with zram. The benefit of zswap is that compressed pages get written to disk if they are eventually swapped there.