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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to