From: Sage Weil Date: Tue, 25 Jun 2013 22:22:05 +0000 (-0700) Subject: mon: enable leveldb cache by default X-Git-Tag: v0.67-rc1~175^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e93730b7ffa48b53c8da2f439a60cb6805facf5a;p=ceph.git mon: enable leveldb cache by default 512 MB sounds reasonable to me. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 1233322861a2..9eee57af9ebb 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -193,7 +193,7 @@ OPTION(mon_sync_leader_kill_at, OPT_INT, 0) // kill the sync leader at a specifc OPTION(mon_sync_provider_kill_at, OPT_INT, 0) // kill the sync provider at a specific point in the work flow OPTION(mon_sync_requester_kill_at, OPT_INT, 0) // kill the sync requester at a specific point in the work flow OPTION(mon_leveldb_write_buffer_size, OPT_U64, 32*1024*1024) // monitor's leveldb write buffer size -OPTION(mon_leveldb_cache_size, OPT_U64, 0) // monitor's leveldb cache size +OPTION(mon_leveldb_cache_size, OPT_U64, 512*1024*1024) // monitor's leveldb cache size OPTION(mon_leveldb_block_size, OPT_U64, 64*1024) // monitor's leveldb block size OPTION(mon_leveldb_bloom_size, OPT_INT, 0) // monitor's leveldb bloom bits per entry OPTION(mon_leveldb_max_open_files, OPT_INT, 0) // monitor's leveldb max open files