From: Sage Weil Date: Sat, 20 May 2017 21:54:09 +0000 (-0400) Subject: mon: speed up pg creates a bit X-Git-Tag: ses5-milestone6~8^2~19^2~37 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b4e17fbfe5116077b30f29a891711ffc969df407;p=ceph.git mon: speed up pg creates a bit I don't see any noticeable load on bigbang cluster, so let's bump this up a bit. Not being super aggressive here, though, since pool creation is so rare and who really cares if ginormous clusters take a few minutes to create all the PGs; better to make sure the mon is happy and responsive during setup. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index d538460fb59a1..2e72ed3e84b70 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -271,7 +271,7 @@ OPTION(mon_osd_cache_size, OPT_INT, 10) // the size of osdmaps cache, not to re OPTION(mon_cpu_threads, OPT_INT, 4) OPTION(mon_osd_mapping_pgs_per_chunk, OPT_INT, 4096) -OPTION(mon_osd_max_creating_pgs, OPT_INT, 512) +OPTION(mon_osd_max_creating_pgs, OPT_INT, 1024) OPTION(mon_tick_interval, OPT_INT, 5) OPTION(mon_session_timeout, OPT_INT, 300) // must send keepalive or subscribe OPTION(mon_subscribe_interval, OPT_DOUBLE, 24*3600) // for legacy clients only