6 ms·
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 so
by mscdex 11mo ago
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).
- kragen 11mo agoCan't you use a ramdisk as your backing swap device?
- PhageGenerator 11mo agoUsing a ramdisk for zswap is basically just zram with extra steps.
- kragen 11mo agoExtra steps are fine if the result works better.
- Ferret7446 11mo agoIt is not the same at all. The swapping algorithm can make a big difference in performance, for better or worse depending on workload
- RealStickman_ 11mo agoZram is just swap but in RAM. It uses the same algorithms as normal swap