[PLUG] regarging swap space
Owais Lone
loneowais at gmail.com
Tue Feb 23 14:03:18 IST 2010
ULTIMATE RULE:
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.
+
Ubuntu has issues with Hibernation on a SwapLess system (st least I've
witnessed this). So keepin mind.
On Tue, Feb 23, 2010 at 11:25 AM, Pranav Peshwe <pranavpeshwe at gmail.com>wrote:
> On Tue, Feb 23, 2010 at 10:35 AM, vinayak kulkarni <
> kulkarnivd2007 at yahoo.co.in> wrote:
>
> > hi all,
> >
> > it is said that 'swap space' should be double of physical memory(by
> > respected authors)
> > if it is not so, does it affect the performance of OS
> >
>
> Hi Vinayak,
> Although this is the prevalent opinion, IMO you need not have swap double
> the RAM if you have something like 2+GB RAM. I doubt whether all that swap
> will really be used for an average user (running openoffice, watching
> movies, playing music, browsing web, email software).
>
> (ignore if you already know) Swap is intended only as a fall back during
> exceptional situations when the system runs low on RAM. If you plan to use
> applications which regularly will need more memory than the amount of RAM
> you have (like heavy video processing or running virtual machines) only
> then
> will your swap be put to use. However, using swap heavily will slow down
> the system. In such cases it would be recommended to add more RAM.
> Most of the times swap is not used at all.
>
> Thus, linux will not run slower merely because you have swap less than
> double the RAM.
>
> AFAIK, the 'swap should be double the RAM' aphorism comes from the days
> when
> RAM sizes were much less 1 GB.
> Of course, if you have a important server, it does not hurt to spare 7-8
> GBs
> for a large swap. Doesn't hurt on a workstation with hundreds of GB
> diskspace as well, but one always tries to optimize... :)
>
> HTH.
>
> - P
>
>
> >
> > thanks
> > Vinayak D Kulkarni
> > Navi Mumbai
> > (Pune)
> >
> >
> > Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!
> > http://downloads.yahoo.com/in/internetexplorer/
> > _______________________________________
> > Pune GNU/Linux Users Group Mailing List
> >
> _______________________________________
> Pune GNU/Linux Users Group Mailing List
>
--
Owais Lone
hello at owaislone.org
http://www.owaislone.org
More information about the Plug-mail
mailing list