Files
python-glanceclient/glanceclient
Nobuto Murata 7d78cc4b9d Bump the CHUNKSIZE to use CPU more efficiently
The chunk size used for downloading images was 64KiB for some time. That
is okay for relatively small images but the client side of CPU can be a
bottleneck especially for large images. Bump the default chunk size from
64KiB to 1MiB so we can use the client side CPU more efficiently.

[64KiB chunk size - current]
INFO cinder.image.image_utils Image download 1907.35 MB at 68.61 MB/s
-> ~ 549 Mbps

[1MiB chunk size - patched]
INFO cinder.image.image_utils Image download 1907.35 MB at 132.10 MB/s
-> 1,057 Mbps

Closes-Bug: #2020139
Change-Id: I8b6e19621fc989526b02319d88fcfde88a17eee0
2023-05-19 09:40:22 +09:00
..
2020-07-17 19:32:29 +00:00
2015-07-21 17:08:27 +03:00
2017-03-21 07:19:21 +08:00
2020-06-23 21:51:07 +02:00