From 1a9415a0159976e6b9485894caf0e5953e1a1b15 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 11 Jun 2013 16:30:41 -0700 Subject: [PATCH] mon: adjust trim defaults User testing has shown that smaller values yield better results; see #4917. Jim's testing has had good results with even more aggressive trimming, but I would like to do more validation yet before changing defaults. Signed-off-by: Sage Weil --- src/common/config_opts.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 93f676b35d707..5827cd73e0fbc 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -203,11 +203,11 @@ OPTION(paxos_stash_full_interval, OPT_INT, 25) // how often (in commits) to st OPTION(paxos_max_join_drift, OPT_INT, 10) // max paxos iterations before we must first sync the monitor stores OPTION(paxos_propose_interval, OPT_DOUBLE, 1.0) // gather updates for this long before proposing a map update OPTION(paxos_min_wait, OPT_DOUBLE, 0.05) // min time to gather updates for after period of inactivity -OPTION(paxos_trim_min, OPT_INT, 500) // number of extra proposals tolerated before trimming -OPTION(paxos_trim_max, OPT_INT, 1000) // max number of extra proposals to trim at a time +OPTION(paxos_trim_min, OPT_INT, 250) // number of extra proposals tolerated before trimming +OPTION(paxos_trim_max, OPT_INT, 500) // max number of extra proposals to trim at a time OPTION(paxos_trim_disabled_max_versions, OPT_INT, 100) // maximum amount of versions we shall allow passing by without trimming -OPTION(paxos_service_trim_min, OPT_INT, 500) // minimum amount of versions to trigger a trim (0 disables it) -OPTION(paxos_service_trim_max, OPT_INT, 1000) // maximum amount of versions to trim during a single proposal (0 disables it) +OPTION(paxos_service_trim_min, OPT_INT, 250) // minimum amount of versions to trigger a trim (0 disables it) +OPTION(paxos_service_trim_max, OPT_INT, 500) // maximum amount of versions to trim during a single proposal (0 disables it) OPTION(clock_offset, OPT_DOUBLE, 0) // how much to offset the system clock in Clock.cc OPTION(auth_cluster_required, OPT_STR, "cephx") // required of mon, mds, osd daemons OPTION(auth_service_required, OPT_STR, "cephx") // required by daemons of clients -- 2.39.5