]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: speed up pg creates a bit
authorSage Weil <sage@redhat.com>
Sat, 20 May 2017 21:54:09 +0000 (17:54 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:51 +0000 (13:02 -0400)
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 <sage@redhat.com>
src/common/config_opts.h

index d538460fb59a1eef9fbd941af60ff2770c1edf01..2e72ed3e84b701bed2abb7dcb4203ba8ba701034 100644 (file)
@@ -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