Difference between revisions of "Swap"

m
Improved readability
m (Improved readability)
m (Improved readability)
Line 35: Line 35:
The amount of swap you need is highly variable based on ''your'' specific applications and workload.  There is no universal formula on swap size without monitoring usage over a period of time.  A reasonable place to start would be:</translate>
The amount of swap you need is highly variable based on ''your'' specific applications and workload.  There is no universal formula on swap size without monitoring usage over a period of time.  A reasonable place to start would be:</translate>
* <translate><!--T:19--> For less then 4GB of physical memory (RAM), it's highly recommended that the swap space should, as a base minimum, be equal to the amount of RAM. Also, it's recommended that the swap space is maximum twice the amount of RAM depending upon the amount of disk space available for the system because of diminishing returns.</translate>
* <translate><!--T:19--> For less then 4GB of physical memory (RAM), it's highly recommended that the swap space should, as a base minimum, be equal to the amount of RAM. Also, it's recommended that the swap space is maximum twice the amount of RAM depending upon the amount of disk space available for the system because of diminishing returns.</translate>
* <translate><!--T:20--> For more modern systems (>4GB), your swap space should be at a minimum be equal to your physical memory (RAM) size '''if you use hibernation''', otherwise you need a minimum of ROUNDUP(SQRT(RAM)) I.E. the square root of your RAM size rounded up to the next GB. The maximum, is again twice the amount of RAM, again because of diminishing returns.</translate>
* <translate><!--T:20--> For more modern systems (>4GB), your swap space should be at a minimum be ROUNDUP(SQRT(RAM)) I.E. the square root of your RAM size rounded up to the next GB.  '''However, if you use hibernation''', you need a minimum of physical memory (RAM) size '''plus''' ROUNDUP(SQRT(RAM)). The maximum, is again twice the amount of RAM, again because of diminishing returns.</translate>
* <translate><!--T:21--> The only downside to having more swap space than you will actually use, is the disk space you will be reserving for it cannot be used for application or system data.</translate>
* <translate><!--T:21--> The only downside to having more swap space than you will actually use, is the disk space you will be reserving for it cannot be used for application or system data.</translate>


Moderators, translator
286

edits