Re: RGW listing users' quota and usage painfully slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 03/09/2017 11:26 AM, Matthew Vernon wrote:
Hi,

I'm using Jewel / 10.2.3-0ubuntu0.16.04.2 . We want to keep track of our
S3 users' quota and usage. Even with a relatively small number of users
(23) it's taking ~23 seconds.

What we do is (in outline):
radosgw-admin metadata list user
for each user X:
  radosgw-admin user info --uid=X  #has quota details
  radosgw-admin user stats --uid=X #has usage details

None of these calls is particularly slow (~0.5s), but the net result is
not very satisfactory.

What am I doing wrong? :)

Is this a single site or a multisite cluster? If you're only trying to read info you could try disabling the cache (it is not recommended to use this if you're trying to write/modify info) for eg:

$ radosgw-admin user info --uid=x --rgw-cache-enabled=false

also you could run the info command with higher debug (--debug-rgw=20 --debug-ms=1) and paste that somewhere (its very verbose) to help identify where we're slowing down

Best,
Abhishek
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux