Enable neutron gw charm to control # of workers
Charm was missing this functionality and this patch is to add this feature. We were trying to deploy this charm on bare metal host machine with 72 cores. In end up creating 144 processes for nova-metadata-api, and neutron. This patch will provide the option to limit the number of worker process in case of high number of cores in a host. Enable it for icehouse, kilo, liberty and mitaka. Partial-Bug: 1600482 Change-Id: Iedcbe6c53746a203937b78dd00e83fda7681bd8f
This commit is contained in:
committed by
David Ames
parent
c7d3f0da7b
commit
93d6440e45
@@ -253,3 +253,10 @@ options:
|
||||
description: |
|
||||
Apply system hardening. Supports a space-delimited list of modules
|
||||
to run. Supported modules currently include os, ssh, apache and mysql.
|
||||
worker-multiplier:
|
||||
type: float
|
||||
default: 2.0
|
||||
description: |
|
||||
The CPU core multiplier to use when configuring worker processes for
|
||||
neutron and nova-metadata-api. By default, the number of workers for
|
||||
each daemon is set to twice the number of CPU cores a service unit has.
|
||||
|
||||
Reference in New Issue
Block a user