From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 15:52:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A21E106566B for ; Fri, 10 Apr 2009 15:52:08 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6388FC12 for ; Fri, 10 Apr 2009 15:52:07 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id n3AFpuQu000361; Fri, 10 Apr 2009 10:51:56 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Yt+-yo+4rmPO; Fri, 10 Apr 2009 10:51:50 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.2/8.14.2) with ESMTP id n3AFpbRH000356; Fri, 10 Apr 2009 10:51:38 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <49DF6B09.9010307@daleco.biz> Date: Fri, 10 Apr 2009 10:51:37 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: ipfreak@yahoo.com References: <493958.16188.qm@web52105.mail.re2.yahoo.com> In-Reply-To: <493958.16188.qm@web52105.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: loader.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 15:52:08 -0000 gahn wrote: > Hi all: > > I have a machine with 2GB memory. in the file loader.conf, there is a line: > > #hw.physmem="1G" # Limit physical memory. See loader(8) > > Could I remove the "#" and change that to "2G"? Yes, but, would it make a difference? > Interestingly, the sysctl indicates the parameter of "hw.physmem" is not changeable. It is changeable before the system boots (during the 'loader' stage), but not changeable later. The question is, what's it currently set to? The comment means that the line in question *isn't* a physical memory limit ... what's the current setting of hw.physmem, and why would you *want* to limit it? On my systems, both 7x and 6x, hw.physmem is something like 4G by default---despite the fact I've nothing like that amount of RAM onboard. > Any guru here give me some enlightenment? IANAE, but am willing to accept correction. Kevin Kinsey -- When a person goes on a diet, the first thing he loses is his temper.