From: Sage Weil Date: Thu, 14 Aug 2014 21:39:29 +0000 (-0700) Subject: mds: change mds_max_file_recover from 5 -> 32 X-Git-Tag: v0.86~170^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f4ea81cfc3ded7de254f03a7f6817de582cf4f9;p=ceph.git mds: change mds_max_file_recover from 5 -> 32 These are reasonably cheap operations (stat) and we should be too worried about queueing up a bunch of them. Ideally this sort of thing would magically tune to the throughput we can get from the cluster, but until then, let's choose a default that works for more users. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index e09ce3b800e5..a12a3488f80b 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -299,7 +299,7 @@ OPTION(mds_data, OPT_STR, "/var/lib/ceph/mds/$cluster-$id") OPTION(mds_max_file_size, OPT_U64, 1ULL << 40) OPTION(mds_cache_size, OPT_INT, 100000) OPTION(mds_cache_mid, OPT_FLOAT, .7) -OPTION(mds_max_file_recover, OPT_INT, 5) +OPTION(mds_max_file_recover, OPT_U32, 32) OPTION(mds_mem_max, OPT_INT, 1048576) // KB OPTION(mds_dir_max_commit_size, OPT_INT, 10) // MB OPTION(mds_decay_halflife, OPT_FLOAT, 5)