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