]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
journal: reduce journal max queue size
authorSage Weil <sage@inktank.com>
Thu, 27 Dec 2012 19:11:08 +0000 (11:11 -0800)
committerSage Weil <sage@inktank.com>
Thu, 27 Dec 2012 19:11:08 +0000 (11:11 -0800)
Keep the journal queue size smaller than the filestore queue size.

Keeping this small also means that we can lower the latency for new
high priority ops that come into the op queue.

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

index a25c231a09775db637049f0f2cda7c7aa30814a8..9c62c1958b33a5fd504ab33eaafbfa593af79c1d 100644 (file)
@@ -425,8 +425,8 @@ OPTION(journal_aio, OPT_BOOL, false)
 OPTION(journal_block_align, OPT_BOOL, true)
 OPTION(journal_max_write_bytes, OPT_INT, 10 << 20)
 OPTION(journal_max_write_entries, OPT_INT, 100)
-OPTION(journal_queue_max_ops, OPT_INT, 500)
-OPTION(journal_queue_max_bytes, OPT_INT, 100 << 20)
+OPTION(journal_queue_max_ops, OPT_INT, 300)
+OPTION(journal_queue_max_bytes, OPT_INT, 32 << 20)
 OPTION(journal_align_min_size, OPT_INT, 64 << 10)  // align data payloads >= this.
 OPTION(journal_replay_from, OPT_INT, 0)
 OPTION(journal_zero_on_create, OPT_BOOL, false)