Comment 6 for bug 1279832

Revision history for this message
Yossi Ovadia (jabadia) wrote :

Update:

So, here are the results for 'glance image-list' : ( first is for 20, second is for 1000 )

± |bugfix/1279832_nova_image_list_slow ✗| → cat default_page_20.txt
real 0m4.442s
real 0m4.540s
real 0m4.580s
real 0m4.507s
real 0m4.618s
real 0m4.642s
real 0m4.722s
real 0m4.685s
real 0m4.625s
real 0m4.668s

After changing DEFAULT_IMAGE_SIZE to 1000 :

 ubuntu in /opt/stack/python-glanceclient/glanceclient/v2
± |bugfix/1279832_nova_image_list_slow ✗| → cat default_page_1000.txt
real 0m1.531s
real 0m1.533s
real 0m1.677s
real 0m1.551s
real 0m1.767s
real 0m1.564s
real 0m1.544s
real 0m1.483s
real 0m1.646s
real 0m1.572s

Indeed an impressive improvement.

But!

This does not effect nova image-list which , I assume , does not goes through glanceclient.

I'll keep looking at it and update..