The parameter ”order“ doesn't work properly in RBD backend

Bug #1549055 reported by luqitao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
New
Wishlist
Unassigned

Bug Description

There are two parameters can affect the performance of image upload, one is rbd_store_chunk_size, one is order

At present, the value of order by the following formula: order = int (math.log (rbd_store_chunk_size 1024 * 2, 2))
The block size rbd_store_chunk_size is glance every time you read the image, order CEPH is stored in the mirror when the size of the block

For example:
rbd_store_chunk_size=8 order=23 glance 8M, then each read data to the back-end, CEPH is also based on the 8M data of each disk write
rbd_store_chunk_size=32 order=25 glance 32M, then each read data to the back-end, CEPH is also based on the 32M data of each disk write

This way can not play the performance of CEPH, if "order" adjust to a fixed value 23:
rbd_store_chunk_size=32 order=23 glance 32M, then each read data to the back-end CEPH in each 8M, 4 times of concurrent write disk, the actual test that can speed up process of image uploading.

Tags: ceph rbd
Revision history for this message
Kairat Kushaev (kkushaev) wrote :

Could you please specify how it can be fixed? Is it specified in ceph configuration?

Revision history for this message
Kairat Kushaev (kkushaev) wrote :

We are calculating order here:
https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/rbd.py#L380
So looks like we are trying to specify it in accordance with rbd_store_chunk_size.
It is not clear how can it be fixed and how we can receive this value from rbd.

Changed in glance-store:
status: New → Incomplete
Revision history for this message
luqitao (luqt2011) wrote :

We can set the order parameter to a fixed value of 23 (or in the configuration file: /etc/cinder/cinder.conf), no need to calculating it, so that it can improve the CEPH's concurrent processing capability.

luqitao (luqt2011)
Changed in glance-store:
status: Incomplete → Opinion
status: Opinion → Incomplete
luqitao (luqt2011)
Changed in glance-store:
status: Incomplete → New
Ian Cordasco (icordasc)
Changed in glance-store:
importance: Undecided → Wishlist
tags: added: ceph rbd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.