Instead of spawning ovs-vsctl for every port on br-int, we just dump the
required columns from the Interfaces table and grab the rows that we need. This
is a big win because the time it takes for ovs-vsctl to connect to the
openvswitch controller is orders of magnitude greater than the time it takes to
parse the rows. In practice, instead of taking roughly 1s per interface, the
agent's periodic task only takes 1s in total.
Change-Id: Idbf32c38e0c4a9c9634c1e4f0e79bd556b720493
(cherry picked from commit 364e97b44158976dca923bcf9ff5dff926da5dc4)
Reviewed: https:/ /review. openstack. org/35512 github. com/openstack/ quantum/ commit/ 5f326710f392d71 f33820e91e91276 27f7a8f4b3
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit 5f326710f392d71 f33820e91e91276 27f7a8f4b3
Author: Peter Feiner <email address hidden>
Date: Tue Jun 18 20:48:30 2013 +0000
faster quantum- openvswitch- agent periodic reports
One of two patches that fixes bug #1194438.
Instead of spawning ovs-vsctl for every port on br-int, we just dump the
required columns from the Interfaces table and grab the rows that we need. This
is a big win because the time it takes for ovs-vsctl to connect to the
openvswitch controller is orders of magnitude greater than the time it takes to
parse the rows. In practice, instead of taking roughly 1s per interface, the
agent's periodic task only takes 1s in total.
Change-Id: Idbf32c38e0c4a9 c9634c1e4f0e79b d556b720493 dca923bcf9ff5df f926da5dc4)
(cherry picked from commit 364e97b44158976