Date: Wed, 18 Jan 2006 12:05:49 -0500 From: Chuck Swiger <cswiger@mac.com> To: Michael Barnett <mbarnett@measuremap.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel memory tunables Message-ID: <43CE756D.6030400@mac.com> In-Reply-To: <38B0D3AA-E02D-4B95-BF26-8ED49F371C00@measuremap.com> References: <38B0D3AA-E02D-4B95-BF26-8ED49F371C00@measuremap.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Barnett wrote: > I am trying to figure out which system tunables determine memory > resource usage by the amount of available physical memory in the box so > i can hard code sane values on a system with a lot of memory. If the machine is properly configured, getrlimit(RLIMIT_DATA, ...) is a reasonable starting place. The amount of memory available to an individual process may well be less than the total amount of RAM installed, especially on 32-bit machines using PAE to have more than 4GB of RAM. Otherwise, consider using the sysctl interface to look at hw.usermem... -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43CE756D.6030400>