Merge "Enable HiPE compile configuration"

This commit is contained in:
Jenkins 2016-09-07 07:12:59 +00:00 committed by Gerrit Code Review
commit 4debe62fee
5 changed files with 16 additions and 2 deletions

View File

@ -79,3 +79,6 @@ rabbitmq_collect_statistics_interval: 5000
# RabbitMQ Management rates mode
rabbitmq_management_rates_mode: basic
# Precompile RabbitMQ with HiPE
rabbitmq_hipe_compile: False

View File

@ -0,0 +1,7 @@
---
features:
- The ``rabbitmq_server`` role now supports configuring HiPE compilation
of the RabbitMQ server Erlang code. This configuration option may improve
server performance for some workloads and hardware. Deployers can
override the ``rabbitmq_hipe_compile`` variable, setting a value of
``True`` if they wish to enable this feature.

View File

@ -10,8 +10,9 @@
{% endif -%}
{versions, ['tlsv1.2', 'tlsv1.1']},
{verify,verify_none},
{fail_if_no_peer_cert,false}]},
{% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}{% endif %}
{fail_if_no_peer_cert,false}]}
{% if rabbitmq_cluster_partition_handling != 'ignore' %},{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}{% endif %}
{% if rabbitmq_hipe_compile | bool %},{hipe_compile, true}{% endif %}
]},
{rabbitmq_management, [{rates_mode, {{ rabbitmq_management_rates_mode }} }] }
].

View File

@ -3,6 +3,8 @@ rabbitmq_cookie_token: secrete
rabbitmq_ssl_cert: /etc/rabbitmq/rabbitmq.pem
rabbitmq_ssl_key: /etc/rabbitmq/rabbitmq.key
rabbitmq_hipe_compile: True
rabbitmq_old_package:
debian:
rabbitmq_package_url: "https://www.rabbitmq.com/releases/rabbitmq-server/v3.6.1/rabbitmq-server_3.6.1-1_all.deb"

View File

@ -20,5 +20,6 @@ _rabbitmq_package_sha256: "9de570ca9e3d30bdc26a79c683503e158d35e5cacafb36e4e9b01
_rabbitmq_package_path: "/opt/rabbitmq-server.deb"
rabbitmq_dependencies:
- erlang-base-hipe
- erlang-nox
- socat