From fd87e1e06631909d239a137ade7f1c735122e8ee Mon Sep 17 00:00:00 2001 From: Shubhang Date: Fri, 30 Jan 2026 01:14:45 -0500 Subject: [PATCH 1/6] Update performance.rst --- src/docs/src/maintenance/performance.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index ede86a1ee3a..c07407350d5 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -58,6 +58,11 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` .. _command line flag +A in erl(1): http://erlang.org/doc/man/erl.html +Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by adding the following to ``(prefix)/etc/defaults/couchdb`` +(or equivalent):: + + export ERL_FLAGS="+Sdio 80" + System Resource Limits ====================== From 796489753b1307469bf83b7f071502ce5dbc043e Mon Sep 17 00:00:00 2001 From: Shubhang <39475272+Shubhang@users.noreply.github.com> Date: Fri, 30 Jan 2026 01:17:37 -0500 Subject: [PATCH 2/6] Revert "Update performance.rst" This reverts commit fd87e1e06631909d239a137ade7f1c735122e8ee. --- src/docs/src/maintenance/performance.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index c07407350d5..ede86a1ee3a 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -58,11 +58,6 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` .. _command line flag +A in erl(1): http://erlang.org/doc/man/erl.html -Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by adding the following to ``(prefix)/etc/defaults/couchdb`` -(or equivalent):: - - export ERL_FLAGS="+Sdio 80" - System Resource Limits ====================== From d5a6c1ec1c2d243ae67b4f20b68cc04853acbd96 Mon Sep 17 00:00:00 2001 From: Shubhang <39475272+Shubhang@users.noreply.github.com> Date: Fri, 30 Jan 2026 01:18:07 -0500 Subject: [PATCH 3/6] Update performance.rst --- src/docs/src/maintenance/performance.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index ede86a1ee3a..c07407350d5 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -58,6 +58,11 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` .. _command line flag +A in erl(1): http://erlang.org/doc/man/erl.html +Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by adding the following to ``(prefix)/etc/defaults/couchdb`` +(or equivalent):: + + export ERL_FLAGS="+Sdio 80" + System Resource Limits ====================== From 2e88457cec40fc13199ad2f8faf8a374f37197ed Mon Sep 17 00:00:00 2001 From: Shubhang <39475272+Shubhang@users.noreply.github.com> Date: Fri, 30 Jan 2026 01:21:28 -0500 Subject: [PATCH 4/6] Update performance.rst --- src/docs/src/maintenance/performance.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index c07407350d5..d1d57f97255 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -58,7 +58,10 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` .. _command line flag +A in erl(1): http://erlang.org/doc/man/erl.html -Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by adding the following to ``(prefix)/etc/defaults/couchdb`` +Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. +These schedulers can be configured by ``ERL_FLAGS`` environment +variable. For example, to give Erlang 80 dirty schedulers +add the following to ``(prefix)/etc/defaults/couchdb`` (or equivalent):: export ERL_FLAGS="+Sdio 80" From 55310fa21bdb235ef5b7349896bdc80863cd3920 Mon Sep 17 00:00:00 2001 From: Shubhang <39475272+Shubhang@users.noreply.github.com> Date: Fri, 30 Jan 2026 01:49:25 -0500 Subject: [PATCH 5/6] Update performance.rst --- src/docs/src/maintenance/performance.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index d1d57f97255..1480e0494be 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -60,8 +60,8 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by ``ERL_FLAGS`` environment -variable. For example, to give Erlang 80 dirty schedulers -add the following to ``(prefix)/etc/defaults/couchdb`` +variable. For example, to give Erlang 80 dirty schedulers +add the following to ``(prefix)/etc/defaults/couchdb`` (or equivalent):: export ERL_FLAGS="+Sdio 80" From 370523a6a9b26bd7355a5c92ed227d4f07026ff2 Mon Sep 17 00:00:00 2001 From: Shubhang <39475272+Shubhang@users.noreply.github.com> Date: Fri, 30 Jan 2026 01:54:02 -0500 Subject: [PATCH 6/6] Update performance.rst --- src/docs/src/maintenance/performance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/src/maintenance/performance.rst b/src/docs/src/maintenance/performance.rst index 1480e0494be..574952e6b3f 100644 --- a/src/docs/src/maintenance/performance.rst +++ b/src/docs/src/maintenance/performance.rst @@ -58,7 +58,7 @@ operations add the following to ``(prefix)/etc/defaults/couchdb`` .. _command line flag +A in erl(1): http://erlang.org/doc/man/erl.html -Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. +Since Erlang OTP 21, the linked-in drivers have been migrated to dirty IO schedulers. These schedulers can be configured by ``ERL_FLAGS`` environment variable. For example, to give Erlang 80 dirty schedulers add the following to ``(prefix)/etc/defaults/couchdb``