Date: Wed, 03 Mar 2004 00:30:15 -0500 From: Chuck Swiger <cswiger@mac.com> To: Jamie <jamie@gnulife.org> Cc: freebsd-questions@freebsd.org Subject: Re: Swap space - max size Message-ID: <40456D67.3000404@mac.com> In-Reply-To: <20040302220558.R72279@floyd.gnulife.org> References: <20040302220558.R72279@floyd.gnulife.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40456D67.3000404>