summaryrefslogtreecommitdiff
path: root/etc/neutron.conf
diff options
context:
space:
mode:
authorEugene Nikanorov <enikanorov@mirantis.com>2015-10-12 16:21:02 +0400
committerEugene Nikanorov <enikanorov@mirantis.com>2015-10-21 17:55:25 +0400
commit678b431ba4be8ccf6e505b3dd8fb8e9465b82f83 (patch)
tree01b481cc9ef2d7a1a353487ea9fdd1ef8141ef08 /etc/neutron.conf
parent948316190dd445ec387b391cd89b87c19d19b91b (diff)
Spawn dedicated rpc workers for state reports queue
By default spawn one additional rpc worker to process state report queue. State report queue will also be processed by regular rpc workers, but in case these workers are busy with processing heavy requests, state reports queue will automatically be consumed by dedicated rpc workers. This change applies to ML2 plugin only. Other plugins should implement start_rpc_state_reports_listener to enable additional rpc workers. Change-Id: I5f8df6a478f7c82382049274b34b07109eeafbdb Closes-Bug: #1505217
Notes
Notes (review): Verified+2: Jenkins Verified+1: Microsoft Hyper-V CI <hyper-v_ci@microsoft.com> Code-Review+2: Oleg Bondarev <obondarev@mirantis.com> Workflow+1: Oleg Bondarev <obondarev@mirantis.com> Code-Review+2: YAMAMOTO Takashi <yamamoto@midokura.com> Verified+1: Ryu CI <ryu-openstack-review@lists.sourceforge.net> Verified+1: Mellanox CI <mlnx-openstack-ci@dev.mellanox.co.il> Submitted-by: Jenkins Submitted-at: Thu, 22 Oct 2015 07:45:04 +0000 Reviewed-on: https://review.openstack.org/233605 Project: openstack/neutron Branch: refs/heads/master
Diffstat (limited to 'etc/neutron.conf')
-rw-r--r--etc/neutron.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/neutron.conf b/etc/neutron.conf
index bac35bd..f5c15fa 100644
--- a/etc/neutron.conf
+++ b/etc/neutron.conf
@@ -311,10 +311,14 @@
311# the default value is equal to the number of CPUs available. 311# the default value is equal to the number of CPUs available.
312# api_workers = <number of CPUs> 312# api_workers = <number of CPUs>
313 313
314# Number of separate RPC worker processes to spawn. If not specified or < 1, 314# Number of separate RPC worker processes to spawn.
315# a single RPC worker process is spawned by the parent process.
316# rpc_workers = 1 315# rpc_workers = 1
317 316
317# Number of separate RPC worker processes for processing state report queue.
318# Increasing this parameter makes sense when neutron-server handles
319# hundreds of agents.
320# rpc_state_report_workers = 1
321
318# Timeout for client connections socket operations. If an 322# Timeout for client connections socket operations. If an
319# incoming connection is idle for this number of seconds it 323# incoming connection is idle for this number of seconds it
320# will be closed. A value of '0' means wait forever. (integer 324# will be closed. A value of '0' means wait forever. (integer