ZFS cache memory is not considered free. rcapd uses the
sysconf(_SC_AVPHYS_PAGES) interface to get the amount of free memory.
One possibility could be to alter sysconf to report some about of the
zfs cache as free.
On Wed, Jun 18, 2008 at 01:18:07PM -0500, Brian Smith wrote:
> When rcapd is calculating how much memory is free, to compare to the memory
> cap enforcement threshold, does it consider the memory used by the ZFS cache
> to be free or used? If I set "rcapadm -c 90" then will rcapd behave any
> differently than with "rcapadm -c 0" if there is a ZFS cache? I have read
> that the ZFS cache will use all free physical RAM.
> zones-discuss mailing list
zones-discuss mailing list