From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 01:47:10 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 E69E41065670 for ; Fri, 20 Feb 2009 01:47:10 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from rv-out-0304.google.com (rv-out-0304.google.com [209.85.198.222]) by mx1.freebsd.org (Postfix) with ESMTP id C49218FC18 for ; Fri, 20 Feb 2009 01:47:10 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by rv-out-0304.google.com with SMTP id c6so306704rvf.31 for ; Thu, 19 Feb 2009 17:47:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: Received: by 10.115.90.11 with SMTP id s11mr27360wal.20.1235094430497; Thu, 19 Feb 2009 17:47:10 -0800 (PST) Message-ID: <0016e64f6820cb417c04634fd47c@google.com> Date: Fri, 20 Feb 2009 01:47:10 +0000 From: af300wsm@gmail.com To: Ivan Voras , Free BSD Questions list Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Re: memory limitations per process 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, 20 Feb 2009 01:47:11 -0000 On Feb 19, 2009 4:21pm, Ivan Voras wrote: > Your question is vague. Sorry, it was not intentional. I wasn't too sure how to ask the question. > A 32-bit process can only access 4 GB of memory, but all processes also > have a bit of memory "reserved" for the kernel. On FreeBSD the > accessible memory for processes is closer to 3 GB than 2 or 4. See this > discussion for details: http://wiki.freebsd.org/KVA_PAGES > Also, FreeBSD processes have administrative limits to their size set by > defaults. See for example this: > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-11/msg01363.html > . If you want to use the whole 3 GB for a process, you'll have to > increase maxdsiz. Note that you may need to experiment with this size > since your BIOS will probably not let you use 4 GB of physical memory > for the OS except if you enable PAE, and it's possible to create an > unbootable system by messing with kernel memory limits. You should > probably experiment on the loader command line first, not in the > loader.conf file. Thank you. This is exactly what I was hoping to learn. Thanks also for the links for further reading. Andy