3 ms·
Sounds exactly like what zswap does out of the box. "Zswap is a kernel feature that provides a compressed RAM cache for swap pages. Pages which would otherwise
by zamadatix 7y ago
Sounds exactly like what zswap does out of the box.
"Zswap is a kernel feature that provides a compressed RAM cache for swap pages. Pages which would otherwise be swapped out to disk are instead compressed and stored into a memory pool in RAM. Once the pool is full or the RAM is exhausted, the least recently used (LRU) page is decompressed and written to disk, as if it had not been intercepted." https://wiki.archlinux.org/index.php/Zswap https://wiki.archlinux.org/index.php/Zswap
- ashitlerferad 7y agoFrom that wiki page you linked to: "The difference compared to zram is that zswap works in conjunction with a swap device while zram is a swap device in RAM that does not require a backing swap device."