hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zach York <zyork.contribut...@gmail.com>
Subject BucketCache DEFAULT_MIN_FACTOR
Date Thu, 27 Jul 2017 17:20:14 GMT

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

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!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message