How much GB do I proceed to the swap partition?

For example, a team with 8 GB of RAM memory. How much GB do I proceed to the swap partition?

Greetings!
 
Normally I'd take twice the amount of memory for swap but I also keep it at 8-16GB as a maximum. It depends a bit on what your expected load is going to be. But anything above 16GB is probably useless. If you need that kind of swap you're better off getting more memory. In your case using 8GB of swap is probably more than enough.
 
The worst case usage of swap in case of a crash dump is the amount of physical memory. Anything over that is debatable because if your system starts to swap and uses gigabytes of swap you're already at a point where your system is crawling to a halt and isn't very usable.
 
Back
Top