Public bug reported: This is demonstrated by this functional test patch:
https://review.opendev.org/#/c/686734/ That adds a test which creates a single server create request to create 10 servers and each server has 255 BDMs using the same image and asserts that the API calls GET /v2/images/{image_id} on the same image 2551 times which is pretty inefficient. For the lifetime of the server create request we should be smarter and cache the results of each image we get so we don't make the same redundant calls to the image service. ** Affects: nova Importance: Low Status: Confirmed ** Tags: api performance ** Summary changed: - Inefficient image GET during large boot from volume server create requests + Inefficient/redundant image GETs during large boot from volume server create requests with the same image -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1846777 Title: Inefficient/redundant image GETs during large boot from volume server create requests with the same image Status in OpenStack Compute (nova): Confirmed Bug description: This is demonstrated by this functional test patch: https://review.opendev.org/#/c/686734/ That adds a test which creates a single server create request to create 10 servers and each server has 255 BDMs using the same image and asserts that the API calls GET /v2/images/{image_id} on the same image 2551 times which is pretty inefficient. For the lifetime of the server create request we should be smarter and cache the results of each image we get so we don't make the same redundant calls to the image service. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1846777/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp