6 ms·
Zram creates a compressed RAM disk. https://wiki.archlinux.org/title/Zram https://wiki.archlinux.org/title/Zram
by schmeichel 2mo ago
Zram creates a compressed RAM disk.
https://wiki.archlinux.org/title/Zram https://wiki.archlinux.org/title/Zram
- fuzzy2 2mo agoIt's also not the optimal choice in most situations: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-...
- mtzet 2mo agoThe main point is to use zswap over swap plus zram. The sd card usecase definitely doesnt want swap to disk, compressed or otherwise, so zram or no swap are the options.
- steinuil 2mo agoExactly. The previous install of the system had no swap at all so enabling zram is an improvement.
- mvanbaak 2mo agoMoving swap off of sdcard is indeed a good plan. But since swapping is done when ram is depleted, using a ramdisk for it (which uses ram) is ... exactly what you dont want. Since OP states they have disks attached to the machine as well, the better thing is use a partition there for swap.