Performance enhancements
Marvin P. Dickens
mpdickens
Mon May 17 11:42:19 PDT 2004
> So, the question remains, how does *disabling* swap aid in system performance. Without swap, how does the kernel "make unused pages available for other work"?
It does not use swap pages unless they are needed. Swap pages are slower than ram.
> I'll agree with you here. So what you're *really* saying is that you should have as much RAM as necessary to render Swap unecessary. But, how does the act of *disabling swap* accomplish this?
The kernel does not use swap until all ram is exhausted. Ram is fast. Swap is slow. Swap is
supposed to be a backup for low memory. It's slow. But, what it has become is a cure all
of underprovisioned machines.
I'm going to lunch :) If there is any more discussion about this I'll reply when I get back.
Best
Peck
More information about the Linux-users
mailing list