From: Sage Weil Date: Thu, 30 Mar 2017 21:27:21 +0000 (-0400) Subject: os/bluestore: increase aio queue depth X-Git-Tag: v12.0.2~167^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0541ee1e6c8e0c5b8a694b4a4d275092337abcf0;p=ceph.git os/bluestore: increase aio queue depth We've seen some reports of the aio EAGAIN backoff in logs; use a larger aio ring buffer to reduce the risk of this. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index cf59928e03b6..399d6753673b 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -988,7 +988,7 @@ OPTION(bdev_inject_crash, OPT_INT, 0) // if N>0, then ~ 1/N IOs will complete b OPTION(bdev_inject_crash_flush_delay, OPT_INT, 2) // wait N more seconds on flush OPTION(bdev_aio, OPT_BOOL, true) OPTION(bdev_aio_poll_ms, OPT_INT, 250) // milliseconds -OPTION(bdev_aio_max_queue_depth, OPT_INT, 32) +OPTION(bdev_aio_max_queue_depth, OPT_INT, 1024) OPTION(bdev_block_size, OPT_INT, 4096) OPTION(bdev_debug_aio, OPT_BOOL, false) OPTION(bdev_debug_aio_suicide_timeout, OPT_FLOAT, 60.0)