Project

General

Profile

Actions

Feature #11904

open

ceph-cli: let "ceph report" support compressed json dump

Added by Haomai Wang almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph report is very useful to monitor the status of ceph whatever io statistic or cluster status. But for a large cluster(>100 osds) ceph report is a heavy operation because it will dump nearly 30MB data. Lots of white space is filled. Maybe we can support command like "ceph report --compressed" to make output less?

Actions #1

Updated by Haomai Wang almost 9 years ago

  • Category set to ceph cli
Actions #2

Updated by John Spray almost 9 years ago

There has been discussion about making Formatter provide streaming output instead of composing everything into one big bufferlist before output. If that was done, then folks could compress things however they wanted.

More specifically about "ceph report", it is not a good idea to poll this because it includes status for all PGs, and in large systems there can be millions. There are various "ceph pg ls..." variants that let you query a subset to avoid having to dump all at once.

Actions

Also available in: Atom PDF