Skip to contentSkip to conversation

RGW Caching and admin ops

DISCUSSION Abhishek Lekshmanan 1 participant 1 message May 10, 2016

lore
Share & tools
lore
#0 lore raw

Running normal rgw admin queries like user info or bucket list etc. seemed significantly slower on the primary for a multisite cluster. On investigating further with Casey yesterday, we found that most of the time is spent up in setting up watchers and cleaning them up, and this is because even for rgw admin cli ops, the cache is enabled.

For some local runs I saw an operation like:

$ time radosgw-admin user info --uid=testid > /dev/null
real    1m47.517s
user    0m0.176s
sys     0m0.132s

the same op with --rgw-cache-enabled=false completes in about ~0.1-0.2s.

Does rgw_cache serve any purpose for rgw admin cli ops?

Cheers
--
Abhishek Lekshmanan
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html