From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 16:04:09 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 6B86B1065674 for ; Fri, 10 Apr 2009 16:04:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E56F58FC28 for ; Fri, 10 Apr 2009 16:04:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n3AG43ww005899; Fri, 10 Apr 2009 17:04:03 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n3AG43ww005899 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1239379443; bh=UP4OYAdivLB2CUzaIRn5ffDKc1OKBaJGU8l+fSTCm3A=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<49DF6DEC.7010706@infracaninophile.co.uk>|Date:=20F ri,=2010=20Apr=202009=2017:03:56=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090407)|MIME-Vers ion:=201.0|To:=20ipfreak@yahoo.com|CC:=20freebsd=20general=20quest ions=20|Subject:=20Re:=20loader.con f|References:=20<493958.16188.qm@web52105.mail.re2.yahoo.com>|In-R eply-To:=20<493958.16188.qm@web52105.mail.re2.yahoo.com>|X-Enigmai l-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3 Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0 D=0A=20boundary=3D"------------enig66962C36A63CBDF8D19A8564"; b=2NNc0nXrn+cUZ0Ej/k9iSU202nBeTNMg4Nj5AeotKW6PDEs4QKIPxKZiC4pjTZm2l ToHl02ZxdKZWcqCNePBNghN1rQhT3fOF8n/0SSi0Vi6ILbvZ8/2M4dDCBXwENibWHf DBHTEFYU7YnNpBfdzbJlCfXjgYLPGd8+sZcywsJU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <49DF6DEC.7010706@infracaninophile.co.uk> Date: Fri, 10 Apr 2009 17:03:56 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090407) 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> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig66962C36A63CBDF8D19A8564" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk 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 16:04:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig66962C36A63CBDF8D19A8564 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable gahn wrote: > Hi all: >=20 > I have a machine with 2GB memory. in the file loader.conf, there is a l= ine: >=20 > #hw.physmem=3D"1G" # Limit physical memory. See loader(8= ) >=20 > Could I remove the "#" and change that to "2G"? >=20 > Interestingly, the sysctl indicates the parameter of "hw.physmem" is no= t changeable. >=20 > Any guru here give me some enlightenment? hw.physmem is a loader tunable: ie. you can only set it from the boot loader before the kernel is fully operational. Once the kernel is runnin= g it can't be altered. hw.physmem is designed to let you test running a kernel with less RAM than is physically installed in a machine. Not having to pop the case and physically pull memory sticks out can be pretty useful. It's not of general interest -- only for kernel and various other software developers= in the main -- as the usual thing is to make use of all the RAM you have available or (in the case of 32bit machines) that the system is capable o= f addressing.=20 If hw.physmem is unset in loader.conf the kernel will automatically use a= ll the memory available to it: this is the correct and desirable behaviour f= or the vast majority of systems. For a 2GB machine, that means the system w= ill use all the RAM that's installed. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig66962C36A63CBDF8D19A8564 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAknfbfMACgkQ8Mjk52CukIy2WgCdGL2DQfWPCUp8e33Q5solxELS luAAn1MMAOCl6D9Tqvq/Gswqt43jAtGv =XrEX -----END PGP SIGNATURE----- --------------enig66962C36A63CBDF8D19A8564--