From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 21:30:29 2004 Return-Path: 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 90B0A16A4CE for ; Tue, 2 Mar 2004 21:30:29 -0800 (PST) Received: from out010.verizon.net (out010pub.verizon.net [206.46.170.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4235643D2D for ; Tue, 2 Mar 2004 21:30:29 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([68.161.120.219]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040303053028.ZRYO26728.out010.verizon.net@mac.com>; Tue, 2 Mar 2004 23:30:28 -0600 Message-ID: <40456D67.3000404@mac.com> Date: Wed, 03 Mar 2004 00:30:15 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jamie References: <20040302220558.R72279@floyd.gnulife.org> In-Reply-To: <20040302220558.R72279@floyd.gnulife.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.161.120.219] at Tue, 2 Mar 2004 23:30:28 -0600 cc: freebsd-questions@freebsd.org Subject: Re: Swap space - max size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 05:30:29 -0000 Jamie wrote: > Is there any point in adding more than 2 Gb of swap space on an x86 if > you have 2 Gb of ram? Yes. > From what I've read, x86 can address 4 Gb of memory, > so it would seem that more than 4 Gigs of combined memory and swap space > would be wasted. Am I right? You would be right if all of the memory was only being used by one process. However, each process has it's own 4GB of virtual address space, although typically the top 1 GB is actually shared (ie, is used by the kernel), and other complications (like using SysV shared memory) can change this further. -- -Chuck