I think the question is: if a person is going to make such a tiny swap, why even use swap?
Such a small swap is unlikely to save a system from memory problems and it’s does not seem likely to make a noticeable difference in performance when it’s only able to swap out small amounts of memory.
Why wouldn’t one just put in larger ZRAM or a larger Swap with a reduced swapiness?
If I have a raspberry pi with 1 GB ram, I don’t think a 2 MB swap is worth bothering with.
Why even bother having swap at that point?
because swap does other things than “extending” your physical ram
I think the question is: if a person is going to make such a tiny swap, why even use swap?
Such a small swap is unlikely to save a system from memory problems and it’s does not seem likely to make a noticeable difference in performance when it’s only able to swap out small amounts of memory.
Why wouldn’t one just put in larger ZRAM or a larger Swap with a reduced swapiness?
If I have a raspberry pi with 1 GB ram, I don’t think a 2 MB swap is worth bothering with.
Because it’s not what what you think it is and doesn’t do what you think it does. https://chrisdown.name/2018/01/02/in-defence-of-swap.html