Re: Proposed new sysctl MIB nodes

Marcel Moolenaar <[email protected]> Thu, 27 Feb 2003 11:31:15 -0800
Newsgroups gmane.os.bsd.api.general
Message-ID <[email protected]>
On Thu, Feb 27, 2003 at 10:55:02AM -0800, Jason R Thorpe wrote:
> On Thu, Feb 27, 2003 at 10:47:52AM -0800, Marcel Moolenaar wrote:
> 
>  > I subscribed late, so missed the discussion about this other than
>  > the snippet Warner forwarded to [email protected] It's not my
>  > intend to trigger a rerun of the discussion, but what I'm wondering
>  > about is what exactly the value is of knowing the amount of memory
>  > physically installed in the machine given the fact that there are
>  > process limits and the process is running in a multi-user, multi-
>  > process environment?
> 
> GCC's garbage-collecting memory allocator uses this information,
> along with rlimits (and sometimes raising rlimits) to tune itself.
> The aim is to avoid making the machine thrash.

I see. I haven't looked at the GC code, so I won't comment further.

Euh... carry on :-)

-- 
 Marcel Moolenaar	  USPA: A-39004		 [email protected]

---------------------------------------------------------------------
The BSD APIs Discussion Mailing List
To unsubscribe:
send "unsubscribe bsd-api-discuss" to majordomo-DZEk9q7Sfju/3pe1ocb+swC/[email protected]