News for hackers. Stuff that matters.
Re:The death and rebirth of my home server by fuzzy2 on Sunday July 19, 2026 @01:12PM (#48969871)
It's also not the optimal choice in most situations: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-...
Re:The death and rebirth of my home server by mtzet on Sunday July 19, 2026 @02:49PM (#48970699)
The 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.
Re:The death and rebirth of my home server by mvanbaak on Sunday July 19, 2026 @03:21PM (#48970947)
Moving 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.
Re:The death and rebirth of my home server by steinuil on Sunday July 19, 2026 @03:19PM (#48970931)
Exactly. The previous install of the system had no swap at all so enabling zram is an improvement.