Re: why swap at all?

From: John Bradford
Date: Tue Jun 01 2004 - 03:28:00 EST


> > However, if 57 Mb of swap allows this, 57 Mb of extra physical RAM should also
> > also allow the grep to be cached, without having to swap out anything.
> >
>
> Well yes, but if I had another 57MB of physical memory then I would
> still turn on swap so that other 57MB of unused memory isn't wasted.

Sure, but tell me, for example, what is the point of having swap on a system
like this:

$ free
total used free shared buffers cached
Mem: 516688 19900 496788 0 628 11276
-/+ buffers/cache: 7996 508692
Swap: 0 0 0

John.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/