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.
Reviewed: https:/ /review. openstack. org/242286 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=411e6ff1570 f9508424eb98520 1943e881084d7a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 411e6ff1570f950 8424eb985201943 e881084d7a
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 e13441303c9296e 4f6ec822b94
Change-Id: I8f781d4cbc996c