Date: Wed, 29 Aug 2001 00:41:34 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: craig <craiglei@pasia.com.cn> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: the sum of n processes's virtual memory more than 4G? Message-ID: <3B8C9CAE.ADF82D1B@mindspring.com> References: <001501c13055$0ff2ac40$051a0a0a@fd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B8C9CAE.ADF82D1B>