lkml.org 
[lkml]   [2004]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.265 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site