neutron/neutron
Adam Spiers 61d149c012 Fix default RPC worker count
The help for the rpc_workers config option is:

    Number of RPC worker processes for service.  If not specified, the
    default is equal to half the number of API workers.

However, this does not accurately describe the current behaviour,
which is to default to half the _default_ number of API workers.  This
can make a big difference; for example on a 256-CPU machine with 256GB
of RAM which has api_workers configured to 8 but rpc_workers not
configured to anything, this will result in 64 RPC workers, which is 8
for every API worker!

Therefore tweak the default to rely on the actual value of
api_workers, which may be different than the default value.

Change-Id: I26115932ef4775f157297be1637ee26a4fca4666
Related-Bug: #1838688
Closes-Bug: #1838689
2019-08-01 20:58:19 +01:00
..
agent Merge "Initialize modifiable list of resources in CacheBackedPluginApi." 2019-08-01 05:50:49 +00:00
api Add RPC method to get networks for L3 and DHCP agents 2019-07-23 10:55:18 +03:00
cmd Implement "ip route" commands using Pyroute2 2019-06-27 10:07:52 +00:00
common Add a common timecost wrapper 2019-07-15 21:34:05 +08:00
conf Update api-ref location 2019-07-25 17:40:07 +02:00
core_extensions Switch to new engine facade for QoS 2019-05-28 08:11:35 +00:00
db Merge "Enforce router admin state before distributed" 2019-07-27 02:11:49 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Merge "Enforce router admin state before distributed" 2019-07-27 02:11:49 +00:00
hacking remove neutron.db.api references 2019-03-05 09:14:50 -07:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-21 16:31:18 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Propagate profiler info into BatchNotifier threads 2019-07-09 13:28:33 +02:00
objects Check project_id when creating and updating NetworkSegmentRange 2019-07-17 18:04:11 +00:00
pecan_wsgi Use list instead of six.viewkeys to avoid py2 to py3 problems 2019-05-30 14:39:39 -04:00
plugins Merge "Trace receipt of update_device_* rpc messages in neutron-server" 2019-07-29 22:16:41 +00:00
privileged Add interface kind property 2019-07-24 10:59:47 +03:00
quota Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
scheduler Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Enforce router admin state before distributed" 2019-07-27 02:11:49 +00:00
tests Fix default RPC worker count 2019-08-01 20:58:19 +01:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Define dhcp_agents_per_network with min=1 2019-05-15 14:08:21 -04:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Remove the l2pop agent_boot_time config 2019-07-10 19:34:25 +00:00
policy.py Treat networks shared by RBAC in same way as shared with all tenants 2019-06-26 22:04:36 +00:00
service.py Fix default RPC worker count 2019-08-01 20:58:19 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00