]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
logger: don't calculate variance by default
authorSage Weil <sage.weil@dreamhost.com>
Sat, 5 Feb 2011 21:09:47 +0000 (13:09 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Sat, 5 Feb 2011 21:09:47 +0000 (13:09 -0800)
Less memory, less CPU.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/config.cc

index 10156a81f17e64e061b97d6ad78237414e007e80..3ed51587223aafb2fbd3f98026486c4497f67e19 100644 (file)
@@ -241,7 +241,7 @@ static struct config_option config_optionsp[] = {
         OPTION(profiler_highwater_interval, 0, OPT_INT, 104857600),
        OPTION(logger, 0, OPT_BOOL, false),
        OPTION(logger_interval, 0, OPT_INT, 1),
-       OPTION(logger_calc_variance, 0, OPT_BOOL, true),
+       OPTION(logger_calc_variance, 0, OPT_BOOL, false),
        OPTION(logger_subdir, 0, OPT_STR, 0),
        OPTION(logger_dir, 0, OPT_STR, "/var/log/ceph/stat"),
        OPTION(log_file, 0, OPT_STR, 0),