> 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. _______________________________________ Pune GNU/Linux Users Group Mailing List
