From owner-freebsd-questions Fri Nov 27 03:36:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA10327 for freebsd-questions-outgoing; Fri, 27 Nov 1998 03:36:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from root.com (root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA10321 for ; Fri, 27 Nov 1998 03:36:14 -0800 (PST) (envelope-from root@root.com) Received: from root.com (localhost [127.0.0.1]) by root.com (8.8.8/8.8.5) with ESMTP id DAA00442; Fri, 27 Nov 1998 03:37:06 -0800 (PST) Message-Id: <199811271137.DAA00442@root.com> To: Charles Henrich cc: Mats Dufberg , freebsd-questions@FreeBSD.ORG Subject: Re: 1GB Memory? In-reply-to: Your message of "Fri, 27 Nov 1998 03:26:14 PST." <19981127032614.48228@orbit.flnet.com> From: David Greenman Reply-To: dg@root.com Date: Fri, 27 Nov 1998 03:37:06 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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