From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 19:02:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8ECB616A402 for ; Mon, 12 Mar 2007 19:02:50 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.238]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC7813C46C for ; Mon, 12 Mar 2007 19:02:48 +0000 (UTC) (envelope-from dima.sorkin@gmail.com) Received: by wr-out-0506.google.com with SMTP id q50so1012916wrq for ; Mon, 12 Mar 2007 12:02:48 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DPaI1XNLl7jIgiN6Ac9YwFBUYCPztVAbXRO8hESClK9RmWgiP2u5MDvGmYSvdEBUeInkHLVYAGIclUTwOZz087Zu2ZhFMGxvg7oUERUjL/G3y+tpCtRm0cZhVcpaNX73kN++zhrFhcjOrnr0MOrdEOX1Iw6oZxNndTfhyYtAR3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jkRhukmvx381aTJ2FvV204VUDbIGKPo36osDTR37EU95HkHssgYf4wckaKcHq9wN3umF6fGBlhb5CBHytjBC2cGPRCOKvY0hcfofZnO0nlvLuJ8evHJHIio0adO6LxMQgmsBrjz+TUuNb22YMcT/sV0nS9eFrzdMwCncH02pY8Q= Received: by 10.114.148.1 with SMTP id v1mr2017246wad.1173726167870; Mon, 12 Mar 2007 12:02:47 -0700 (PDT) Received: by 10.114.190.15 with HTTP; Mon, 12 Mar 2007 12:02:47 -0700 (PDT) Message-ID: Date: Mon, 12 Mar 2007 21:02:47 +0200 From: "Dima Sorkin" To: "Chuck Swiger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6.0.0.22.2.20070309094909.024c9dd0@mail.computinginnovations.com> <6.0.0.22.2.20070309133935.024b8fd0@mail.computinginnovations.com> Cc: freebsd-questions@freebsd.org Subject: Re: limitiation on memory allocation 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: Mon, 12 Mar 2007 19:02:50 -0000 Hi. Something is probably wrong. kern.dfldsiz on my machine does not influence. I.e. after booting I run $ limits and it shows me the old 500M. Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I must check. I tried 3.9G :) Thanks, Dima. On 3/12/07, Chuck Swiger wrote: > It is certainly possible to configure FreeBSD to allow a single > process to access more memory than is phyiscally installed. For > example, I have a machine with 512MB of RAM, and set: > > kern.dfldsiz="1G" > > ...in /boot/loader.conf, and this works just fine. Admittedly, when > a process does exceed 512MB in dsize, the system starts swapping > quite a bit, but that's how virtual memory works. > > However, you cannot set maxdsiz greater than 4GB [1] if you are > running a 32-bit version of FreeBSD. Enabling PAE will let the > kernel access more than 4GB of physical RAM, but nothing is going to > let a 32-bit system give more than 4 GB [1] to a single process...if > you want to do that, then you'll need to switch to running a 64-bit > version of FreeBSD. > > -- > -Chuck > > [1]: Well, 3.5GB or 3GB, actually...due to the top portion of address > space being occupied by PCI device space and the kernel. >