On Thu, Dec 3, 2009 at 8:26 PM, Warren Boyd
<wazza@clear.net.nz> wrote:
On 3/Dec/2009, at 20:10 , Gible Fog wrote:
My System have 16 GB Physical RAM. Now could you please advise how
much swap space do i need.
16GB? almost certainly none at all.
If you using suspend to disk mode, I was on the understanding that the swap space would be used to store a copy of the RAM for when the machine was powered down.
This could be true, but begs the question: what happens when you're using the whole swap capacity and power down(sleep/standby/other foreign labels)?
That was part of the reasoning behind allocating 1.5 time to 2 times the amount of physical RAM. (From memory in other *nix systems SWAP space was also used as a place to dump the contents of memory for analysis before restarting)
Of course - this still doesn't answer the question about what happens when you use all of it - which will only occur if you perform suspend to disk - sleep / standby keeps power supplied to the memory with the contents kept in RAM - if you are running a system with suspend to disk and using all the RAM and all the swap capacity, the operating system should warn / disallow the feature.
Having said that, I suspect that a machine that is using all the RAM and all the swap is going to have performance issues...