On Wed, 27 Nov 2002 09:01:29 -0500, "Jesse Waters"
>I have heard that Solaris will allocate pages of memory to a process and
>does not release them - ever by default.
Then you heard wrong.
Quote:>And I've heard that there is a tuning "thing" for the OS that allows it to
>free up pages of memory that have not been accessed for X period of
>time and is configurable.
There are tuneable parameters for reclaiming memory. However they are
best left alone unless you really know what you're doing. And I would
hazard a guess that since you're asking you probably don't meet that
criteria :-)
But, if you still wish to proceed the following tuneables are
available:
- fastscan
- slowscan
- physmem
- lotsfree
- desfree
- minfree
- throttlefree
- handspreadpages
- max_page_get
- maxpgio
- tune_t_fsflushr
- autoup
If you're interested in learning more about these parameters refer to
the book: "Sun Performance and Tuning - Second Edition" by "Adrian
*croft and Richard Pettit" [ ISBN 0-13-095249-4 ]. It is an
excellent book that discusses memory tuning and much more.
Quote:>Can anyone verify and tell me what the name of the "thing" is?
Is this the result of seeing a small amount of free memory in the
vmstat output? Prior to Solaris 8 the vmstat output usually showed a
few megabytes of free memory. This was a result of Solaris caching
filesystem data. By default Solaris will cache filesystem data thus
giving the appearance that the system is low on memory. However if the
system needs memory for an application the cached filesystem data will
be released and allocated to application. In Solaris 8 I believe that
the way memory is reported was changed to reflect only the memory
allocated to processes. While the filesystem data is still cached its
usage is no longer is reported in the vmstat output.
Josh