diff options
author | Sage Weil <sage@inktank.com> | 2013-07-03 17:15:56 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-03 17:15:56 -0700 |
commit | db2bb270e93ed44f9252d65d1d4c9b36875d0ea5 (patch) | |
tree | ff8996bc49d4536bb028509950bd63593409f3da | |
parent | 123f676e3ae8154ca94cb076c4c4ec5389d2a643 (diff) | |
download | ceph-db2bb270e93ed44f9252d65d1d4c9b36875d0ea5.tar.gz |
mon: enable leveldb cache by default
256 is not as large as the upstream 512 MB, but will help signficiantly and
be less disruptive for existing cuttlefish clusters.
Sort-of backport of e93730b7ffa48b53c8da2f439a60cb6805facf5a.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/common/config_opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 2b369ecf9ee..b19d274eb2a 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -190,7 +190,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, 256*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 |