Messages in this thread | | | Date | Tue, 1 Jun 2004 09:50:08 +0100 | From | John Bradford <> | Subject | Re: why swap at all? |
| |
Quote from William Lee Irwin III <wli@holomorphy.com>: > On Tue, Jun 01, 2004 at 09:34:01AM +0100, John Bradford wrote: > > 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 > > So you can move userspace pages out of ZONE_DMA as-needed.
But how does that improve performance before untouched RAM, (496788 in this example), is exhausted?
In normal use, (almost always CPU bound), I've honestly never noticed any performance gain from having swap configured. I must admit I haven't put a lot of effort recently in to looking at this, but I have never been able to reproduce these 'swap increases performance even with untouched RAM' claims.
John. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |