From owner-freebsd-questions Fri Oct 6 03:23:30 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA21441 for questions-outgoing; Fri, 6 Oct 1995 03:23:30 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA21432 for ; Fri, 6 Oct 1995 03:23:26 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id DAA07412; Fri, 6 Oct 1995 03:21:24 -0700 From: Julian Elischer Message-Id: <199510061021.DAA07412@ref.tfs.com> Subject: Re: kernel options for > 64mby To: davidg@Root.COM Date: Fri, 6 Oct 1995 03:21:23 -0700 (PDT) Cc: elh_fbsd@spnet.com, questions@freebsd.org, elh@spnet.com In-Reply-To: <199510060950.CAA00309@corbin.Root.COM> from "David Greenman" at Oct 6, 95 02:50:45 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 903 Sender: owner-questions@freebsd.org Precedence: bulk > > > i hate to ask a question that has been asked and > > answered a few times before, but... > > > > what kernel options/files require modification for > > a machine with > 64mby? > > add this to your kerel config file: > > options "MAXMEM=131072" > > > ...where "131072" is the size of memory in Kbytes - in the above example, this > would be 128MB (128*1024). Someday I'll try to make this a bit more automatic. > Under OSF I made it go hunting if it thought that there might be more.. basically, if the BIOS says 64MB (well I use >=63MB as I don't trust Bios's) I do memory tests upwards till I start getting failures.. The trick is to do this BEFORE YOU SWITCH ON PAGING so that you don't get pagefaults.. I could send you the code but it PROBABLY doesn't apply directly, and you'd probably do better implimenting it yourself once you've heard the idea of how I did it.. > -DG >