]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
config: increase default async op threads 7802/head
authorPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 25 Feb 2016 14:12:52 +0000 (15:12 +0100)
committerPiotr Dałek <piotr.dalek@ts.fujitsu.com>
Thu, 25 Feb 2016 14:12:52 +0000 (15:12 +0100)
Default value of two async threads is enough for light workloads,
but is insufficient for heavy ones, reducing maximum throughput on
slower CPUs that have plenty of logical cores. Three async threads
give noticeable perf jump without any noticeable downsides.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
src/common/config_opts.h

index 3190d19eaf7f8311ea20cb525478130abed31e0f..6bd67bf056218caae611ff4a9e1e3bd269ea2221 100644 (file)
@@ -195,7 +195,7 @@ OPTION(ms_inject_delay_probability, OPT_DOUBLE, 0) // range [0, 1]
 OPTION(ms_inject_internal_delays, OPT_DOUBLE, 0)   // seconds
 OPTION(ms_dump_on_send, OPT_BOOL, false)           // hexdump msg to log on send
 OPTION(ms_dump_corrupt_message_level, OPT_INT, 1)  // debug level to hexdump undecodeable messages at
-OPTION(ms_async_op_threads, OPT_INT, 2)
+OPTION(ms_async_op_threads, OPT_INT, 3)
 OPTION(ms_async_set_affinity, OPT_BOOL, true)
 // example: ms_async_affinity_cores = 0,1
 // The number of coreset is expected to equal to ms_async_op_threads, otherwise