[PLUG] regarging swap space

Devendra Laulkar devendralaulkar at gmail.com
Tue Feb 23 19:48:15 IST 2010


> On Tuesday 23 February 2010 14:03:18 Owais Lone wrote:
>> If you have more than 2 gigs of RAM, don't use swap. That's it.
>> If you have less than 1 GB, use 1-2GB of Swap.
>
> Actually a 512MB of swap is recommended no matter how much RAM you have. Linux
> just behaves better(I know its anecdotal/no hard facts) but linux loves to
> have some swap around.

Another advantage(or disadvantage) of having swap :- If you run out of
memory due to misbehaving application, the system starts thrashing. It
give you some indication about the problem. If you don't have have
swap, applications just quit without any warning, and you are at the
mercy of the OOM killer.

-Devendra.

-- 
May the Source be with you.




More information about the Plug-mail mailing list