FYI,  Bucket Cache can be configured in on heap mode also..  Though am
not sure some one will use it really.  I believe we can remove that.


-Anoop-

On Thu, Jul 27, 2017 at 11:14 PM, Zach York
<[email protected]> wrote:
> Hello,
>
> I have been looking through the code for BucketCache and I found that when
> calculating the partition size for single, multi, and memory segments, it
> is only utilizing 85% of the cache. This is due to the DEFAULT_MIN_FACTOR
> (0.85).
>
> Why is this necessary? Since the bucketcache is either off-heap or in a
> file, there will be no problems with GC. Is this only to prevent from
> blocking on writes (while an eviction is going on)?
>
> Thanks for any info you can provide!
> Zach

Reply via email to