neutron/neutron/plugins/ml2/drivers/mech_sriov/agent
Kevin Benton 9a022e7d7b Reduce IP link show calls for SR-IOV scan loop
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
2017-01-05 03:33:35 -07:00
..
common Refactoring config options for mech_sriov opts 2016-11-29 22:57:38 +00:00
extension_drivers SR-IOV: add agent QoS driver to support egress minimum bandwidth 2016-08-27 17:36:21 +00:00
__init__.py Consolidate sriov agent and driver code 2015-06-26 19:51:58 +00:00
eswitch_manager.py Reduce IP link show calls for SR-IOV scan loop 2017-01-05 03:33:35 -07:00
pci_lib.py Reduce IP link show calls for SR-IOV scan loop 2017-01-05 03:33:35 -07:00
sriov_nic_agent.py SRIOV: don't block report_state with device count 2016-12-07 12:01:43 -08:00