[Gllug] Linux - big not small

John Winters john at sinodun.org.uk
Fri Aug 5 08:12:49 UTC 2005


On Fri, 2005-08-05 at 09:19 +0100, Richard Jones wrote:
> On Thu, Aug 04, 2005 at 07:28:26PM +0100, John Winters wrote:
> > Not quite true.  There were apparently assumptions in the swap code in
> > Linux about Swap = 2 * RAM which made themselves felt in early versions
> > of the 2.6 kernel.  If that rule wasn't followed it could lead to
> > catastrophic failure of the system.  The explanation which I saw from
> > one of the core developers (Linus himself?) was that the assumption had
> > always been there, but had only manifested itself as a problem in the
> > re-worked code in 2.6.  The advice then was to have either no swap or
> > swap = 2 * RAM.
> 
> Do you have a reference for this?

Not of the top of my head, no, but surely I'm not the only one who can
remember that far back?  It's possible I'm confusing the 2.4 and 2.6
kernels, but one of them definitely had major VM problems in the early
versions.

John

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list