3 ms·
I tried swap on zram briefly, but then switched back to a swap partition and enabling zswap. It's basically like zram but when the reserved ram section runs ful
by iforgotpassword 4y ago
I tried swap on zram briefly, but then switched back to a swap partition and enabling zswap. It's basically like zram but when the reserved ram section runs full it will hit the disk with the lru pages. A tiered system. That means as long a you're only slightly using too much ram, it will swap in compressed RAM entirely.
So the only use case I see for swap in zram is if you never want to swap to disk, but still want to use swap for some reason.