9a022e7d7b85b7c21cf26698fe59c818c4577194

The device scanning logic was calling 'ip link show' for every vf_index on the system, which was taking an excessive amount of time an CPU cycles on very dense SR-IOV servers (>64 interfaces). This was being executed every 2 seconds so it would cause the agent to take a large percentage of the CPU time. This patch adjusts the logic to use two 'ip link show' commands for checking all of the operations in a single get_assigned_devices_info call. Closes-Bug: #1653880 Change-Id: I361caaf7f70580ee8c7b48a4a9c9477bdefd8b4b
Team and repository tags
Welcome!
To learn more about neutron:
- Documentation: http://docs.openstack.org
- Features: http://specs.openstack.org/openstack/neutron-specs
- Defects: http://launchpad.net/neutron
Get in touch via email. Use [Neutron] in your subject.
To learn how to contribute:
CONTRIBUTING.rst
Description
Languages
Python
99.7%
Shell
0.3%