← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1525423] Re: get_networks performance hindered by segment lookups

 

Reviewed:  https://review.openstack.org/256846
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=806e67538fbea49530aa0eedb75694cd8bad439d
Submitter: Jenkins
Branch:    master

commit 806e67538fbea49530aa0eedb75694cd8bad439d
Author: Kevin Benton <blak111@xxxxxxxxx>
Date:   Fri Dec 11 10:55:38 2015 -0800

    Batch db segment retrieval
    
    A net-list operation was calling extend_network_dict_provider for
    each network individually which would result in a database call for
    each network.
    
    This adds a new call in the manager to extend multiple networks at
    once and then it adds a bulk version of get_network_segments that
    it calls.
    
    Now 1 net list of any number of networks will only result in 1
    segment DB call.
    
    Change-Id: I2543b3bdbb178ee4bb8d1288e9a27af1c5c8c8b4
    Closes-Bug: #1525423
    Partial-Bug: #1513782


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  get_networks performance hindered by segment lookups

Status in neutron:
  Fix Released

Bug description:
  During the get_networks method of ML2, we iterate over each network
  and do a database call to lookup the segments for that network. This
  scales the number of database calls linearly with the number of
  retrieved networks.

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


References