From owner-freebsd-questions Sun Feb 23 11:41:50 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F003637B401 for ; Sun, 23 Feb 2003 11:41:48 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D512A43FBD for ; Sun, 23 Feb 2003 11:41:45 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.7/8.12.6) with ESMTP id h1NJfi4l012057 for ; Sun, 23 Feb 2003 14:41:44 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.7/8.12.6/Submit) id h1NJfhsZ012054; Sun, 23 Feb 2003 14:41:43 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: datasize higher than 512Mo or 2 Gb ? References: <20030221110301.GA10096@trefle.ens.fr> From: Lowell Gilbert Date: 23 Feb 2003 14:41:42 -0500 In-Reply-To: <20030221110301.GA10096@trefle.ens.fr> Message-ID: <44bs123hu1.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jacques Beigbeder writes: > Someone said on Jan 16th: > Adding kern.maxdsiz="2147483647" to /boot/loader.conf ... > > This means that now kern.maxdsiz is 2 Gb. > > Does FreeBSD 5.0 supports higher values? I now have a PC > with 4 Gb of memory... and I want to use all that > memory for a single process. > > Or is there some patch to raise this 2Gb limit? You'll probably need to adjust the KVA_PAGES (which, if I recall correctly, splits the space evenly between kernel and user space), but there's no way you can get all the way to 4GB, because the kernel needs *some* of it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message