]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: increase default leveldb write buffer, cache size
authorSage Weil <sage@inktank.com>
Sun, 23 Feb 2014 18:05:39 +0000 (10:05 -0800)
committerSage Weil <sage@inktank.com>
Sun, 23 Feb 2014 18:05:39 +0000 (10:05 -0800)
commitbcc18d4877cc7ecf0476c1ddfa85aa36ece5697a
treeefe32e731f39c806ddd325b254807f64ebf58e73
parentc4a3a86a338d002cd0b3d9590002fa6e05e70bee
osd: increase default leveldb write buffer, cache size

The FileStore's leveldb currently uses libleveldb's defaults for cache and
write buffer size, which are both 4 MB. Increase the cache size to 128MB and
the write buffer to 8MB.

Tested-by: Dmitry Smirnov <onlyjob@member.fsf.org>
Signed-off-by: Sage Weil <sage@inktank.com>
PendingReleaseNotes
src/common/config_opts.h