On Fri, 17 Aug 2001 [EMAIL PROTECTED] wrote:

> This has me curious.  If I don't need much swap, should I not make much swap? 
> Or is there no upper limit?  If it's the more the marrier, why not always just
> make, say, 500MB?

The point of swap space is to allow you to have more programs `running'
than you can actually fit in your physical memory. If you have swap, when
you exaust all of your physical memory the OS can "swap to disk" those
bits of memory that are not actually being accesses. In this way the fact
that they are not in physical memory and are on slow disk doesn't matter
because that bit of memory is not being accessed. When it does need to be
accessed it gets swapped back in and seomething else is swapped
out.

Determining th right amount of swap space is really black
magic. It should be the case that swap + phyical + (some margin of a few
%) = the total amount of memory used by all applications you might wish to
have running at the one time. If you've already got a linux box then just
try opening up everything you might ever want opened at once, check the
momory consumption, add a few % to this number, and that should be about
your total swap + physical memory number.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to