You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2020/01/06 19:56:21 UTC

[couchdb] branch ioq-in-tree updated (5736df7 -> 63c4a48)

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a change to branch ioq-in-tree
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    omit 5736df7  Configure IOQ defaults
    omit 3c50283  Remove ioq as dependency and add as subdir
    omit 5cccb9d  Add 'src/ioq/' from commit 'e641a740978447f0b29785580e46d2e30e822001'
     add c8a5757  bump hqueue dep for Windows build
     new 53d3d8f  Add 'src/ioq/' from commit 'e641a740978447f0b29785580e46d2e30e822001'
     new 2ed9a6c  Configure IOQ defaults
     new 63c4a48  Remove ioq/hqueue dependencies, add ioq as subdir

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5736df7)
            \
             N -- N -- N   refs/heads/ioq-in-tree (63c4a48)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 rebar.config.script | 1 -
 1 file changed, 1 deletion(-)


[couchdb] 03/03: Remove ioq/hqueue dependencies, add ioq as subdir

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch ioq-in-tree
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 63c4a48bbc2a110ee163e106821e23da087a8ead
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jan 6 13:26:28 2020 -0500

    Remove ioq/hqueue dependencies, add ioq as subdir
    
    The hqueue dependency is only needed for experimental IOQ2 functionality
    that is not included in the codebase we're bringing into the mainline.
---
 rebar.config.script | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rebar.config.script b/rebar.config.script
index dace4e2..5d5a6aa 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -131,6 +131,7 @@ SubDirs = [
     "src/dreyfus",
     "src/fabric",
     "src/global_changes",
+    "src/ioq",
     "src/ken",
     "src/mango",
     "src/rexi",
@@ -146,8 +147,6 @@ DepDescs = [
 {ets_lru,          "ets-lru",          {tag, "1.0.0"}},
 {khash,            "khash",            {tag, "1.0.1"}},
 {snappy,           "snappy",           {tag, "CouchDB-1.0.4"}},
-{ioq,              "ioq",              {tag, "2.1.2"}},
-{hqueue,           "hqueue",           {tag, "CouchDB-1.0.1-1"}},
 
 %% Non-Erlang deps
 {docs,             {url, "https://github.com/apache/couchdb-documentation"},


[couchdb] 02/03: Configure IOQ defaults

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch ioq-in-tree
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 2ed9a6c84ddb10f4cfba36bb190f3c78b9405e2e
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jan 6 13:46:24 2020 -0500

    Configure IOQ defaults
---
 rel/overlay/etc/default.ini | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index a1df080..f5f0578 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.


[couchdb] 01/03: Add 'src/ioq/' from commit 'e641a740978447f0b29785580e46d2e30e822001'

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch ioq-in-tree
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 53d3d8febe3a1d0a27cdc9bf77f6bf5fc6513e56
Merge: c8a5757 e641a74
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Mon Jan 6 14:41:33 2020 -0500

    Add 'src/ioq/' from commit 'e641a740978447f0b29785580e46d2e30e822001'
    
    git-subtree-dir: src/ioq
    git-subtree-mainline: c8a5757c33c8f782d935fce2f804cb745bf77b4a
    git-subtree-split: e641a740978447f0b29785580e46d2e30e822001

 src/ioq/.gitignore      |   2 +
 src/ioq/src/ioq.app.src |  21 ++++++
 src/ioq/src/ioq.erl     | 189 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/ioq/src/ioq_app.erl |  21 ++++++
 src/ioq/src/ioq_sup.erl |  24 ++++++
 5 files changed, 257 insertions(+)

diff --cc src/ioq/.gitignore
index 0000000,21cf3d3..21cf3d3
mode 000000,100644..100644
--- a/src/ioq/.gitignore
+++ b/src/ioq/.gitignore
diff --cc src/ioq/src/ioq.app.src
index 0000000,65ea50d..65ea50d
mode 000000,100644..100644
--- a/src/ioq/src/ioq.app.src
+++ b/src/ioq/src/ioq.app.src
diff --cc src/ioq/src/ioq.erl
index 0000000,81d94a3..81d94a3
mode 000000,100644..100644
--- a/src/ioq/src/ioq.erl
+++ b/src/ioq/src/ioq.erl
diff --cc src/ioq/src/ioq_app.erl
index 0000000,2e6d75a..2e6d75a
mode 000000,100644..100644
--- a/src/ioq/src/ioq_app.erl
+++ b/src/ioq/src/ioq_app.erl
diff --cc src/ioq/src/ioq_sup.erl
index 0000000,c4d04a9..c4d04a9
mode 000000,100644..100644
--- a/src/ioq/src/ioq_sup.erl
+++ b/src/ioq/src/ioq_sup.erl