About the SWAP

Tzu-Hua Wang biogary at gmail.com
Fri May 18 00:46:19 UTC 2007


Hi,
I have 4G RAM totally.
The SWAP is now 4G now.
Is it ok?

Thanks


2007/5/18, Tim Aslat <tim at spyderweb.com.au>:
>
> In the immortal words of Tzu-Hua Wang  on 05/17/07 20:27:
> > Hi,
> > I added 2G RAM to my server. Is it necessary for me to alter the size of
> > SWAP?
> > My SWAP is 4G originally.
>
> Does this mean you now have 2G or you have 2G more ram?
>
> Typically, the rule of thumb is you need at least 1Mb more swap than you
> have actual ram. Something to do with system core-dumps, or some such.
> I forget exactly what the the reason was, but it's still a good idea to
> have more swap than physical memory, even if it's only a slightly larger.
>
> Maybe it was hibernation or something like that.  Must go back and read
> up on it again
>
> Cheers
>
> Tim
>
> --
> Tim Aslat <tim at spyderweb.com.au>
> Spyderweb Consulting
> http://www.spyderweb.com.au
> Mobile: +61 0401088479
>


More information about the freebsd-hardware mailing list