4 ms·
zswap https://docs.kernel.org/admin-guide/mm/zswap.html https://docs.kernel.org/admin-guide/mm/zswap.html The cgroup accounting also now works in zswap.
by cmurf 1y ago
zswap
https://docs.kernel.org/admin-guide/mm/zswap.html https://docs.kernel.org/admin-guide/mm/zswap.html
The cgroup accounting also now works in zswap.
- ChocolateGod 1y agoZswap requires a backing disk swap, Zram does not.
- cmurf 1y agoThe backing disk or file will only be written to if cache eviction on the basis of LRU comes into play, which is fine because that's probably worth the write hit. The likelihood of thrashing, the biggest complaint about disk based swap, is far reduced. zram based swap isn't free. Its efficiency depends on the compression ratio (and cost).