Right now we have seen some performance issues when
dvr routers are scheduled on multiple compute nodes
with thousands of VMs on the routed subnets.
The _get_candidates call get_l3_agent_candidates with
a complete list of agents irrespective of the routers
already hosted on the agents or not.
So this fix will reduce the amount of iterations that
get_l3_agent_candidates need to process for all the
agents and would increase the control plane performance.
Closes-Bug: #1513678
Conflicts:
neutron/scheduler/l3_agent_scheduler.py
Change-Id: I8f781d4cbc996ce13441303c9296e4f6ec822b94
(cherry picked from commit 411e6ff1570f9508424eb985201943e881084d7a)
Reviewed: https:/ /review. openstack. org/258403 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5bbff07beb5 e22ba365c307304 3e0c1f03811c99
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 5bbff07beb5e22b a365c3073043e0c 1f03811c99
Author: Swaminathan Vasudevan <email address hidden>
Date: Thu Nov 5 17:00:49 2015 -0800
Tune _get_candidates for faster scheduling in dvr
Right now we have seen some performance issues when
dvr routers are scheduled on multiple compute nodes
with thousands of VMs on the routed subnets.
The _get_candidates call get_l3_ agent_candidate s with
a complete list of agents irrespective of the routers
already hosted on the agents or not.
So this fix will reduce the amount of iterations that l3_agent_ candidates need to process for all the
get_
agents and would increase the control plane performance.
Closes-Bug: #1513678
Conflicts:
neutron/ scheduler/ l3_agent_ scheduler. py
Change-Id: I8f781d4cbc996c e13441303c9296e 4f6ec822b94 8424eb985201943 e881084d7a)
(cherry picked from commit 411e6ff1570f950