I suggest that you read “In defence of swap” that various people have linked to. It includes information about swap size.
Here are swap size recommendations for from Red Hat and Canonical. You may not run oof these distributions but the information will probably still apply.
I suggest that you read “In defence of swap” that various people have linked to. It includes information about swap size.
Here are swap size recommendations for from Red Hat and Canonical. You may not run oof these distributions but the information will probably still apply.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/ch-swapspace
https://help.ubuntu.com/community/SwapFaq
Assuming you have 16GB of RAM 32GB is the maximum swap size you need if want to use hibernation. You can you less if don’t plan to use hibernation.