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.
Reviewed: https:/ /review. openstack. org/34812 github. com/openstack/ quantum/ commit/ 364e97b44158976 dca923bcf9ff5df f926da5dc4
Committed: http://
Submitter: Jenkins
Branch: master
commit 364e97b44158976 dca923bcf9ff5df f926da5dc4
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