RE: why swap at all?

From: John Bradford
Date: Wed May 26 2004 - 11:54:17 EST


> A lot of people feel subjectively that swap makes a system slow. There's
> anecdotal evidence that swap does horrible things or "must be badly broken
> because the machine gets slow" on almost every operating system that
> supports swapping. In most cases, it's just a case where the real working
> set has exceeded physical memory, and in that case, swap is just doing what
> it's supposed to be doing.

It's true that physical RAM or swap, over and above the minimum needed for
the working set is usually beneficial. However where there is physical RAM
which will never be touched during normal usage, adding swap will not be
beneficial.

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/