From owner-freebsd-hackers Wed Aug 29 0:41: 7 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 4158D37B405 for ; Wed, 29 Aug 2001 00:41:04 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.247.139.113.Dial1.SanJose1.Level3.net [209.247.139.113]) by snipe.mail.pas.earthlink.net (8.11.5/8.9.3) with ESMTP id f7T7exf28298; Wed, 29 Aug 2001 00:41:00 -0700 (PDT) Message-ID: <3B8C9CAE.ADF82D1B@mindspring.com> Date: Wed, 29 Aug 2001 00:41:34 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: craig Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: the sum of n processes's virtual memory more than 4G? References: <001501c13055$0ff2ac40$051a0a0a@fd.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG craig wrote: > > I know every process in FreeBSD have 4G(3G user) space. But the > sum of n(n<4096?) processes seems to have n*4G virtual memory. > Is it possible? The physical max memory for i386 is 4G. Can I > just make a swap file more than 4G such like 6G, 8G or more? Yes. Each process runs in a completely seperate virtual address space. > I guess the sum of n processes's virtual memory can not be more > than 4G ,so the sum of physical memory and swap space cannot be > over 4G also.Can you confirm my view? A single process can not have more than 3G (default) of virtual memory, whether that memory is currently in swap, or has been moved to physical RAM, instead. > Another problem, is there any tool for instrumentation for > FreeBSD kernel? man systat man vmstat man top man netstat man sysctl -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message