Go to file
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
2016-06-28 22:46:19 +02:00
2016-12-10 06:15:34 -08:00
2016-10-17 17:06:19 +05:30
2014-05-16 13:40:04 -04:00
2016-11-25 15:35:21 +01:00
2016-11-08 03:50:20 +00:00
2015-09-21 18:56:49 +00:00
2017-01-04 14:37:29 +09:00
2016-11-08 03:36:00 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%