summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2020-01-06 13:46:24 -0500
committerAdam Kocoloski <kocolosk@apache.org>2020-01-06 14:43:55 -0500
commit2ed9a6c84ddb10f4cfba36bb190f3c78b9405e2e (patch)
tree02217f8acabc3b3ee7f40c9f4caa47656bff89b3
parent53d3d8febe3a1d0a27cdc9bf77f6bf5fc6513e56 (diff)
downloadcouchdb-2ed9a6c84ddb10f4cfba36bb190f3c78b9405e2e.tar.gz
Configure IOQ defaults
-rw-r--r--rel/overlay/etc/default.ini34
1 files changed, 34 insertions, 0 deletions
diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index a1df0805a..f5f057859 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -512,6 +512,40 @@ min_priority = 2.0
[smoosh.ratio_views]
min_priority = 2.0
+[ioq]
+; The maximum number of concurrent in-flight IO requests that
+concurrency = 10
+
+; The fraction of the time that a background IO request will be selected
+; over an interactive IO request when both queues are non-empty
+ratio = 0.01
+
+[ioq.bypass]
+; System administrators can choose to submit specific classes of IO directly
+; to the underlying file descriptor or OS process, bypassing the queues
+; altogether. Installing a bypass can yield higher throughput and lower
+; latency, but relinquishes some control over prioritization. The following
+; classes are recognized with the following defaults:
+
+; Messages on their way to an external process (e.g., couchjs) are bypassed
+os_process = true
+
+; Disk IO fulfilling interactive read requests is bypassed
+read = true
+
+; Disk IO required to update a database is bypassed
+write = true
+
+; Disk IO required to update views and other secondary indexes is bypassed
+view_update = true
+
+; Disk IO issued by the background replication processes that fix any
+; inconsistencies between shard copies is queued
+shard_sync = false
+
+; Disk IO issued by compaction jobs is queued
+compaction = false
+
[dreyfus]
; The name and location of the Clouseau Java service required to
; enable Search functionality.