From f0241c8ac802ab99100f609f8cf592f30523419b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 28 Feb 2014 08:06:03 -0800 Subject: [PATCH] mon/OSDMonitor: make default false-positive-probability 5% This is a more conservative default (as in, less memory consumed) for newly created cache pools. Signed-off-by: Sage Weil --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 7febc5b7203c4..c5b2e325ef3b9 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3213,7 +3213,7 @@ int OSDMonitor::prepare_command_pool_set(map &cmdmap, p.hit_set_params = HitSet::Params(); else if (val == "bloom") { BloomHitSet::Params *bsp = new BloomHitSet::Params; - bsp->set_fpp(.01); + bsp->set_fpp(.05); p.hit_set_params = HitSet::Params(bsp); } else if (val == "explicit_hash") p.hit_set_params = HitSet::Params(new ExplicitHashHitSet::Params);