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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to