]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: enable leveldb cache by default
authorSage Weil <sage@inktank.com>
Tue, 25 Jun 2013 22:22:05 +0000 (15:22 -0700)
committerSage Weil <sage@inktank.com>
Wed, 26 Jun 2013 04:25:04 +0000 (21:25 -0700)
512 MB sounds reasonable to me.

Signed-off-by: Sage Weil <sage@inktank.com>
src/common/config_opts.h

index 1233322861a22558201089724578713d9f92f453..9eee57af9ebbe2c7779cfc36e88639d493a28320 100644 (file)
@@ -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