User Tools

Site Tools


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 systemRecommended swap spaceRecommended swap space if allowing for hibernating
2GB of RAM or less2 times the amount of RAM3 times the amount of RAM
2GB to 8GB of RAMEqual to the amount of RAM2 times the amount of RAM
8GB to 64GB of RAM0.5 times the amount of RAM1.5 times the amount of RAM
64GB of RAM or more4GB of swap spaceNo extra space needed
ubuntu/swap/recommended_swap_space.txt · Last modified: 2023/06/09 16:00 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki