You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MB-40531: [BP] Make replica eviction ignore age threshold
Backport of http://review.couchbase.org/c/kv_engine/+/134805
Normally items above a configured MFU value
item_eviction_freq_counter_age_threshold
and below a configured age item_eviction_age_percentage are not
evicted.
This avoids evicting "young" items; their MFU counter might not
reflect how hot they are yet as they were only recently stored.
However, when evicting from replica vbuckets, this may not be as
beneficial. As active resident ratio has a direct impact on cache miss
rate and average latency, it may be better to evict even young replica
items to reclaim memory where possible, before considering active vbs.
Change-Id: Ic066f2231fad551ef2d04ee93126ac47181e6a15
Reviewed-on: http://review.couchbase.org/c/kv_engine/+/142503
Well-Formed: Build Bot <[email protected]>
Tested-by: Paolo Cocchi <[email protected]>
Reviewed-by: Trond Norbye <[email protected]>
0 commit comments