neutron/neutron/tests/unit/plugins
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 Rollback port after failed to add it to router 2016-09-08 12:59:26 +00:00
ml2 Reduce IP link show calls for SR-IOV scan loop 2017-01-05 03:33:35 -07:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00