Y
Hacker News
new
|
ask
|
show
|
jobs
by
mscdex
232 days 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).
1 comments
kragen
232 days ago
Can't you use a ramdisk as your backing swap device?
link
PhageGenerator
232 days ago
Using a ramdisk for zswap is basically just zram with extra steps.
link
Ferret7446
232 days ago
It is not the same at all. The swapping algorithm can make a big difference in performance, for better or worse depending on workload
link
RealStickman_
232 days ago
Zram is just swap but in RAM. It uses the same algorithms as normal swap
link
kragen
232 days ago
Extra steps are fine if the result works better.
link