Comment 0 for bug 1361357

Revision history for this message
Scott Moser (smoser) wrote : metadata service performance regression ~100x

The fix for bug 1325128 [1] included changes to the metadata service
seen at:
   trunk [2]: 4a60c6a655006b2882331844664fac5cf67c5f34
   icehouse [3]: 9f59ca751f1a392ef24d8ab73a7bf5ce9655017e

The new code is around 100x slower. That slow down causes
excessive load on the metadata server if an instance crawls the metadata
service (which generates dozens of http requests).

Both cloud-init and cirros's boot code crawl that meta-data service. The
end result is linux instances boot time is dramatically affected. A
typical Ubuntu boot time will be < 10 seconds to executing user code, but
after this regression, I'm seeing boots in the range of 30 to 45 seconds.

--
[1] http://pad.lv/1325128
[2] https://git.openstack.org/cgit/openstack/nova/commit/?id=4a60c6a655006b2882331844664fac5cf67c5f34
[3] https://git.openstack.org/cgit/openstack/nova/commit/?id=4a60c6a655006b2882331844664fac5cf67c5f34