glanceclient performs poorly when number of images grow due to very low default page size

Bug #1987834 reported by Erno Kuvaja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
Undecided
Unassigned

Bug Description

python-glanceclient start taking a lot of time when the cloud has lots of images visible to the tenant. This is due to very low, 20, default page size causing lots of requests and schema validations.

increasing the default page size over 200 did not really effect the performance anymore.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-glanceclient (master)
Changed in python-glanceclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-glanceclient/+/854773
Committed: https://opendev.org/openstack/python-glanceclient/commit/219568c2a4b21c26ca4c160a7cf4d71cae524255
Submitter: "Zuul (22348)"
Branch: master

commit 219568c2a4b21c26ca4c160a7cf4d71cae524255
Author: Erno Kuvaja <email address hidden>
Date: Fri Aug 26 12:46:20 2022 +0100

    Bump default pagesize

    Bumping default pagesize to 200. With the previous
    default value of 20 glanceclient was doing lots of
    extra requests and schema validations.

    Based on my tests no performance improvement was
    seen over the pagesize of 200.

    Change-Id: I6d740ca3a9b32bf5d064d3ea74273bb619b32ad4
    Closes-Bug: #1987834

Changed in python-glanceclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-glanceclient 4.1.0

This issue was fixed in the openstack/python-glanceclient 4.1.0 release.

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.