nova-manage floating commands are slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Michael Still |
Bug Description
nova-manage floating (list|create|
Reference values:
On a development cloud that we have, creating a /16 block of IPs (65,536 IPs) took around two hours, and simply doing the SQL SELECT to print them out with nova-manage floating list took 10 seconds.
Implementation details:
Looking at the nova-manage command, the create/delete commands spend the majority of their time in the db.floating_
The list command needs to be investigated more.
We suspect that the issues lies in using sqlalchemy inefficiently, most likely using a new transaction to update every single row. Assuming that sqlalchemy supports pipelining multiple row updates into a single transaction, we think this could improve execution speeds a lot.
Changed in nova: | |
assignee: | nobody → Michael Still (mikalstill) |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Might be related to https:/ /lists. launchpad. net/openstack/ msg14461. html