Swap. what is recommended

You could check out a third alternative, Zram.
There are probably other advantages, but I use it mainly because of the ease and simplicity. No need to mess around with partitions or swap files.

4 Likes