Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Disable RabbitMQ busy-wait for dirty cpu and dirty i/o schedul…
Browse files Browse the repository at this point in the history
…ers"
  • Loading branch information
Zuul authored and openstack-gerrit committed Apr 10, 2021
2 parents d7367cc + ecff7b7 commit e48eef9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deployment/rabbitmq/rabbitmq-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ parameters:
RabbitAdditionalErlArgs:
description:
Additional parameters passed to the Erlang subsystem. The string
needs to be enclosed in quotes twice. We default to +sbwt none
in order to have the erlang vm be less busy on spinlocks, but
we allow a simple way of overriding it.
default: "'+sbwt none'"
needs to be enclosed in quotes twice. We default to '+sbwt none
+sbwtdcpu none +sbwtdio none' in order to have the erlang vm be
less busy on spinlocks, but we allow a simple way of overriding
it.
default: "'+sbwt none +sbwtdcpu none +sbwtdio none'"
type: string
MonitoringSubscriptionRabbitmq:
default: 'overcloud-rabbitmq'
Expand Down
9 changes: 9 additions & 0 deletions releasenotes/notes/erl-sbwtdcpu-sbwtdio-b26506a0430480dc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
other:
- |
The default value of the parameter 'RabbitAdditionalErlArgs' was
updated to include the new options '+sbwtdcpu none +sbwtdio none'
which disables busy-wait for dirty cpu schedulers and dirty i/o
schedulers respectively. This aligns with the flags recommended
by RabbitMQ upstream
(https://www.rabbitmq.com/runtime.html#busy-waiting).

0 comments on commit e48eef9

Please sign in to comment.