As per the above configs, it looks like Bucket Cache is not being used. Only on heap LRU cache in use. @Jan - Is it possible for you to test with off heap Bucket Cache? Config bucket cache off heap mode with size ~7.5 GB Do you have any DataBlockEncoding enabled on the CF?
Anoop On Fri, Jun 5, 2020 at 8:32 PM 张铎(Duo Zhang) <[email protected]> wrote: > IIRC on branch-2.x, there are some changes on the bucket cache > implementation? Off-heap by default? Not sure if this is the problem. > > > Jan Van Besien <[email protected]> 于2020年6月5日周五 下午9:17写道: > > > On Fri, Jun 5, 2020 at 2:54 PM 张铎(Duo Zhang) <[email protected]> > > wrote: > > > So the result is for all data in block cache? What is the block cache > > > settings for these two clusters? > > > > yes. > > > > Configuration: > > - hfile.block.cache.size = 0.4 > > - heap size 18.63 GiB (don't ask me why it was not 20 ;-)) > > > > some relevant statistics from one of the region servers: > > - Cache Size Limit 7.5 GB > > - Size of Blocks 1.6 GB > > > > When doing one of the scan tests, the hits increase, the misses stay > > stable, and consequently the hit ratio increases as well. So > > essentially it is a 100% hit ratio for the scope of the tests. > > > > Jan - NGDATA > > >
