Neutron need to reduce number of network db calls during get_devices_details_list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Sergey Belous |
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_
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.
tags: | added: performance |
summary: |
- Neutron need to reduce nubmer of network db calls during + Neutron need to reduce number of network db calls during get_devices_details_list |
tags: |
added: loadimpact removed: performance |
Changed in neutron: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Eugene Nikanorov (enikanorov) |
Changed in neutron: | |
assignee: | Eugene Nikanorov (enikanorov) → Sergey Belous (sbelous) |
Changed in neutron: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/154116
Review: https:/