commit 9a022e7d7b85b7c21cf26698fe59c818c4577194
Author: Kevin Benton <email address hidden>
Date: Tue Jan 3 18:10:36 2017 -0800
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.
Reviewed: https:/ /review. openstack. org/416400 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=9a022e7d7b8 5b7c21cf26698fe 59c818c4577194
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a022e7d7b85b7c 21cf26698fe59c8 18c4577194
Author: Kevin Benton <email address hidden>
Date: Tue Jan 3 18:10:36 2017 -0800
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 devices_ info
checking all of the operations in a single get_assigned_
call.
Closes-Bug: #1653880 ee8c7b48a4a9c94 77bdefd8b4b
Change-Id: I361caaf7f70580