diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 32f9dfe..62b6fb9 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -3254,12 +3254,11 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl { } } - // Run gc at least 150% the rate we're inserting entries + // Run gc at least 200% the rate we're inserting entries keyUpdates += - (std::max( - tls.accum.entries_inserted - tls.accum.entries_erased, 0) * - 3) >> - 1; + std::max(tls.accum.entries_inserted - tls.accum.entries_erased, + 0) * + 2; memory_bytes.set(totalBytes); point_writes_total.add(tls.accum.point_writes);