swap always slower than RAM, you need it because some components need enough RAM to compile, you cheating them by replacing real memory by file on disk. after installation better to keep it, because new program updates need to recompile them, and will need this memory again. just configure vm.swappiness=5 that will tell your OS to use swap only when less than 5% ram free.
---
now you need to install swap according to manual, you can use any swap size, 4g will be enough.
---
now you need to install swap according to manual, you can use any swap size, 4g will be enough.