Comment 16 for bug 1934849

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

Reviewed: https://review.opendev.org/c/openstack/glance_store/+/799870
Committed: https://opendev.org/openstack/glance_store/commit/32f9a1509bc94baa6acaf508c922f3b7edf5b65f
Submitter: "Zuul (22348)"
Branch: master

commit 32f9a1509bc94baa6acaf508c922f3b7edf5b65f
Author: Nobuto Murata <email address hidden>
Date: Thu Jul 8 01:36:38 2021 +0900

    s3: Optimize WRITE_CHUNKSIZE to minimize an overhead

    When processing the image data from a client, the previous and small
    chunk size had a significant overhead. Let's be aligned with other chunk
    size related parameters such as DEFAULT_LARGE_OBJECT_MIN_CHUNK_SIZE
    (=5MiB) and DEFAULT_LARGE_OBJECT_CHUNK_SIZE (=10MiB).

    The performance difference should be tangible especially with a
    singlepart upload. And the upload time can be shortened for example as
    follows:

    100 MiB: 36.5s -> 4.0s
    200 MiB: 2m16.8s -> 6.1s
    300 MiB: 4m50.4s -> 9.1s

    Closes-Bug: 1934849
    Change-Id: Icecac80dd9e4e9f7ffa76bb7ca63d8d112036b70