Subject: Re: -pipe significantly boosts up kernel compile speed
To: None <current-users@netbsd.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: current-users
Date: 07/05/2002 11:59:42
On Fri, 5 Jul 2002, Klaus Heinz wrote:

> Wouldn't it be useful to have an option in the bootloader to restrict the
> memory available to the kernel, for testing purposes?
> E.g.  'boot -M4096' for a kernel with 4MB RAM.
>
> The Amiga bootloader has something along those lines (-n), but one can only
> choose the _number_ of (non-continous) memory segments the kernel should use
> and not the size of memory.

  The amiga bootload does have exactly that:  -m4096 limits the first
fastmem segment to 4096K.  [I added that a long time ago for the express
purpose to test the machine operation under low memory conditions.]

--
Michael L. Hitch			mhitch@montana.edu
Computer Consultant
Information Technology Center
Montana State University	Bozeman, MT	USA