hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop John <anoop.hb...@gmail.com>
Subject Re: BucketCache DEFAULT_MIN_FACTOR
Date Fri, 28 Jul 2017 04:40:13 GMT
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
<zyork.contribution@gmail.com> 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

Mime
View raw message