From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 15 18:51:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C83937B401 for ; Fri, 15 Aug 2003 18:51:02 -0700 (PDT) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6860043FDF for ; Fri, 15 Aug 2003 18:51:01 -0700 (PDT) (envelope-from ellard@eecs.harvard.edu) Received: by mail.eecs.harvard.edu (Postfix, from userid 465) id A49FA54C46B; Fri, 15 Aug 2003 21:51:00 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id A231A54C44D for ; Fri, 15 Aug 2003 21:51:00 -0400 (EDT) Date: Fri, 15 Aug 2003 21:51:00 -0400 (EDT) From: Daniel Ellard To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: specifying RAM size at boot? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 01:51:02 -0000 I am experimenting with the relationship between RAM size and various file system performance characteristics. I've got a machine with a large amount of RAM; what I want is to be able to tell FreeBSD to only use a fraction of it, so I can pretend the machine has various different amounts of RAM. The goal is to run my tests and have them run just as if the machine actually had that much RAM. Anyone know how to do this? I thought this was configurable by setting a variable in /boot/loader.conf and rebooting, but I haven't been able to find the right variable(s). (someone suggested MAXMEM, but this doesn' seem to do anything at all.) I'm using FreeBSD 4.8. Thanks, -Dan