puppet-openstacklib/releasenotes/notes/os_workers-fact-0ce731f0536c2792.yaml
Joe Talerico e6b658bd00 Update os_workers to have other options
Adding additional options for os_workers.rb:

        os_workers_small
        os_workers_large

os_workers will provide response times close to what
$::processorcount had (with two sockets machines).

os_workers_small will be the existing calculation.

os_workers_large can be used where services are distributed across
multiple machines and high worker count is not a concern.

Closes-bug: #1650424

Change-Id: I5dce760044d49ef9e3c88736c73cc267fd039ae7
2016-12-15 20:14:38 -05:00

13 lines
471 B
YAML

---
features:
- Moved existing $::os_workers to $::os_workers_small
- Updated $::os_workers to have a value between '2' and '12'.
The value of this fact is the larger value between '2'
and the number of processors divided by '2' but will not
exceed '12'.
- Created fact $::os_workers_large to have a value of number
of processors divided by '2'
fixes:
- bug 1650424 The current calculation for os_workers negatively
impacts api response times