From owner-freebsd-hackers Wed Mar 17 8:43:17 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (Postfix) with ESMTP id 88D3815116 for ; Wed, 17 Mar 1999 08:43:14 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA04218; Wed, 17 Mar 1999 09:41:23 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA10150; Wed, 17 Mar 1999 09:41:09 -0700 Date: Wed, 17 Mar 1999 09:41:09 -0700 Message-Id: <199903171641.JAA10150@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Jordan K. Hubbard" Cc: "Mark J. Taylor" , Sheldon Hearn , hackers@FreeBSD.ORG Subject: Re: Proposal: Define MAXMEM in GENERIC In-Reply-To: <12196.921649234@zippy.cdrom.com> References: <12196.921649234@zippy.cdrom.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > For our NetMAX product (shameless plug: http://www.netmax.com/), > > which is 2.2.7+ based (we're working on a 3.1 version), we've > > added two additional boot options: > > 1) -M always perform speculative memory probe > > 2) -m never perform speculative memory probe > > Now there's an idea, though I'd go a little further: Why not add a new > variable to the 3-stage loader so you could simply say: > > boot> set maxmem=64M > boot> load /kernel > boot> boot > (etc) > > To set the memory size to some exact value (which you might know > better than the probe). This strikes me as far more general and easy > to understand as well. I would think a Forth hacker could do this, given that the flags to the npx device can be used to specify the amount of memory in the system. (Although, I could find it documented anywhere obvious when I went looking for it in the man pages.) /sys/i386/isa/npx.c: revision 1.32 date: 1996/11/11 20:39:03; author: bde; state: Exp; lines: +47 -13 ... Added a boot-time way to set the memory size (iosiz in config, iosize in userconfig for npx0). ... Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message