← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279334] [NEW] optimise dhcp spawning performance

 

Public bug reported:

Some methods iterate over the same network ports list 3 times in
neutron/agent/linux/dhcp.py just to spawn a unique dnsmasq instance, and
potentially a network may have thousands of ports, so this adds a lot of
processing overhead.

For a mater of performance, some re-factoring in order to iterate only
once  to generate all dnsmasq's configuration files (hosts, addn-hosts,
etc) is required.

See Armando Migliaccio's comment in Patch Set 21 of
https://review.openstack.org/#/c/52930/ for more details.

** Affects: neutron
     Importance: Undecided
     Assignee: Yves-Gwenael Bourhis (yves-gwenael-bourhis)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Yves-Gwenael Bourhis (yves-gwenael-bourhis)

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

Title:
  optimise dhcp spawning performance

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Some methods iterate over the same network ports list 3 times in
  neutron/agent/linux/dhcp.py just to spawn a unique dnsmasq instance,
  and potentially a network may have thousands of ports, so this adds a
  lot of processing overhead.

  For a mater of performance, some re-factoring in order to iterate only
  once  to generate all dnsmasq's configuration files (hosts, addn-
  hosts, etc) is required.

  See Armando Migliaccio's comment in Patch Set 21 of
  https://review.openstack.org/#/c/52930/ for more details.

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


Follow ups

References