Ask Your Question
0

Cinder convert image very slow

asked 2018-08-08 02:55:52 -0500

Nick Ng gravatar image

Hi guys, I found the cinder convert image is so slow until the instance creation often failed due to timeout even I had adjusted the block_device_allocate_retries to 300.

I have attached part of the cinder log below, as you can see the image download speed is decent but the image convert is very slow.

2018-08-08 14:59:36.221 1783 INFO cinder.image.image_utils [req-6a80946d-62c0-417d-9df0-2a3222286f85 c35778f5bba14fc281be3f6fcca5cd40 7aa168d1bc4d418e8f4685f4d732caed - default default] Image download 279.00 MB at 84.62 MB/s
2018-08-08 15:04:50.667 1783 INFO cinder.image.image_utils [req-6a80946d-62c0-417d-9df0-2a3222286f85 c35778f5bba14fc281be3f6fcca5cd40 7aa168d1bc4d418e8f4685f4d732caed - default default] Converted 2252.00 MB image at 7.24 MB/s

Any idea how to increase the performance of image converting?

Thanks

edit retag flag offensive close merge delete

Comments

The conversion is done by qemu-img convert. You could find the full command line in the process list and experiment with manual conversions. Perhaps the source and the destination is on the same disk, and there is not enough memory for effective buffering of disk accesses?

Bernd Bausch gravatar imageBernd Bausch ( 2018-08-08 09:27:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-08-09 00:38:53 -0500

Hi - What is backed you are using here? what is the image format your are using? is it RAW format?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2018-08-08 02:55:52 -0500

Seen: 40 times

Last updated: Aug 09