5 ms·
yes, we run ZRAM of every single server we have, its fantastic and we don't have swap anywhere. It's worth noting though that vm.swappiness is set to 0 then ZRA
by mrmondo 10y ago
yes, we run ZRAM of every single server we have, its fantastic and we don't have swap anywhere. It's worth noting though that vm.swappiness is set to 0 then ZRAM wont be used, it must be set to 1 or higher unless you're using a really old kernel (pre 3.5).
- mwpmaybe 10y agozram[0] is not the same thing as zswap[1]. 0. https://en.wikipedia.org/wiki/Zram https://en.wikipedia.org/wiki/Zram 1. https://en.wikipedia.org/wiki/Zswap https://en.wikipedia.org/wiki/Zswap
- fpoling 10y agoI have found that zswap behaves much better than zram when the size of the used ram approaches 150% of RAM. In theory zram compresses better as zswap has very simple mapping for the location of its cache of compressed pages leading to space underutilization. But, as it has real backing store, it can evict unused pages allowing bigger chunk of uncompressed memory for running applications.