I installed Yunohost without a swap partition, and for a long time, I’ve had the “system doesn’t have swap” warning in Diagnosis. Until now, it hasn’t caused issues, but I’m starting to see periods where only ~10% of RAM remains free, so I’m looking into my options, which are:
The Debian Swap docs mention zram/zswap as alternatives in the intro, but I haven’t seen much discussion about them here.
- Is there general guidance for adding swap when a partition isn’t an option?
- Would you recommend starting with zram, or is a swapfile the safer bet?
- Are there any performance trade-offs I should consider?