[HN Gopher] Zram Performance Analysis
___________________________________________________________________
Zram Performance Analysis
Author : enz
Score : 33 points
Date : 2025-10-23 19:58 UTC (3 hours ago)
(HTM) web link (notes.xeome.dev)
(TXT) w3m dump (notes.xeome.dev)
| kragen wrote:
| An alternative is zswap
| https://old.reddit.com/r/linux/comments/11dkhz7/zswap_vs_zra...
| which I believe, despite the name, can also compress RAM without
| hitting disk.
| mscdex wrote:
| It's only an alternative if you have a backing swap device.
| zram does not have this requirement, so (aside from using no
| compression) it's basically the only solution for some
| scenarios (e.g. using entire disk(s) for ZFS).
| sirfz wrote:
| a comment here about zram caught my eye a day or two ago and I've
| been meaning to look into it. Glad to see this post (and I'm sure
| many others saw the same comment and shared my obsession)
| burch45 wrote:
| This post's conclusions are odd. It has a bunch of extensive
| benchmarks showing that zstd is by far the worst performing
| across every metric except a slight increase in compression ratio
| and then says the conclusion is zstd is the best choice. Unless
| I'm missing something in the data.
___________________________________________________________________
(page generated 2025-10-23 23:00 UTC)