ubuntu:swap:recommended_swap_space
Ubuntu - Swap - Recommended Swap Space
Historically, swap space was set to twice the amount of memory.
- However that was against systems with very little memory.
- The systems today have a lot more memory, so new rules apply as to the amount of recommended swap to have.
Amount of RAM in the system | Recommended swap space | Recommended swap space if allowing for hibernating |
---|---|---|
2GB of RAM or less | 2 times the amount of RAM | 3 times the amount of RAM |
2GB to 8GB of RAM | Equal to the amount of RAM | 2 times the amount of RAM |
8GB to 64GB of RAM | 0.5 times the amount of RAM | 1.5 times the amount of RAM |
64GB of RAM or more | 4GB of swap space | No extra space needed |
ubuntu/swap/recommended_swap_space.txt · Last modified: 2023/06/09 16:00 by peter