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.

-Steve L.

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.
> 
> Regards,
> Brian
> 
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to