]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: increase aio queue depth
authorSage Weil <sage@redhat.com>
Thu, 30 Mar 2017 21:27:21 +0000 (17:27 -0400)
committerSage Weil <sage@redhat.com>
Wed, 5 Apr 2017 14:23:38 +0000 (10:23 -0400)
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 <sage@redhat.com>
src/common/config_opts.h

index cf59928e03b63cfa72d7837ca264485c5d20879d..399d6753673bfca23b334bec30ca933b49f2cccd 100644 (file)
@@ -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)