neutron-sriov-agent consumes much resources by redundand calls to ip link show
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Fix Committed
|
Medium
|
MOS Neutron | |||
9.x |
Fix Released
|
Medium
|
Kevin Benton |
Bug Description
On a node with SR-IOV interfaces neutron-sriov-agent seems to call 'ip link show' every 2 second for each interface. This leads to CPU utilization up to 60+% (I've seen 32% for neutron-rootwrap and 32% for neutron-
Since output of `ip link show' is the same for all interfaces, it is enough to call it only once per 2 sec interval
root@node-7:~# grep '15:10:' /var/log/
5783
# all interfaces
root@node-7:~# ip link show | grep '^[0-9].*' | wc -l
274
# SR-IOV VF interfaces
root@node-7:~# ip link show | grep '^[0-9].*' | grep eth | wc -l
252
9224 root 10 -10 5148300 144148 9940 S 299.9 0.1 8871:03 ovs-vswitchd
36425 root 20 0 199672 16764 7156 S 27.2 0.0 682:36.73 neutron-rootwra
36398 neutron 20 0 196936 60620 10416 S 20.3 0.0 522:57.02 neutron-sriov-n
Changed in mos: | |
milestone: | none → 10.0 |
status: | New → Confirmed |
tags: | added: wait-for-stable |
tags: | added: on-verification |
snippets are taken on snapshot #688