Subject: Re: port-hp700/35237: Intensive compiles (e.g. kernels) result in resource limit
To: matthew green <mrg@eterna.com.au>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: netbsd-bugs
Date: 11/03/2007 09:06:06
On Friday 02 November 2007 22:01:25 matthew green wrote:
> > If it's OK with you I'm tempted to close this PR with the attached
> > diff - I
> > think 64Mb is a good default for now. I think other problems have
> > been fixed
> > along the way.
> >
> >
> >64MB seems pretty small. what's the max ram these machines have?
> >sparc of similar age has 512MB, and the default mips is 512MB too.
> >
> >
> >.mrg.
>
> My B180L has 512MB of RAM installed, its maximum is apparently 1.5GB.
> (My reference is here: http://www.openpa.net/systems/index.html .)
> (Given the models currently supported by NetBSD, it looks like my
> machine is at the more generous end of the representative sample.)
>
>
> given this, i'd recommend at least 512MB for MAXDSIZ default, unless
> this causes actual pmap issues etc...
I'm not suggesting changing the MAXDSIZ which is actually 768MB.
I'm suggesting changing the initial data size limit to 64Mb which seems
a good compromise at this point with the machines supported.
For references here's what others do:
sys/arch/acorn26/include/vmparam.h:#define DFLDSIZ (0x01800000)
sys/arch/alpha/include/vmparam.h:#define DFLDSIZ (1<<28)
sys/arch/amd64/include/vmparam.h:#define DFLDSIZ (256*1024*1024)
sys/arch/amd64/include/vmparam.h:#define DFLDSIZ32 (256*1024*1024)
sys/arch/amiga/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/atari/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/cesfic/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/hp300/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/hppa/include/vmparam.h:#define DFLDSIZ (64*1024*1024)
sys/arch/i386/include/vmparam.h:#define DFLDSIZ (256*1024*1024)
sys/arch/ia64/include/vmparam.h:#define DFLDSIZ (1<<27)
sys/arch/luna68k/include/vmparam.h:#define DFLDSIZ (16*1024*1024)
sys/arch/mac68k/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/mips/include/vmparam.h:#define DFLDSIZ (128*1024*1024)
sys/arch/mvme68k/include/vmparam.h:#define DFLDSIZ (32*1024*1024)
sys/arch/news68k/include/vmparam.h:#define DFLDSIZ (16*1024*1024)
sys/arch/next68k/include/vmparam.h:#define DFLDSIZ (16*1024*1024)
sys/arch/pc532/include/vmparam.h:#define DFLDSIZ (24*1024*1024)
sys/arch/sh3/include/vmparam.h:#define DFLDSIZ (128 * 1024 * 1024)
sys/arch/sparc/include/vmparam.h:#define DFLDSIZ (64*1024*1024)
sys/arch/sparc64/include/vmparam.h:#define DFLDSIZ (128L*1024*1024)
sys/arch/sparc64/include/vmparam.h:#define DFLDSIZ (128*1024*1024)
sys/arch/sparc64/include/vmparam.h:#define DFLDSIZ32 (128*1024*1024)
sys/arch/sun2/include/vmparam.h:#define DFLDSIZ (4*1024*1024)
sys/arch/vax/include/vmparam.h:#define DFLDSIZ (128*1024*1024)
sys/arch/x68k/include/vmparam.h:#define DFLDSIZ (16*1024*1024)
Nick