← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856839] [NEW] [L3] router processing time increase if there are large large set ports

 

Public bug reported:

The function "_update_arp_entry" [1] was called under a double loop
[2][3], and it has a "device.exists()" check [4]. When there are tons of
ports under the router, the router processing time will definitely
increase.

[1] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L249
[2] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L288-L290
[3] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L291
[4] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L260

** Affects: neutron
     Importance: Medium
     Assignee: LIU Yulong (dragon889)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1856839

Title:
  [L3] router processing time increase if there are large large set
  ports

Status in neutron:
  New

Bug description:
  The function "_update_arp_entry" [1] was called under a double loop
  [2][3], and it has a "device.exists()" check [4]. When there are tons
  of ports under the router, the router processing time will definitely
  increase.

  [1] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L249
  [2] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L288-L290
  [3] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L291
  [4] https://github.com/openstack/neutron/blob/master/neutron/agent/l3/dvr_local_router.py#L260

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1856839/+subscriptions


Follow ups