instance_claim

asked 2016-11-10 04:21:48 -0500

liuhaibinniu gravatar image

when I create 20 instances on one compute node at the same time , the instance_claim will cost a long time between the first instance and the last one,about 70 seconds。why instance_claim can not run concurrently.

2016-11-01 03:57:44.337 1 DEBUG oslo_concurrency.lockutils [req-18aecb60-8660-4a26-9282-7ae5e53f0592 93687898a58246e8973f799ed4a0baa2 6002275068004daaa8ba16a93d18e018 - - -] Lock "compute_resources" acquired by "nova.compute.resource_tracker.instance_claim" :: waited 5.754s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:253 2016-11-01 03:57:44.337 1 DEBUG nova.compute.resource_tracker [req-18aecb60-8660-4a26-9282-7ae5e53f0592 93687898a58246e8973f799ed4a0baa2 6002275068004daaa8ba16a93d18e018 - - -] Memory overhead for 2048 MB instance; 0 MB instance_claim /usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py:170

edit retag flag offensive close merge delete