Project

General

Profile

Actions

Bug #22314

open

Regression in radosgw usage show execution time

Added by Marcin Gibula over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,
I've been testing upgrade of our test cluster from jewel to luminous. It's a small (3 hosts, 6 osds) cluster with nothing fancy (no multisite).

Now that #21196 seems to be fixed, I've noticed wastly increased execution times for 'radosgw-admin usage show'.
This is from our production cluster (on Jewel):

$ time /usr/bin/radosgw-admin usage show --start-date="2017-11-04 06:00:00" --end-date="2017-11-04 07:00:00"

real 0m4.964s
user 0m0.102s
sys 0m0.041s

This is from test cluster (on Luminous).
$ time /usr/bin/radosgw-admin usage show --start-date="2017-11-04 06:00:00" --end-date="2017-11-04 07:00:00"

real 0m34.621s
user 0m1.702s
sys 0m1.122s

And this is after all usage data (should) have been trimmed with "radosgw-admin usage trim --yes-i-really-mean-it".
It executes fast if I add --uid to is, however it's hardly a solution for us, because we'd need to query several thousand users.

I've put some debug level and rerun radosgw-admin with it. Logs attached. If you need anything more, just let me know.


Files

usage.log.gz (912 KB) usage.log.gz Marcin Gibula, 12/04/2017 10:38 AM

No data to display

Actions

Also available in: Atom PDF