You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/05/16 16:31:35 UTC

[GitHub] [couchdb] nickva opened a new pull request, #4603: Update default vm.args settings

nickva opened a new pull request, #4603:
URL: https://github.com/apache/couchdb/pull/4603

    * Increase distribution buffer size from 1MB to 32MB. We've been using this value at Cloudant for years in all the clusters. RabbitMQ defaults to 128MB, which is even higher. This might speed busy clusters with lots of distribution traffic.
   
    * Add a commented out example of scheduling flags to use in a Docker or Kube environment with CFS quotas (advice taken from https://erlangforums.com/t/vm-tuning-guide/1945/3).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] pgj commented on a diff in pull request #4603: Update default vm.args settings

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195463025


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit low on busy clusters. Has no effect for single-node setups.
+# The unit is in kilobytes.
++zdbbl32768

Review Comment:
   I think this line is missing a space (between `+zbbl` and the value).  I can imagine that the actual syntax does not require this space to be there but it would definitely contribute to better readability, as well as it would make more consistent with the formatting of other parameters in this file.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva merged pull request #4603: Update default vm.args settings

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #4603:
URL: https://github.com/apache/couchdb/pull/4603


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] pgj commented on a diff in pull request #4603: Update default vm.args settings

Posted by "pgj (via GitHub)" <gi...@apache.org>.
pgj commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195471099


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit low on busy clusters. Has no effect for single-node setups.
+# The unit is in kilobytes.
++zdbbl32768

Review Comment:
   Cool, thank you.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva commented on a diff in pull request #4603: Update default vm.args settings

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195470412


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit low on busy clusters. Has no effect for single-node setups.
+# The unit is in kilobytes.
++zdbbl32768

Review Comment:
   Updated it have a space



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva commented on a diff in pull request #4603: Update default vm.args settings

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195436336


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit lot on busy clusters. Has no effect for single-node setups.

Review Comment:
   Thanks! updated it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] jaydoane commented on a diff in pull request #4603: Update default vm.args settings

Posted by "jaydoane (via GitHub)" <gi...@apache.org>.
jaydoane commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195429173


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit lot on busy clusters. Has no effect for single-node setups.

Review Comment:
   s/lot/low/



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva commented on a diff in pull request #4603: Update default vm.args settings

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on code in PR #4603:
URL: https://github.com/apache/couchdb/pull/4603#discussion_r1195464441


##########
rel/overlay/etc/vm.args:
##########
@@ -61,6 +61,18 @@
 # Dirty IO schedulers are used for file IO.
 +SDio 16
 
+# Increase distribution buffer size from default of 1MB to 32MB. The default is
+# usually a bit low on busy clusters. Has no effect for single-node setups.
+# The unit is in kilobytes.
++zdbbl32768

Review Comment:
   I just kept the same syntax as we use a Cloudant 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org