Re: [zones-discuss] Rcapd threshold vs ZFS cache

2008-06-18 Thread Steffen Weiberle
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 i

Re: [zones-discuss] Rcapd threshold vs ZFS cache

2008-06-18 Thread Steve Lawrence
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 rca