Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 1998 03:37:06 -0800
From:      David Greenman <dg@root.com>
To:        Charles Henrich <henrich@crh.cl.msu.edu>
Cc:        Mats Dufberg <dufberg@sunet.se>, freebsd-questions@FreeBSD.ORG
Subject:   Re: 1GB Memory? 
Message-ID:  <199811271137.DAA00442@root.com>
In-Reply-To: Your message of "Fri, 27 Nov 1998 03:26:14 PST." <19981127032614.48228@orbit.flnet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>On the subject of Re: 1GB Memory?, David Greenman stated:
>
>> >D'oh!  I knew those were there... I've been ignoring them out of habit
>> >since FreeBSD 3.0 now correctly probes memory size...  Apparently the
>> >default probe doesnt set the max datasize to the max value however.  Thanks
>> >for pointing this out -- I think its time for bed now :)
>> 
>>    Uh, the maximum datasize is a per-process limit on virtual memory and has
>>    nothing to do with the amount of physical memory in the machine.
>
>Good point, again I really ought to sleep.  Technically wouldnt it be accurate
>to say that the maxdsize should be the amount of physical memory plus the
>amount of swap available?

   No, not really. The kernel uses maxdsize (and other "max" values) to
figure out how to layout a process's virtual memory. It necessarily needs
to be a compile time constant.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811271137.DAA00442>