Comment 5 for bug 1023560

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12315
Committed: http://github.com/openstack/nova/commit/0bd4a04afb35d7e60b34b8a1aaab45b7805cad15
Submitter: Jenkins
Branch: master

commit 0bd4a04afb35d7e60b34b8a1aaab45b7805cad15
Author: Michael Still <email address hidden>
Date: Mon Sep 3 22:23:24 2012 +1000

    Speed up creating floating ips.

    Previously, we would make two separate DB calls for each floating ip
    we created in floating_ip_bulk_create. This was just a little slow
    (several hours to create a /16). This patch speeds up floating ip
    creation just a little:

    $ time bin/nova-manage floating create --ip_range=10.250.0.0/16

    real 0m48.766s
    user 0m34.342s
    sys 0m1.984s

    Resolves bug 1023560.

    Change-Id: Ie3663440d414b102111178899db0c571769edba8