Volume to Image upload very slow due to use of tpool.Proxy()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Low
|
Unassigned |
Bug Description
In our environment, we observed that the speed of a volume upload to a Glance image decreases very quickly over the course of an upload.
The upload starts at around 300mb/s but drops below 50mb/s within the first gigabyte and becomes even slower as it progresses. Using the patch in the Glance client, which disables chunked endcoding, the performance could be improved a bit. However, it was still too slow. (https:/
In cinder/
So replace this:
image_service.
with this:
tpool.execute(
We use cinder and glance with the Yoga release. For Cinder we use the Netapp NFS backend and Glance with the S3 backend.
tags: | added: image osc |
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: netapp nfs |
tags: | added: drivers |
Changed in cinder: | |
status: | New → In Progress |
We were able to recreate the behavior of it being slower due to chuncked encoding outside of cinder volume. However, only with the python-glanceclient and not with the python- openstackclient .
This is because the python- openstackclient does not use chunked encoding when uploading. Removing this from the python-glanceclient with the above patch we have seen the same constant performance as the python-openstack client. In our environment this is about 700mb/s, as with cinder in combination with the tpool patch.