[Gllug] Linux - big not small

John Southern john at sinoda.demon.co.uk
Fri Aug 5 08:43:11 UTC 2005


On Friday 05 August 2005 09:19, 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?

Eventually, I found a reference to John's comments in Kernel Traffic
http://www.kerneltraffic.org/kernel-traffic/kt20010126_104.html#2 Requirements
http://www.kerneltraffic.org/kernel-traffic/kt20010316_111.html#5 Limits
http://www.kerneltraffic.org/kernel-traffic/kt20010330_113.html#6 Amount
http://www.kerneltraffic.org/kernel-traffic/kt20021111_191.html#7 HowTo
http://www.kerneltraffic.org/kernel-traffic/kt20030616_219.html#15 Limits

The third one has the Linus quote.

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




More information about the GLLUG mailing list