** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => kilo-3

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

Title:
  Neutron need to reduce number of network db calls during
  get_devices_details_list

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Currently each Neutron agent will impose db calls to Neutron Server to
  query devices, port and networks when it get start up.

  Take ml2 rpc.py method get_device_details for example:
  It can be noticed that during this call:

  it will get each port and then get each network that port associated
  within get_bound_port_context.  Actually in prodcution env.  Most
  ports are belonging to a much less number of networks.  Maybe even one
  compute host with 500VM with single network.

  As the netwok information is static information and was used to
  construct the device json. It's suggested to initially having these
  network prefetched. instead of query it each time within each port.
  This will reduce the db calls a lot.

  with less db calls, it will benefit neutron server performance and
  database hit when VM number in large.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1370361/+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